You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by de...@apache.org on 2002/04/24 14:33:32 UTC
cvs commit: xml-batik/sources/org/apache/batik/extension/svg BatikExtConstants.java SVGFlowTextElementBridge.java
deweese 02/04/24 05:33:29
Modified: samples/extensions flowText.svg
sources/org/apache/batik/extension/svg
BatikExtConstants.java
SVGFlowTextElementBridge.java
Log:
Changed the children of flowRegion from 'rect' to 'region'.
Revision Changes Path
1.5 +3 -3 xml-batik/samples/extensions/flowText.svg
Index: flowText.svg
===================================================================
RCS file: /home/cvs/xml-batik/samples/extensions/flowText.svg,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- flowText.svg 12 Apr 2002 14:36:47 -0000 1.4
+++ flowText.svg 24 Apr 2002 12:33:29 -0000 1.5
@@ -14,7 +14,7 @@
<!-- Tests various text on a path -->
<!-- -->
<!-- @author bella.robinson@cmis.csiro.au -->
-<!-- @version $Id: flowText.svg,v 1.4 2002/04/12 14:36:47 deweese Exp $ -->
+<!-- @version $Id: flowText.svg,v 1.5 2002/04/24 12:33:29 deweese Exp $ -->
<!-- ====================================================================== -->
<?xml-stylesheet type="text/css" href="extension.css" ?>
@@ -37,8 +37,8 @@
<batik:flowText xmlns:batik="http://xml.apache.org/batik/ext"
font-size="20" xml:space="preserve">
<batik:flowRegion>
- <batik:rect x="17" y="80" width="200" height="400"/>
- <batik:rect x="233" y="80" width="200" height="400"/>
+ <batik:region x="17" y="80" width="200" height="400"/>
+ <batik:region x="233" y="80" width="200" height="400"/>
</batik:flowRegion>
<batik:flowDiv>
<batik:flowPara bottom-margin="10" >This is an <batik:flowSpan font-size="40" fill="crimson">ex­ample</batik:flowSpan> of a very long string that is split ‍across multi­ple lines via text wrap­ping.</batik:flowPara>
1.10 +2 -2 xml-batik/sources/org/apache/batik/extension/svg/BatikExtConstants.java
Index: BatikExtConstants.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/extension/svg/BatikExtConstants.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- BatikExtConstants.java 12 Apr 2002 14:36:47 -0000 1.9
+++ BatikExtConstants.java 24 Apr 2002 12:33:29 -0000 1.10
@@ -31,8 +31,8 @@
public static final String BATIK_EXT_FLOW_REGION_TAG =
"flowRegion";
/** Tag name for Batik's flowText extension Region element (SVG 1.1). */
- public static final String BATIK_EXT_FLOW_RECT_TAG =
- "rect";
+ public static final String BATIK_EXT_REGION_TAG =
+ "region";
/** Attribute name for x attribute */
public static final String BATIK_EXT_X_ATTRIBUTE =
1.3 +2 -2 xml-batik/sources/org/apache/batik/extension/svg/SVGFlowTextElementBridge.java
Index: SVGFlowTextElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/extension/svg/SVGFlowTextElementBridge.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SVGFlowTextElementBridge.java 12 Apr 2002 14:36:47 -0000 1.2
+++ SVGFlowTextElementBridge.java 24 Apr 2002 12:33:29 -0000 1.3
@@ -39,7 +39,7 @@
* Bridge class for the <flowText> element.
*
* @author <a href="deweese@apache.org">Thomas DeWeese</a>
- * @version $Id: SVGFlowTextElementBridge.java,v 1.2 2002/04/12 14:36:47 deweese Exp $
+ * @version $Id: SVGFlowTextElementBridge.java,v 1.3 2002/04/24 12:33:29 deweese Exp $
*/
public class SVGFlowTextElementBridge extends SVGTextElementBridge
implements BatikExtConstants {
@@ -362,7 +362,7 @@
Element e = (Element)n;
String ln = n.getLocalName();
- if (ln.equals(BATIK_EXT_FLOW_RECT_TAG)) {
+ if (ln.equals(BATIK_EXT_REGION_TAG)) {
Rectangle2D r2d = buildRect(uctx, e);
if (r2d != null)
ret.add(r2d);
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org