diff options
author | Simon Pepping <spepping@apache.org> | 2006-12-20 08:34:28 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2006-12-20 08:34:28 +0000 |
commit | 057128e23fa539021ed00d801619d98b7850e7f7 (patch) | |
tree | 4263ed3dbb20dd7fc331bf1d94404c7175f02ff3 /src/java/org/apache/fop/fo/flow/InitialPropertySet.java | |
parent | 471c26061f650f931ab4ce5ae316f013f33d2d71 (diff) | |
download | xmlgraphics-fop-057128e23fa539021ed00d801619d98b7850e7f7.tar.gz xmlgraphics-fop-057128e23fa539021ed00d801619d98b7850e7f7.zip |
Comment out unused properties. Patch by Richard Wheeldon
<richardw@geoquip-rnd.demon.co.uk>. ASF Bugzilla Bug 41044,
attachment 19177.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@488960 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/InitialPropertySet.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/InitialPropertySet.java | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/src/java/org/apache/fop/fo/flow/InitialPropertySet.java b/src/java/org/apache/fop/fo/flow/InitialPropertySet.java index 4fd1eae08..9c28d57fb 100644 --- a/src/java/org/apache/fop/fo/flow/InitialPropertySet.java +++ b/src/java/org/apache/fop/fo/flow/InitialPropertySet.java @@ -41,20 +41,21 @@ import org.apache.fop.fo.properties.SpaceProperty; */ public class InitialPropertySet extends FObj { // The value of properties relevant for fo:initial-property-set. - private CommonAccessibility commonAccessibility; - private CommonAural commonAural; - private CommonBorderPaddingBackground commonBorderPaddingBackground; - private CommonFont commonFont; - private CommonRelativePosition commonRelativePosition; - private Color color; private String id; // private ToBeImplementedProperty letterSpacing; private SpaceProperty lineHeight; - private int scoreSpaces; - private int textDecoration; // private ToBeImplementedProperty textShadow; - private int textTransform; - private SpaceProperty wordSpacing; + // Unused but valid items, commented out for performance: + // private CommonAccessibility commonAccessibility; + // private CommonAural commonAural; + // private CommonBorderPaddingBackground commonBorderPaddingBackground; + // private CommonFont commonFont; + // private CommonRelativePosition commonRelativePosition; + // private Color color; + // private int scoreSpaces; + // private int textDecoration; + // private int textTransform; + // private SpaceProperty wordSpacing; // End of property values /** @@ -68,20 +69,10 @@ public class InitialPropertySet extends FObj { * @see org.apache.fop.fo.FObj#bind(PropertyList) */ public void bind(PropertyList pList) throws FOPException { - commonAccessibility = pList.getAccessibilityProps(); - commonAural = pList.getAuralProps(); - commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps(); - commonFont = pList.getFontProps(); - commonRelativePosition = pList.getRelativePositionProps(); - color = pList.get(PR_COLOR).getColor(getUserAgent()); id = pList.get(PR_ID).getString(); // letterSpacing = pList.get(PR_LETTER_SPACING); lineHeight = pList.get(PR_LINE_HEIGHT).getSpace(); - scoreSpaces = pList.get(PR_SCORE_SPACES).getEnum(); - textDecoration = pList.get(PR_TEXT_DECORATION).getEnum(); // textShadow = pList.get(PR_TEXT_SHADOW); - textTransform = pList.get(PR_TEXT_TRANSFORM).getEnum(); - wordSpacing = pList.get(PR_WORD_SPACING).getSpace(); } /** |