bckfnn 2004/10/01 01:51:04
Modified: src/java/org/apache/fop/render/rtf/rtflib/rtfdoc
RtfSection.java
Log:
Write the "sectd" after the page attributes, so the default margins for
the section is inherited from the page.
Revision Changes Path
1.3 +2 -2
xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfSection.java
Index: RtfSection.java
===================================================================
RCS file:
/home/cvs/xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfSection.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RtfSection.java 27 Feb 2004 17:54:01 -0000 1.2
+++ RtfSection.java 1 Oct 2004 08:51:04 -0000 1.3
@@ -181,8 +181,8 @@
* @throws IOException for I/O problems
*/
protected void writeRtfPrefix() throws IOException {
- writeControlWord("sectd");
writeAttributes(attrib, RtfPage.PAGE_ATTR);
+ writeControlWord("sectd");
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]