You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by gm...@apache.org on 2004/10/03 02:50:43 UTC
cvs commit: xml-fop/src/java/org/apache/fop/fo/properties CharacterProperty.java
gmazza 2004/10/02 17:50:43
Modified: src/java/org/apache/fop/fo/flow Character.java
src/java/org/apache/fop/fo/properties CharacterProperty.java
Log:
Set value for characterValue variable in fo.flow.Character--needed for its OneCharIterator constructor.
Revision Changes Path
1.22 +2 -1 xml-fop/src/java/org/apache/fop/fo/flow/Character.java
Index: Character.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/Character.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Character.java 30 Sep 2004 19:56:24 -0000 1.21
+++ Character.java 3 Oct 2004 00:50:43 -0000 1.22
@@ -76,6 +76,7 @@
*/
protected void addProperties(Attributes attlist) throws SAXParseException {
super.addProperties(attlist);
+ characterValue = propertyList.get(PR_CHARACTER).getCharacter();
getFOEventHandler().character(this);
}
@@ -84,7 +85,7 @@
*/
public CharIterator charIterator() {
return new OneCharIterator(characterValue);
- // But what it the character is ignored due to white space handling?
+ // But what if the character is ignored due to white space handling?
}
/**
1.3 +2 -2 xml-fop/src/java/org/apache/fop/fo/properties/CharacterProperty.java
Index: CharacterProperty.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/properties/CharacterProperty.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CharacterProperty.java 27 Feb 2004 17:45:44 -0000 1.2
+++ CharacterProperty.java 3 Oct 2004 00:50:43 -0000 1.3
@@ -44,7 +44,7 @@
return new CharacterProperty(c);
}
- } // end Charakter.Maker
+ } // end Character.Maker
private char character;
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org