diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-09-14 13:38:47 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-09-14 13:38:47 +0000 |
commit | ca7be93915e98d1108fef61db49dcf4db8e8ed40 (patch) | |
tree | 3b3b97d5a34073c6c79cb148599ddc1b8e8838af /src/java | |
parent | 6dc17afec89ef80e899c7635d6aca31ae79b9aab (diff) | |
download | xmlgraphics-fop-ca7be93915e98d1108fef61db49dcf4db8e8ed40.tar.gz xmlgraphics-fop-ca7be93915e98d1108fef61db49dcf4db8e8ed40.zip |
Fixed wrong defaults for conditionality component for padding-before and padding-after.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280851 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/fo/FOPropertyMapping.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/FOPropertyMapping.java b/src/java/org/apache/fop/fo/FOPropertyMapping.java index 7490cb941..fca91b15b 100644 --- a/src/java/org/apache/fop/fo/FOPropertyMapping.java +++ b/src/java/org/apache/fop/fo/FOPropertyMapping.java @@ -997,7 +997,7 @@ public class FOPropertyMapping implements Constants { // padding-before m = new CondLengthProperty.Maker(PR_PADDING_BEFORE); m.useGeneric(genericCondPadding); - m.getSubpropMaker(CP_CONDITIONALITY).setDefault("retain"); + m.getSubpropMaker(CP_CONDITIONALITY).setDefault("discard"); corr = new CorrespondingPropertyMaker(m); corr.setCorresponding(PR_PADDING_TOP, PR_PADDING_TOP, PR_PADDING_RIGHT); @@ -1007,7 +1007,7 @@ public class FOPropertyMapping implements Constants { // padding-after m = new CondLengthProperty.Maker(PR_PADDING_AFTER); m.useGeneric(genericCondPadding); - m.getSubpropMaker(CP_CONDITIONALITY).setDefault("retain"); + m.getSubpropMaker(CP_CONDITIONALITY).setDefault("discard"); corr = new CorrespondingPropertyMaker(m); corr.setCorresponding(PR_PADDING_BOTTOM, PR_PADDING_BOTTOM, PR_PADDING_LEFT); |