Class BeforeFloat

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class BeforeFloat
    extends BlockParent
    The before-float-reference-area optionally generated by an fo:region-body. It has an optional separator and before float block children. See fo:region-body definition in the XSL Rec for more information.
    See Also:
    Serialized Form
    • Constructor Detail

      • BeforeFloat

        public BeforeFloat()
    • Method Detail

      • setSeparator

        public void setSeparator​(Block sep)
        Set the separator area for this before float.
        Parameters:
        sep - the before float separator area
      • getSeparator

        public Block getSeparator()
        Get the separator area for this before float.
        Returns:
        the before float separator area
      • getBPD

        public int getBPD()
        Get the height of this before float. It gets the height of the children and if there is a separator its height is also added.
        Overrides:
        getBPD in class Area
        Returns:
        the height of the before float including separator
        See Also:
        bpd
      • isEmpty

        public boolean isEmpty()
        Check whether there are child areas.
        Overrides:
        isEmpty in class BlockParent
        Returns:
        the result.