org.apache.fop.apps

## Class FormattingResults

- java.lang.Object
- - org.apache.fop.apps.FormattingResults

-     public class FormattingResults
      extends Object

  Class for reporting back formatting results to the calling application.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FormattingResults()` Constructor for the FormattingResults object

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getPageCount()` Gets the number of pages rendered
    `List` | `getPageSequences()` Gets the results for the individual page-sequences.
    `void` | `haveFormattedPageSequence(AbstractPageSequence pageSequence, int pageCount)` Reports the result of one page sequence rendering back into this object.
    `void` | `reset()` Resets this object

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FormattingResults

          public FormattingResults()

      Constructor for the FormattingResults object

  - ### Method Detail

    - #### getPageCount

          public int getPageCount()

      Gets the number of pages rendered
      Returns:
        The number of pages overall

    - #### getPageSequences

          public List getPageSequences()

      Gets the results for the individual page-sequences.
      Returns:
        A List with PageSequenceResults objects

    - #### reset

          public void reset()

      Resets this object

    - #### haveFormattedPageSequence

          public void haveFormattedPageSequence(AbstractPageSequence pageSequence,
                                                int pageCount)

      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

Copyright © 2023 Apache Software Foundation. All rights reserved.