Class FormattingResults


  • @Deprecated(since="2021-03-01")
    public class FormattingResults
    extends Object
    Deprecated.
    Avoid using this package provided OOTB and migrate code a newer version which you can deploy as part of your project.
    Class for reporting back formatting results to the calling application.
    • Constructor Detail

      • FormattingResults

        public FormattingResults()
        Deprecated.
        Constructor for the FormattingResults object
    • Method Detail

      • getPageCount

        public int getPageCount()
        Deprecated.
        Gets the number of pages rendered
        Returns:
        The number of pages overall
      • getPageSequences

        public List getPageSequences()
        Deprecated.
        Gets the results for the individual page-sequences.
        Returns:
        A List with PageSequenceResults objects
      • reset

        public void reset()
        Deprecated.
        Resets this object
      • haveFormattedPageSequence

        public void haveFormattedPageSequence​(org.apache.fop.fo.pagination.AbstractPageSequence pageSequence,
                                              int pageCount)
        Deprecated.
        Reports the result of one page sequence rendering back into this object.
        Parameters:
        pageSequence - the page sequence which just completed rendering
        pageCount - the number of pages rendered for that PageSequence