Class PagenumField

  • All Implemented Interfaces:
    Field
    Direct Known Subclasses:
    CurrentPageField

    public class PagenumField
    extends NumeralField
    Provides a reference to some property of the physical pages in the final document. Its value is resolved when its location in the flow is known.
    • Constructor Detail

      • PagenumField

        public PagenumField​(NumeralStyle style)
        Creates a new page number field with the specified numeral style
        Parameters:
        style - the numeral style
      • PagenumField

        public PagenumField​(NumeralStyle style,
                            String textStyle)
        Creates a new page number field with the specified numeral and text styles
        Parameters:
        style - the numeral style
        textStyle - the text style