diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2007-07-07 00:04:25 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2007-07-07 00:04:25 +0000 |
commit | 9263449d44a00d7f223d47a83630abb4bd5aaf84 (patch) | |
tree | ad7f0b52262b7103d0d599437be046a8292f30cd /src/java/org/apache/fop/fo/flow/Table.java | |
parent | 73f84d8a767a71b365f986f9af78661635445b0e (diff) | |
download | xmlgraphics-fop-9263449d44a00d7f223d47a83630abb4bd5aaf84.tar.gz xmlgraphics-fop-9263449d44a00d7f223d47a83630abb4bd5aaf84.zip |
Bugzilla 42089: Cleanup and restructuring (suggested by Adrian Cumiskey)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554094 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Table.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Table.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java index 2fa46a75e..68fe126cf 100644 --- a/src/java/org/apache/fop/fo/flow/Table.java +++ b/src/java/org/apache/fop/fo/flow/Table.java @@ -54,7 +54,6 @@ public class Table extends TableFObj { private LengthPairProperty borderSeparation; private int breakAfter; private int breakBefore; - private String id; private LengthRangeProperty inlineProgressionDimension; private KeepProperty keepTogether; private KeepProperty keepWithNext; @@ -110,6 +109,7 @@ public class Table extends TableFObj { * @see org.apache.fop.fo.FObj#bind(PropertyList) */ public void bind(PropertyList pList) throws FOPException { + super.bind(pList); commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps(); commonMarginBlock = pList.getMarginBlockProps(); blockProgressionDimension = pList.get(PR_BLOCK_PROGRESSION_DIMENSION).getLengthRange(); @@ -117,7 +117,6 @@ public class Table extends TableFObj { borderSeparation = pList.get(PR_BORDER_SEPARATION).getLengthPair(); breakAfter = pList.get(PR_BREAK_AFTER).getEnum(); breakBefore = pList.get(PR_BREAK_BEFORE).getEnum(); - id = pList.get(PR_ID).getString(); inlineProgressionDimension = pList.get(PR_INLINE_PROGRESSION_DIMENSION).getLengthRange(); keepTogether = pList.get(PR_KEEP_TOGETHER).getKeep(); keepWithNext = pList.get(PR_KEEP_WITH_NEXT).getKeep(); @@ -125,7 +124,6 @@ public class Table extends TableFObj { tableLayout = pList.get(PR_TABLE_LAYOUT).getEnum(); tableOmitFooterAtBreak = pList.get(PR_TABLE_OMIT_FOOTER_AT_BREAK).getEnum(); tableOmitHeaderAtBreak = pList.get(PR_TABLE_OMIT_HEADER_AT_BREAK).getEnum(); - super.bind(pList); //Bind extension properties widowContentLimit = pList.get(PR_X_WIDOW_CONTENT_LIMIT).getLength(); @@ -161,7 +159,7 @@ public class Table extends TableFObj { * @see org.apache.fop.fo.FONode#startOfNode */ protected void startOfNode() throws FOPException { - checkId(id); + super.startOfNode(); getFOEventHandler().startTable(this); } @@ -466,11 +464,6 @@ public class Table extends TableFObj { return orphanContentLimit; } - /** @return the "id" property. */ - public String getId() { - return id; - } - /** @see org.apache.fop.fo.FONode#getLocalName() */ public String getLocalName() { return "table"; |