| java.lang.Object org.apache.fop.fo.FONode org.apache.fop.fo.FObj org.apache.fop.fo.flow.TableFObj org.apache.fop.fo.flow.TableBody
All known Subclasses: org.apache.fop.fo.flow.TableHeader, org.apache.fop.fo.flow.TableFooter,
TableBody | public class TableBody extends TableFObj (Code) | | Class modelling the fo:table-body object.
|
firstRow | protected boolean firstRow(Code) | | |
pendingSpans | protected List pendingSpans(Code) | | used for initial values of column-number property
|
tableCellsFound | protected boolean tableCellsFound(Code) | | |
tableRowsFound | protected boolean tableRowsFound(Code) | | used for validation
|
TableBody | public TableBody(FONode parent)(Code) | | Parameters: parent - FONode that is the parent of the object |
getCurrentColumnIndex | public int getCurrentColumnIndex()(Code) | | Returns the current column index of the TableBody
the next column number to use |
initPendingSpans | protected void initPendingSpans(FONode child)(Code) | | Initializes list of pending row-spans; used for correctly
assigning initial value for column-number for the
cells of following rows
(note: not literally mentioned in the Rec, but it is assumed
that, if the first cell in a given row spans two rows, then
the first cell of the following row will have an initial
column-number of 2, since the first column is already
occupied...)
|
isColumnNumberUsed | public boolean isColumnNumberUsed(int colNr)(Code) | | Checks whether a given column-number is already in use
for the current row;
Parameters: colNr - the column-number to check true if column-number is already occupied |
isFirst | public boolean isFirst(TableRow obj)(Code) | | Parameters: obj - table row in question true if the given table row is the first row of this body. |
previousCellEndedRow | public boolean previousCellEndedRow()(Code) | | Checks whether the previous cell had 'ends-row="true"'
true if:a) there is a previous cell, whichhad ends-row="true"b) there is no previous cell (implicit start of row) |
resetColumnIndex | public void resetColumnIndex()(Code) | | Resets the current column index for the TableBody
|
setCurrentColumnIndex | public void setCurrentColumnIndex(int newIndex)(Code) | | Sets the current column index to a specific value
(used by ColumnNumberPropertyMaker.make() in case the
column-number was explicitly specified on the cell)
Parameters: newIndex - the new column index |
setNextColumnIndex | protected void setNextColumnIndex()(Code) | | Increases columnIndex to the next available value
|
Methods inherited from org.apache.fop.fo.FObj | protected void addChildNode(FONode child) throws FOPException(Code)(Java Doc) protected static void addChildTo(FONode child, FObj parent) throws FOPException(Code)(Java Doc) public void addExtensionAttachment(ExtensionAttachment attachment)(Code)(Java Doc) public void addForeignAttribute(QName attributeName, String value)(Code)(Java Doc) protected void addMarker(Marker marker)(Code)(Java Doc) public void bind(PropertyList pList) throws FOPException(Code)(Java Doc) public FONode clone(FONode parent, boolean removeChildren) throws FOPException(Code)(Java Doc) protected PropertyList createPropertyList(PropertyList parent, FOEventHandler foEventHandler) throws FOPException(Code)(Java Doc) protected int findAncestor(int ancestorID)(Code)(Java Doc) public FObj findNearestAncestorFObj()(Code)(Java Doc) protected String gatherContextInfo()(Code)(Java Doc) public boolean generatesReferenceAreas()(Code)(Java Doc) public FONodeIterator getChildNodes()(Code)(Java Doc) public FONodeIterator getChildNodes(FONode childNode)(Code)(Java Doc) public List getExtensionAttachments()(Code)(Java Doc) public Map getForeignAttributes()(Code)(Java Doc) public String getId()(Code)(Java Doc) public boolean getIsOutOfLineFODescendant()(Code)(Java Doc) public Map getMarkers()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public String getNormalNamespacePrefix()(Code)(Java Doc) public static PropertyMaker getPropertyMakerFor(int propId)(Code)(Java Doc) public boolean hasId()(Code)(Java Doc) public boolean hasMarkers()(Code)(Java Doc) protected boolean isBlockItem(String nsURI, String lName)(Code)(Java Doc) protected boolean isBlockOrInlineItem(String nsURI, String lName)(Code)(Java Doc) protected boolean isInlineItem(String nsURI, String lName)(Code)(Java Doc) protected boolean isNeutralItem(String nsURI, String lName)(Code)(Java Doc) protected void notifyChildRemoval(FONode node)(Code)(Java Doc) public void processNode(String elementName, Locator locator, Attributes attlist, PropertyList pList) throws FOPException(Code)(Java Doc) public void removeChild(FONode child)(Code)(Java Doc) protected void startOfNode() throws FOPException(Code)(Java Doc)
|
Methods inherited from org.apache.fop.fo.FONode | protected void addCharacters(char[] data, int start, int end, PropertyList pList, Locator locator) throws FOPException(Code)(Java Doc) protected void addChildNode(FONode child) throws FOPException(Code)(Java Doc) protected static void attachSiblings(FONode precedingSibling, FONode followingSibling)(Code)(Java Doc) protected void attributeError(String problem) throws ValidationException(Code)(Java Doc) protected void attributeWarning(String problem)(Code)(Java Doc) public void bind(PropertyList propertyList) throws FOPException(Code)(Java Doc) protected boolean canHaveMarkers()(Code)(Java Doc) public CharIterator charIterator()(Code)(Java Doc) public FONode clone(FONode cloneparent, boolean removeChildren) throws FOPException(Code)(Java Doc) protected Object clone()(Code)(Java Doc) protected PropertyList createPropertyList(PropertyList pList, FOEventHandler foEventHandler) throws FOPException(Code)(Java Doc) public static String decorateWithContextInfo(String text, FONode node)(Code)(Java Doc) protected void endOfNode() throws FOPException(Code)(Java Doc) protected static String errorText(Locator loc)(Code)(Java Doc) protected String gatherContextInfo()(Code)(Java Doc) public FONodeIterator getChildNodes()(Code)(Java Doc) public FONodeIterator getChildNodes(FONode childNode)(Code)(Java Doc) public ContentHandlerFactory getContentHandlerFactory()(Code)(Java Doc) public String getContextInfo()(Code)(Java Doc) public ExtensionAttachment getExtensionAttachment()(Code)(Java Doc) public FOEventHandler getFOEventHandler()(Code)(Java Doc) abstract public String getLocalName()(Code)(Java Doc) public Locator getLocator()(Code)(Java Doc) public static String getLocatorString(Locator loc)(Code)(Java Doc) public Log getLogger()(Code)(Java Doc) public String getName()(Code)(Java Doc) public String getName(String prefix)(Code)(Java Doc) public int getNameId()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public static String getNodeString(String namespaceURI, String localName)(Code)(Java Doc) abstract public String getNormalNamespacePrefix()(Code)(Java Doc) public FONode getParent()(Code)(Java Doc) public Root getRoot()(Code)(Java Doc) public FOUserAgent getUserAgent()(Code)(Java Doc) protected boolean inMarker()(Code)(Java Doc) protected void invalidChildError(Locator loc, String nsURI, String lName) throws ValidationException(Code)(Java Doc) protected void invalidChildError(Locator loc, String nsURI, String lName, String ruleViolated) throws ValidationException(Code)(Java Doc) protected void missingChildElementError(String contentModel) throws ValidationException(Code)(Java Doc) protected void missingPropertyError(String propertyName) throws ValidationException(Code)(Java Doc) protected void nodesOutOfOrderError(Locator loc, String tooLateNode, String tooEarlyNode) throws ValidationException(Code)(Java Doc) public void processNode(String elementName, Locator locator, Attributes attlist, PropertyList pList) throws FOPException(Code)(Java Doc) public void removeChild(FONode child)(Code)(Java Doc) public void setLocator(Locator locator)(Code)(Java Doc) protected void startOfNode() throws FOPException(Code)(Java Doc) protected void tooManyNodesError(Locator loc, String nsURI, String lName) throws ValidationException(Code)(Java Doc) protected void tooManyNodesError(Locator loc, String offendingNode) throws ValidationException(Code)(Java Doc) protected void validateChildNode(Locator loc, String namespaceURI, String localName) throws ValidationException(Code)(Java Doc) protected static String warningText(Locator loc)(Code)(Java Doc)
|
|
|