diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2005-09-25 18:15:21 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2005-09-25 18:15:21 +0000 |
commit | 73e174d33f7b018ac7bcf0c98c78fb13bc120814 (patch) | |
tree | 3bbf61674ec09c5dd665968ba24f546873cffa1c /src/java | |
parent | 96a4d34ebb1c0ecf34dc84f332988db037cf21bd (diff) | |
download | xmlgraphics-fop-73e174d33f7b018ac7bcf0c98c78fb13bc120814.tar.gz xmlgraphics-fop-73e174d33f7b018ac7bcf0c98c78fb13bc120814.zip |
Removed warning for padding (r291267); padding never seems to be null, so warning was given for all tables...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291457 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Table.java | 4 | ||||
-rwxr-xr-x | src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java | 6 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java index b97bd6713..47047d41f 100644 --- a/src/java/org/apache/fop/fo/flow/Table.java +++ b/src/java/org/apache/fop/fo/flow/Table.java @@ -129,11 +129,11 @@ public class Table extends TableFObj { colPList.setWritingMode(); defaultColumn.bind(colPList); - if (borderCollapse != EN_SEPARATE && commonBorderPaddingBackground.hasPaddingInfo()) { + /*if (borderCollapse != EN_SEPARATE && commonBorderPaddingBackground.hasPadding()) { //See "17.6.2 The collapsing border model" in CSS2 getLogger().warn("Table may not have padding when using the collapsing " + "border model. Padding will be ignored."); - } + }*/ if (borderCollapse != EN_SEPARATE) { getLogger().warn("The collapsing border model on an fo:table " + "is currently not supported by FOP"); diff --git a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java index 931b881fd..4a92280ff 100755 --- a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java +++ b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java @@ -371,10 +371,4 @@ public class CommonBorderPaddingBackground implements Cloneable { return (borderInfo[BEFORE] != null || borderInfo[AFTER] != null || borderInfo[START] != null || borderInfo[END] != null); } - - /** @return true if there is any padding (no evaluation) */ - public boolean hasPaddingInfo() { - return (padding[BEFORE] != null || padding[AFTER] != null - || padding[START] != null || padding[END] != null); - } } |