org.apache.fop.extensions
Class ContinuedLabel

java.lang.Object
  extended by org.apache.fop.fo.FONode
      extended by org.apache.fop.fo.FObj
          extended by org.apache.fop.extensions.ExtensionObj
              extended by 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.


Nested Class Summary
static class ContinuedLabel.Maker
           
 
Field Summary
 
Fields inherited from class org.apache.fop.fo.FObj
column, line, properties, propMgr, systemId
 
Fields inherited from class org.apache.fop.fo.FONode
areaClass, areasGenerated, BREAK_AFTER, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, parent, START
 
Constructor Summary
ContinuedLabel(FObj parent, PropertyList propertyList, String systemId, int line, int column)
           
 
Method Summary
 void format(AreaTree areaTree)
          Null implementation.
 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.FObj
addCharacters, addMarker, end, generatesReferenceAreas, getContentWidth, getProperty, makePropertyManager, setWritingMode
 
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
 

Constructor Detail

ContinuedLabel

public ContinuedLabel(FObj parent,
                      PropertyList propertyList,
                      String systemId,
                      int line,
                      int column)
Method Detail

maker

public static FObj.Maker maker()

getName

public String getName()
Description copied from class: FObj
returns the name of the formatting object

Specified by:
getName in class 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.
Throws:
FOPException

format

public void format(AreaTree areaTree)
            throws FOPException
Null implementation.

Overrides:
format in class ExtensionObj
Throws:
FOPException

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.