Class RegionBody

    • Constructor Detail

      • RegionBody

        public RegionBody​(FONode parent)
        Create a RegionBody instance that is a child of the given parent FONode.
        Parameters:
        parent - the FONode that is to be the parent
    • Method Detail

      • 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 Region
        Parameters:
        pList - the PropertyList where the properties can be found.
        Throws:
        FOPException - if there is a problem binding the values
      • getColumnCount

        public int getColumnCount()
        Return the value of the column-count property.
        Returns:
        the "column-count" property.
      • getColumnGap

        public int getColumnGap()
        Return the value of the column-gap property.
        Returns:
        the "column-gap" property.
      • getViewportRectangle

        public java.awt.Rectangle getViewportRectangle​(FODimension reldims)
        Specified by:
        getViewportRectangle in class Region
        Parameters:
        reldims - reference dimension of the page area.
        Returns:
        the rectangle for the viewport area
      • getDefaultRegionName

        public java.lang.String getDefaultRegionName()
        Returns the default region name (xsl-region-before, xsl-region-start, etc.)
        Specified by:
        getDefaultRegionName in class Region
        Returns:
        the default region name
      • getLocalName

        public java.lang.String getLocalName()
        Returns the local name (i.e. without namespace prefix) of the node
        Specified by:
        getLocalName in class FONode
        Returns:
        the local name of this node