diff options
author | Keiron Liddle <keiron@apache.org> | 2001-08-06 09:12:59 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-08-06 09:12:59 +0000 |
commit | c928a8eadc5d7e48771fd91f56abfdb889fe2f61 (patch) | |
tree | 7d8e86ef766807e49de04591ccce869ace9ef52e /src/org/apache/fop/fo/flow/PageNumber.java | |
parent | 87849d314529a8d87a310bc4120f72446c5cc17a (diff) | |
download | xmlgraphics-fop-c928a8eadc5d7e48771fd91f56abfdb889fe2f61.tar.gz xmlgraphics-fop-c928a8eadc5d7e48771fd91f56abfdb889fe2f61.zip |
gets all properties specified on each element
adds "Unknown" element for unknown elements or other namespaces
need to get a consistent and easy way to use the property values
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/PageNumber.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/PageNumber.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/PageNumber.java b/src/org/apache/fop/fo/flow/PageNumber.java index fc830df1e..ddfb60473 100644 --- a/src/org/apache/fop/fo/flow/PageNumber.java +++ b/src/org/apache/fop/fo/flow/PageNumber.java @@ -9,6 +9,7 @@ package org.apache.fop.fo.flow; // FOP import org.apache.fop.fo.*; +import org.apache.fop.layout.*; import org.apache.fop.messaging.MessageHandler; import org.apache.fop.datatypes.*; import org.apache.fop.fo.properties.*; @@ -51,6 +52,41 @@ public class PageNumber extends FObj { } if (this.marker == START) { + // Common Accessibility Properties + AccessibilityProps mAccProps = propMgr.getAccessibilityProps(); + + // Common Aural Properties + AuralProps mAurProps = propMgr.getAuralProps(); + + // Common Border, Padding, and Background Properties + BorderAndPadding bap = propMgr.getBorderAndPadding(); + BackgroundProps bProps = propMgr.getBackgroundProps(); + + // Common Font Properties + //this.fontState = propMgr.getFontState(area.getFontInfo()); + + // Common Margin Properties-Inline + MarginInlineProps mProps = propMgr.getMarginInlineProps(); + + // Common Relative Position Properties + RelativePositionProps mRelProps = propMgr.getRelativePositionProps(); + + // this.properties.get("alignment-adjust"); + // this.properties.get("alignment-baseline"); + // this.properties.get("baseline-shift"); + // this.properties.get("dominant-baseline"); + // this.properties.get("id"); + // this.properties.get("keep-with-next"); + // this.properties.get("keep-with-previous"); + // this.properties.get("letter-spacing"); + // this.properties.get("line-height"); + // this.properties.get("line-height-shift-adjustment"); + // this.properties.get("score-spaces"); + // this.properties.get("text-decoration"); + // this.properties.get("text-shadow"); + // this.properties.get("text-transform"); + // this.properties.get("word-spacing"); + ColorType c = this.properties.get("color").getColorType(); this.red = c.red(); this.green = c.green(); |