|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.fo.flow.TableFObj
org.apache.fop.fo.flow.Table
Class modelling the fo:table object.
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.fo.flow.TableFObj |
TableFObj.ColumnNumberPropertyMaker, TableFObj.PendingSpan |
| Field Summary | |
protected java.util.List |
columns
collection of columns in this table |
| Fields inherited from class org.apache.fop.fo.FObj |
childNodes |
| Fields inherited from class org.apache.fop.fo.FONode |
FO_URI, locator, log, parent |
| Constructor Summary | |
Table(FONode parent)
|
|
| Method Summary | |
protected void |
addChildNode(FONode child)
Adds a node as a child of this node. |
protected void |
addDefaultColumn(Length colWidth,
int colNr)
Adds a default column to the columns list (called from TableBody.addChildNode() when the table has no explicit columns, and if processing the first row) |
void |
bind(PropertyList pList)
Bind property values from the property list to the FO node. |
FONode |
clone(FONode parent,
boolean removeChildren)
Perform a shallow cloning operation, set its parent, and optionally clean the list of child nodes |
protected void |
endOfNode()
Primarily used for making final content model validation checks and/or informing the FOEventHandler that the end of this FO has been reached. |
protected void |
flagColumnIndices(int start,
int end)
Flags column indices from start to end,
and updates the current column index.
|
LengthRangeProperty |
getBlockProgressionDimension()
|
TableBody |
getBody(int index)
|
int |
getBorderCollapse()
|
LengthPairProperty |
getBorderSeparation()
|
int |
getBreakAfter()
|
int |
getBreakBefore()
|
java.util.List |
getColumns()
|
CommonBorderPaddingBackground |
getCommonBorderPaddingBackground()
|
CommonMarginBlock |
getCommonMarginBlock()
|
int |
getCurrentColumnIndex()
Returns the current column index of the Table |
java.lang.String |
getId()
|
LengthRangeProperty |
getInlineProgressionDimension()
|
KeepProperty |
getKeepTogether()
|
KeepProperty |
getKeepWithNext()
|
KeepProperty |
getKeepWithPrevious()
|
java.lang.String |
getLocalName()
Returns the local name (i.e. without namespace prefix) of the node |
int |
getNameId()
Returns the Constants class integer value of this node |
Length |
getOrphanContentLimit()
|
TableBody |
getTableFooter()
|
TableBody |
getTableHeader()
|
Length |
getWidowContentLimit()
|
boolean |
isAutoLayout()
|
boolean |
isColumnNumberUsed(int colNr)
Checks if a certain column-number is already occupied |
boolean |
isSeparateBorderModel()
|
boolean |
mustKeepTogether()
Convenience method to check if a keep-together constraint is specified. |
boolean |
omitFooterAtBreak()
|
boolean |
omitHeaderAtBreak()
|
void |
setCurrentColumnIndex(int newIndex)
Sets the current column index of the given Table (used by ColumnNumberPropertyMaker.make() in case the column-number was explicitly specified) |
protected void |
startOfNode()
Called after processNode() is called. |
protected void |
validateChildNode(org.xml.sax.Locator loc,
java.lang.String nsURI,
java.lang.String localName)
Checks to make sure, during SAX processing of input document, that the incoming node is valid for the this (parent) node (e.g., checking to see that fo:table is not an immediate child of fo:root) called within FObj constructor |
| Methods inherited from class org.apache.fop.fo.flow.TableFObj |
getBorderPrecedence, getTable |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List columns
| Constructor Detail |
public Table(FONode parent)
parent - FONode that is the parent of this object| Method Detail |
public void bind(PropertyList pList)
throws FOPException
FObj
bind in class TableFObjFOPExceptionFObj.bind(PropertyList)
protected void startOfNode()
throws FOPException
FONode
startOfNode in class FONodeFOPException - if there's a problem during processingFONode.startOfNode()
protected void validateChildNode(org.xml.sax.Locator loc,
java.lang.String nsURI,
java.lang.String localName)
throws ValidationException
FONode
validateChildNode in class FONodeloc - location in the FO source filensURI - namespace of incoming nodelocalName - (e.g. "table" for "fo:table")
ValidationException - if incoming node not valid for parentXSL Content Model: (marker*,table-column*,table-header?,table-footer?,table-body+)
protected void endOfNode()
throws FOPException
FONode
endOfNode in class FONodeFOPException - if there's a problem during processingFONode.endOfNode()
protected void addChildNode(FONode child)
throws FOPException
FONode
addChildNode in class TableFObjFOPExceptionFONode.addChildNode(FONode)
protected void addDefaultColumn(Length colWidth,
int colNr)
throws FOPException
colWidth - the column's width (null if the default should be used)colNr - the column-number from the cell
FOPException - if there was an error creating the property listpublic boolean isAutoLayout()
public java.util.List getColumns()
public TableBody getBody(int index)
index - index of the table-body element.
public TableBody getTableHeader()
public TableBody getTableFooter()
public boolean omitHeaderAtBreak()
public boolean omitFooterAtBreak()
public LengthRangeProperty getInlineProgressionDimension()
public LengthRangeProperty getBlockProgressionDimension()
public CommonMarginBlock getCommonMarginBlock()
public CommonBorderPaddingBackground getCommonBorderPaddingBackground()
getCommonBorderPaddingBackground in class TableFObjpublic int getBreakAfter()
public int getBreakBefore()
public KeepProperty getKeepWithNext()
public KeepProperty getKeepWithPrevious()
public KeepProperty getKeepTogether()
public boolean mustKeepTogether()
public int getBorderCollapse()
public boolean isSeparateBorderModel()
public LengthPairProperty getBorderSeparation()
public Length getWidowContentLimit()
public Length getOrphanContentLimit()
public java.lang.String getId()
public java.lang.String getLocalName()
FONode
getLocalName in class FONodeFONode.getLocalName()public int getNameId()
FONode
getNameId in class FONodeFONode.getNameId()public int getCurrentColumnIndex()
getCurrentColumnIndex in class TableFObjpublic boolean isColumnNumberUsed(int colNr)
isColumnNumberUsed in class TableFObjcolNr - the column-number to check
public void setCurrentColumnIndex(int newIndex)
setCurrentColumnIndex in class TableFObjnewIndex - the new value for column index
protected void flagColumnIndices(int start,
int end)
TableFObjstart to end,
and updates the current column index.
Overridden for Table, TableBody, TableRow
flagColumnIndices in class TableFObjstart - start indexend - end indexTableFObj.flagColumnIndices(int, int)
public FONode clone(FONode parent,
boolean removeChildren)
throws FOPException
FONode
clone in class FObjFOPExceptionFONode.clone(FONode, boolean)
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||