Class TableFObj

java.lang.Object
org.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.fo.flow.table.TableFObj
All Implemented Interfaces:
Cloneable, Constants
Direct Known Subclasses:
Table, TableCell, TableCellContainer, TableColumn

public abstract class TableFObj extends FObj
Common base class for table-related FOs
  • Constructor Details

    • TableFObj

      public TableFObj(FONode parent)
      Create a TableFObj instance that is a child of the given FONode
      Parameters:
      parent - the parent FONode
  • Method Details

    • bind

      public void bind(PropertyList pList) throws FOPException
      Bind property values from the property list to the FO node. Must be overridden in all FObj subclasses that have properties applying to it.
      Overrides:
      bind in class FObj
      Parameters:
      pList - the PropertyList where the properties can be found.
      Throws:
      FOPException - if there is a problem binding the values
    • getBorderPrecedence

      public Numeric getBorderPrecedence(int side)
      Return the value for the "border-precedence" property for the given side.
      Parameters:
      side - the side for which to return the border precedence
      Returns:
      the "border-precedence" value for the given side
    • getTable

      public Table getTable()
      Convenience method to returns a reference to the base Table instance.
      Returns:
      the base table instance
    • getCommonBorderPaddingBackground

      public abstract CommonBorderPaddingBackground getCommonBorderPaddingBackground()
      Returns:
      the Common Border, Padding, and Background Properties.
    • processNode

      public void processNode(String elementName, Locator locator, Attributes attlist, PropertyList pList) throws FOPException
      Initialize the node with its name, location information, and attributes The attributes must be used immediately as the sax attributes will be altered for the next element.
      Overrides:
      processNode in class FObj
      Parameters:
      elementName - element name (e.g., "fo:block")
      locator - Locator object (ignored by default)
      attlist - Collection of attributes passed to us from the parser.
      pList - the property list of the parent node
      Throws:
      FOPException - for errors or inconsistencies in the attributes
    • setCollapsedBorders

      protected void setCollapsedBorders()
      Prepares the borders of this element if the collapsing-border model is in use. Conflict resolution with parent elements is done where applicable.