diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-24 17:46:10 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-24 17:46:10 +0000 |
commit | 4df83a2c29a65be00724e50ad9abb818f5a53cca (patch) | |
tree | 4a212ec4db8b747ab0d0b75c250b87d56f8b67d4 /src/java/org/apache/fop/fo/PropertyManager.java | |
parent | 536527c37ac546ae5bb0b081d66e91e7f483b818 (diff) | |
download | xmlgraphics-fop-4df83a2c29a65be00724e50ad9abb818f5a53cca.tar.gz xmlgraphics-fop-4df83a2c29a65be00724e50ad9abb818f5a53cca.zip |
move property resolution logic from area/CTM.getCTMandRelDims() back to fo/PropertyManager
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196831 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/PropertyManager.java')
-rw-r--r-- | src/java/org/apache/fop/fo/PropertyManager.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/PropertyManager.java b/src/java/org/apache/fop/fo/PropertyManager.java index 11d11c82e..e9305d64c 100644 --- a/src/java/org/apache/fop/fo/PropertyManager.java +++ b/src/java/org/apache/fop/fo/PropertyManager.java @@ -511,8 +511,12 @@ public class PropertyManager { /** * Calculate absolute reference-orientation relative to media orientation. */ - public int getAbsRefOrient(int myRefOrient) { - return myRefOrient; + public int getAbsRefOrient() { + return properties.get("reference-orientation").getNumber().intValue(); + } + + public int getWritingMode() { + return properties.get("writing-mode").getEnum(); } } |