Class LayoutMasterProperties


  • public class LayoutMasterProperties
    extends Object
    Provides properties for a LayoutMaster.
    • Method Detail

      • getPageWidth

        public int getPageWidth()
        Gets the page width, in characters.
        Returns:
        returns the page width
      • getPageHeight

        public int getPageHeight()
        Gets the page height, in characters.
        Returns:
        returns the page height
      • getFlowWidth

        public int getFlowWidth()
        Gets the width available for the text body.
        Returns:
        returns the width, in characters
      • getInnerMargin

        public int getInnerMargin()
        Gets the width of the inner margin, in characters. The inner margin is the margin closes to the binding.
        Returns:
        returns the width of the inner margin
      • getOuterMargin

        public int getOuterMargin()
        Gets the width of the outer margin, in characters. The outer margin is the margin farthest from the binding.
        Returns:
        returns the width of the outer margin
      • getRowSpacing

        public float getRowSpacing()
        Gets the row spacing, in character heights. A value of 1 indicates regular single line spacing. 2 indicates double line spacing.
        Returns:
        the row spacing
      • duplex

        public boolean duplex()
        Gets the duplex value. If true, both sides of a sheet should be used. If false, only one side of a sheet should be used.
        Returns:
        returns true if both sides of a sheet should be used, false otherwise
      • getBorder

        public TextBorderStyle getBorder()
        Gets the page border to use
        Returns:
        returns the page border