diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/TableBody.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/TableBody.java | 40 |
1 files changed, 10 insertions, 30 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableBody.java b/src/java/org/apache/fop/fo/flow/TableBody.java index d38d96033..9811a7c15 100644 --- a/src/java/org/apache/fop/fo/flow/TableBody.java +++ b/src/java/org/apache/fop/fo/flow/TableBody.java @@ -21,9 +21,7 @@ package org.apache.fop.fo.flow; // Java import java.util.BitSet; -import java.util.Iterator; import java.util.List; -import java.util.ListIterator; import org.xml.sax.Attributes; import org.xml.sax.Locator; @@ -31,15 +29,9 @@ import org.xml.sax.Locator; import org.apache.fop.apps.FOPException; import org.apache.fop.datatypes.Length; import org.apache.fop.fo.FONode; -import org.apache.fop.fo.FObj; import org.apache.fop.fo.PropertyList; -import org.apache.fop.fo.StaticPropertyList; import org.apache.fop.fo.ValidationException; -import org.apache.fop.fo.flow.TableFObj.PendingSpan; -import org.apache.fop.fo.properties.CommonAccessibility; -import org.apache.fop.fo.properties.CommonAural; import org.apache.fop.fo.properties.CommonBorderPaddingBackground; -import org.apache.fop.fo.properties.CommonRelativePosition; /** * Class modelling the fo:table-body object. @@ -54,8 +46,6 @@ public class TableBody extends TableFObj { // private int visibility; // End of property values - private PropertyList savedPropertyList; - /** * used for validation */ @@ -78,17 +68,15 @@ public class TableBody extends TableFObj { } /** - * @see FObj#bind(PropertyList) + * {@inheritDoc} */ public void bind(PropertyList pList) throws FOPException { commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps(); super.bind(pList); - //Used by convertCellsToRows() - savedPropertyList = pList; } /** - * @see org.apache.fop.fo.FONode#processNode(String, Locator, Attributes, PropertyList) + * {@inheritDoc} */ public void processNode(String elementName, Locator locator, Attributes attlist, PropertyList pList) @@ -108,20 +96,18 @@ public class TableBody extends TableFObj { } /** - * @see org.apache.fop.fo.FONode#startOfNode + * {@inheritDoc} */ protected void startOfNode() throws FOPException { getFOEventHandler().startBody(this); } /** - * @see org.apache.fop.fo.FONode#endOfNode + * {@inheritDoc} */ protected void endOfNode() throws FOPException { if (!inMarker()) { - // clean up - savedPropertyList = null; pendingSpans = null; usedColumnIndices = null; } @@ -136,17 +122,11 @@ public class TableBody extends TableFObj { + "Expected: marker* (table-row+|table-cell+)"); getParent().removeChild(this); } - } - - /* - if (tableCellsFound) { - convertCellsToRows(); - } - */ + } } /** - * @see org.apache.fop.fo.FONode#validateChildNode(Locator, String, String) + * {@inheritDoc} String, String) * XSL Content Model: marker* (table-row+|table-cell+) */ protected void validateChildNode(Locator loc, String nsURI, String localName) @@ -180,7 +160,7 @@ public class TableBody extends TableFObj { } /** - * @see org.apache.fop.fo.FONode#addChildNode(FONode) + * {@inheritDoc} */ protected void addChildNode(FONode child) throws FOPException { if (!inMarker()) { @@ -238,13 +218,13 @@ public class TableBody extends TableFObj { return commonBorderPaddingBackground; } - /** @see org.apache.fop.fo.FONode#getLocalName() */ + /** {@inheritDoc} */ public String getLocalName() { return "table-body"; } /** - * @see org.apache.fop.fo.FObj#getNameId() + * {@inheritDoc} */ public int getNameId() { return FO_TABLE_BODY; @@ -384,7 +364,7 @@ public class TableBody extends TableFObj { } /** - * @see org.apache.fop.fo.flow.TableFObj#flagColumnIndices(int, int) + * {@inheritDoc} */ protected void flagColumnIndices(int start, int end) { for (int i = start; i < end; i++) { |