jeremias 2004/11/01 07:00:43 Modified: src/java/org/apache/fop/render/rtf/rtflib/rtfdoc RtfPageNumber.java Log: Word 2003 doesn't seem to understand "fldinst { PAGE }", so using \chpgn for now. Revision Changes Path 1.3 +7 -1 xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPageNumber.java Index: RtfPageNumber.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPageNumber.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- RtfPageNumber.java 27 Feb 2004 17:54:01 -0000 1.2 +++ RtfPageNumber.java 1 Nov 2004 15:00:43 -0000 1.3 @@ -75,6 +75,7 @@ * @throws IOException for I/O problems */ protected void writeRtfContent() throws IOException { + /* writeGroupMark(true); writeControlWord(RTF_FIELD); writeGroupMark(true); @@ -84,6 +85,11 @@ writeGroupMark(true); writeControlWord(RTF_FIELD_RESULT); writeGroupMark(false); + writeGroupMark(false); + */ + writeGroupMark(true); + writeAttributes(attrib, RtfText.ATTR_NAMES); + writeControlWord("chpgn"); writeGroupMark(false); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]