Class AbstractPageSequence

    • Field Detail

      • initialPageNumber

        protected Numeric initialPageNumber
        initial page number
      • forcePageCount

        protected int forcePageCount
        forced page count
      • format

        private java.lang.String format
      • letterValue

        private int letterValue
      • groupingSeparator

        private char groupingSeparator
      • groupingSize

        private int groupingSize
      • referenceOrientation

        private Numeric referenceOrientation
      • language

        private java.lang.String language
      • country

        private java.lang.String country
      • numberConversionFeatures

        private java.lang.String numberConversionFeatures
      • startingPageNumber

        protected int startingPageNumber
        starting page number
    • Constructor Detail

      • AbstractPageSequence

        public AbstractPageSequence​(FONode parent)
        Create an AbstractPageSequence that is a child of the given parent FONode.
        Parameters:
        parent - the parent FONode
    • Method Detail

      • 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 FObj
        Parameters:
        pList - the PropertyList where the properties can be found.
        Throws:
        FOPException - if there is a problem binding the values
      • startOfNode

        public void startOfNode()
                         throws FOPException
        Called after processNode() is called. Subclasses can do additional processing.
        Overrides:
        startOfNode in class FObj
        Throws:
        FOPException - FOP Exception
      • initPageNumber

        public void initPageNumber()
        Initialize the current page number for the start of the page sequence.
      • getStartingPageNumber

        public int getStartingPageNumber()
        Get the starting page number for this page sequence.
        Returns:
        the starting page number
      • makeFormattedPageNumber

        public java.lang.String makeFormattedPageNumber​(int pageNumber)
        Retrieves the string representation of a page number applicable for this page sequence
        Parameters:
        pageNumber - the page number
        Returns:
        string representation of the page number
      • getRoot

        public Root getRoot()
        Public accessor for the ancestor Root.
        Overrides:
        getRoot in class FONode
        Returns:
        the ancestor Root
      • getForcePageCount

        public int getForcePageCount()
        Get the value of the force-page-count property.
        Returns:
        the force-page-count value
      • getInitialPageNumber

        public Numeric getInitialPageNumber()
        Get the value of the initial-page-number property.
        Returns:
        the initial-page-number property value
      • getReferenceOrientation

        public int getReferenceOrientation()
        Get the value of the reference-orientation property.
        Returns:
        the "reference-orientation" property
        Since:
        XSL 1.1