org.apache.fop.extensions
Class ContinuedLabel
java.lang.Object
|
+--org.apache.fop.fo.FONode
|
+--org.apache.fop.fo.FObj
|
+--org.apache.fop.extensions.ExtensionObj
|
+--org.apache.fop.extensions.ContinuedLabel
- public class ContinuedLabel
- extends ExtensionObj
Implement continued labels for table header/footer.
Content of this element must be an fo:inline.
Fields inherited from class org.apache.fop.fo.FONode |
areaClass, areasGenerated, BREAK_AFTER, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, parent, START |
Method Summary |
void |
format(AreaTree areaTree)
Null implementation. |
java.lang.String |
getName()
returns the name of the formatting object |
int |
layout(Area area)
If we are within a cell in a table-header or table-footer object
and this is not the first generated area for the table, then generate
an inline area and put the content in it. |
static FObj.Maker |
maker()
|
void |
removeID(IDReferences idReferences)
Removes property id from IDReferences. |
Methods inherited from class org.apache.fop.fo.FONode |
addChild, forceStartOffset, forceWidth, getLinkSet, getMarkerSnapshot, getParent, mayPrecedeMarker, removeAreas, resetMarker, rollback, setIsInTableCell, setLinkSet, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContinuedLabel
public ContinuedLabel(FObj parent,
PropertyList propertyList,
java.lang.String systemId,
int line,
int column)
maker
public static FObj.Maker maker()
getName
public java.lang.String getName()
- Description copied from class:
FObj
- returns the name of the formatting object
- Overrides:
getName
in class FObj
- Following copied from class:
org.apache.fop.fo.FObj
- Returns:
- the name of this formatting objects
layout
public int layout(Area area)
throws FOPException
- If we are within a cell in a table-header or table-footer object
and this is not the first generated area for the table, then generate
an inline area and put the content in it.
- Overrides:
layout
in class ExtensionObj
- Parameters:
area
- The parent area.- Returns:
- Value indicating where all, some or none of the content
was placed in the current parent area.
format
public void format(AreaTree areaTree)
throws FOPException
- Null implementation.
- Overrides:
format
in class ExtensionObj
- Following copied from class:
org.apache.fop.extensions.ExtensionObj
- Parameters:
areaTree
-
removeID
public void removeID(IDReferences idReferences)
- Removes property id from IDReferences.
This overrides the generic FObj function since ID has no meaning
on a continued-label. However, for now, it propagates to its children
since we don't prevent them from creating IDs. This should probably be
fixed!
- Overrides:
removeID
in class FObj
- Parameters:
idReferences
- the id to remove
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.