Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec12/text/flowBidi.svg')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec12/text/flowBidi.svg82
1 files changed, 82 insertions, 0 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec12/text/flowBidi.svg b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec12/text/flowBidi.svg
new file mode 100644
index 00000000000..969ce33084a
--- /dev/null
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec12/text/flowBidi.svg
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+<!-- ====================================================================== -->
+<!-- Tests various text on a path -->
+<!-- -->
+<!-- @author bella.robinson@cmis.csiro.au -->
+<!-- @version $Id: flowBidi.svg 475685 2006-11-16 11:16:05Z cam $ -->
+<!-- ====================================================================== -->
+
+<svg id="body" width="450" height="500" viewBox="0 0 450 500"
+ xmlns="http://www.w3.org/2000/svg" version="1.2"
+ xmlns:xlink="http://www.w3.org/1999/xlink" >
+<title>Test of Text wrapping stuff.</title>
+
+ <g id="content" >
+
+ <text class="title" x="50%" y="40">Test of Text wrapping stuff</text>
+ <!-- Space after size 40 'that' is aci 45 -->
+ <rect x="17" y="80" width="200" height="200" fill="rgb(220,220,255)"/>
+ <rect x="233" y="80" width="200" height="200" fill="rgb(220,220,255)"/>
+
+ <rect x="17" y="290" width="200" height="150" fill="rgb(220,220,255)"/>
+ <rect x="220" y="290" width="10" height="150" fill="rgb(220,220,255)"/>
+ <rect x="233" y="290" width="200" height="150" fill="rgb(220,220,255)"/>
+
+<!--
+ <line x1="27" y1="70" x2="27" y2="490" stroke="grey" fill="none"/>
+ <line x1="207" y1="70" x2="207" y2="490" stroke="grey" fill="none"/>
+ <line x1="243" y1="70" x2="243" y2="490" stroke="grey" fill="none"/>
+ <line x1="423" y1="70" x2="423" y2="490" stroke="grey" fill="none"/>
+-->
+
+ <flowRoot font-size="20" xml:space="preserve">
+ <flowRegion>
+ <rect x="17" y="80" width="200" height="200" visibility="hidden"/>
+ <rect x="233" y="80" width="200" height="200" visibility="hidden"/>
+ </flowRegion>
+
+ <flowDiv>
+ <flowPara indent="20" margin-bottom="10" >Some <flowSpan fill="darkred" direction="rtl" unicode-bidi="embed">(embedded bidi)</flowSpan> of text.</flowPara>
+ <flowPara>Some text goes <flowSpan fill="blue" direction="rtl" unicode-bidi="bidi-override">(right to left)</flowSpan>, other text goes (left to right).</flowPara>
+ <flowPara>arabic: &#x621;&#x200B;&#x200B;&#x623;&#x200B;&#x624;&#x200B;&#x625;&#x200B;&#x626;&#x200B;&#x627;&#x200B;&#x628;&#x200B;&#x629;&#x200B;&#x62a;&#x200B;&#x62b;&#x200B;&#x62c;&#x200B;&#x62d;&#x200B;&#x62e;&#x200B;&#x62f;&#x200B;&#x630;&#x200B;&#x631;&#x200B;&#x632;&#x200B;&#x633;&#x200B;&#x634;&#x200B;&#x635;&#x200B;&#x636;&#x200B;&#x637;&#x200B;&#x638;&#x200B;&#x639;&#x200B;&#x640;&#x200B;&#x641;&#x200B;&#x642;&#x200B;&#x643;&#x200B;&#x644;&#x200B;&#x645;&#x200B;&#x646;&#x200B;&#x647;&#x200B;&#x648;&#x200B;&#x649;&#x200B;&#x650;&#x200B;&#x676;</flowPara>
+ </flowDiv>
+ </flowRoot>
+
+ <flowRoot font-size="20" xml:space="preserve">
+ <flowRegion>
+ <path d="M 17,290 v150 h200 v-150 z
+ M 220,290 v150 h10 v-150 z
+ M 233,290 v150 h200 v-150 z" visibility="hidden"/>
+ </flowRegion>
+
+ <flowDiv>
+ <flowPara indent="20" margin-bottom="10" >Some <flowSpan fill="darkred" direction="rtl" unicode-bidi="embed">(embedded bidi)</flowSpan> of text.</flowPara>
+ <flowPara>Some text goes <flowSpan fill="blue" direction="rtl" unicode-bidi="bidi-override">(right to left)</flowSpan>, other text goes (left to right).</flowPara>
+ <flowPara>arabic: &#x621;&#x200B;&#x200B;&#x623;&#x200B;&#x624;&#x200B;&#x625;&#x200B;&#x626;&#x200B;&#x627;&#x200B;&#x628;&#x200B;&#x629;&#x200B;&#x62a;&#x200B;&#x62b;&#x200B;&#x62c;&#x200B;&#x62d;&#x200B;&#x62e;&#x200B;&#x62f;&#x200B;&#x630;&#x200B;&#x631;&#x200B;&#x632;&#x200B;&#x633;&#x200B;&#x634;&#x200B;&#x635;&#x200B;&#x636;&#x200B;&#x637;&#x200B;&#x638;&#x200B;&#x639;&#x200B;&#x640;&#x200B;&#x641;&#x200B;&#x642;&#x200B;&#x643;&#x200B;&#x644;&#x200B;&#x645;&#x200B;&#x646;&#x200B;&#x647;&#x200B;&#x648;&#x200B;&#x649;&#x200B;&#x650;&#x200B;&#x676;</flowPara>
+ </flowDiv>
+ </flowRoot>
+ </g>
+
+</svg>

Back to the top