org.apache.fop.extensions
Class ExtensionObj
java.lang.Object
org.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.extensions.ExtensionObj
- Direct Known Subclasses:
- ContinuedLabel, Destination, Label, Outline
- public abstract class ExtensionObj
- extends FObj
base class for extension objects
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)
Called for root extensions. |
int |
layout(Area area)
Called for extensions within a page sequence or flow. |
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 |
ExtensionObj
public ExtensionObj(FObj parent,
PropertyList propertyList,
String systemId,
int line,
int column)
- Parameters:
parent
- the parent formatting objectpropertyList
- the explicit properties of this object
layout
public int layout(Area area)
throws FOPException
- Called for extensions within a page sequence or flow. These extensions
are allowed to generate visible areas within the layout.
- Overrides:
layout
in class FObj
- Parameters:
area
-
- Throws:
FOPException
format
public void format(AreaTree areaTree)
throws FOPException
- Called for root extensions. Root extensions aren't allowed to generate
any visible areas. They are used for extra items that don't show up in
the page layout itself. For example: pdf outlines
- Parameters:
areaTree
-
- Throws:
FOPException
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.