Class RegionSE

All Implemented Interfaces:
Cloneable, Constants
Direct Known Subclasses:
RegionEnd, RegionStart

public abstract class RegionSE extends SideRegion
Abstract base class for fo:region-start and fo:region-end.
  • Constructor Details

    • RegionSE

      protected RegionSE(FONode parent)
      Create a RegionSE instance that is a child of the given parent FONode.
      Parameters:
      parent - the FONode that is to be the parent
  • 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 SideRegion
      Parameters:
      pList - the PropertyList where the properties can be found.
      Throws:
      FOPException - if there is a problem binding the values
    • adjustIPD

      protected void adjustIPD(Rectangle vpRefRect, WritingMode wm, PercentBaseContext siblingContext)
      Adjust the viewport reference rectangle for a region as a function of precedence. If before and after have precedence = true, the start and end regions only go to the limits of their extents, otherwise they extend in the BPD to the page reference rectangle diminish by extend of start and end if present.
      Parameters:
      vpRefRect - viewport reference rectangle
      wm - writing mode
      siblingContext - the context to use to resolve extent on siblings