diff options
author | Peter Herweg <pherweg@apache.org> | 2004-01-28 19:00:09 +0000 |
---|---|---|
committer | Peter Herweg <pherweg@apache.org> | 2004-01-28 19:00:09 +0000 |
commit | 76cbbf7f7c91955f3c441b29a4fac2b9b235f0c9 (patch) | |
tree | 4571bb50da889c1431361444311a7c8822886100 /src/java/org/apache/fop/render/rtf/rtflib | |
parent | 5bcd5f1f2f587405256da3ffb4f645f6e83d070a (diff) | |
download | xmlgraphics-fop-76cbbf7f7c91955f3c441b29a4fac2b9b235f0c9.tar.gz xmlgraphics-fop-76cbbf7f7c91955f3c441b29a4fac2b9b235f0c9.zip |
improved support for margin-top and margin-bottom in fo:region-XXX
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/rtf/rtflib')
-rw-r--r-- | src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPage.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPage.java b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPage.java index 1d2a3a325..55f5a042a 100644 --- a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPage.java +++ b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPage.java @@ -84,11 +84,16 @@ extends RtfContainer { public static final String MARGIN_LEFT = "margl"; /** constant for right margin */ public static final String MARGIN_RIGHT = "margr"; + + /** constant for header position */ + public static final String HEADERY = "headery"; + /** constant for footer position */ + public static final String FOOTERY = "footery"; /** String array of RtfPage attributes */ public static final String[] PAGE_ATTR = new String[]{ PAGE_WIDTH, PAGE_HEIGHT, MARGIN_TOP, MARGIN_BOTTOM, - MARGIN_LEFT, MARGIN_RIGHT + MARGIN_LEFT, MARGIN_RIGHT, HEADERY, FOOTERY }; /** RtfPage creates new page attributes with the parent container, the writer |