Class PageDimensionMaker

All Implemented Interfaces:
Cloneable

public class PageDimensionMaker extends LengthProperty.Maker
Custom Maker for page-height / page-width
  • Constructor Details

    • PageDimensionMaker

      public PageDimensionMaker(int propId)
      Constructor
      Parameters:
      propId - the property Id
  • Method Details

    • get

      public Property get(int subpropId, PropertyList propertyList, boolean tryInherit, boolean tryDefault) throws PropertyException
      Check the value of the page-width / page-height property. Return the default or user-defined fallback in case the value was specified as "auto"
      Overrides:
      get in class PropertyMaker
      Parameters:
      subpropId - The subproperty id of the property being retrieved. Is 0 when retrieving a base property.
      propertyList - The PropertyList object being built for this FO.
      tryInherit - true if inherited properties should be examined.
      tryDefault - true if the default value should be returned.
      Returns:
      the property
      Throws:
      PropertyException - if a property exception occurs
      See Also: