Package org.apache.fop.apps
Class FormattingResults
- java.lang.Object
-
- org.apache.fop.apps.FormattingResults
-
public class FormattingResults extends java.lang.Object
Class for reporting back formatting results to the calling application.
-
-
Constructor Summary
Constructors Constructor Description FormattingResults()
Constructor for the FormattingResults object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPageCount()
Gets the number of pages renderedjava.util.List
getPageSequences()
Gets the results for the individual page-sequences.void
haveFormattedPageSequence(org.apache.fop.fo.pagination.AbstractPageSequence pageSequence, int pageCount)
Reports the result of one page sequence rendering back into this object.void
reset()
Resets this object
-
-
-
Method Detail
-
getPageCount
public int getPageCount()
Gets the number of pages rendered- Returns:
- The number of pages overall
-
getPageSequences
public java.util.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(org.apache.fop.fo.pagination.AbstractPageSequence pageSequence, int pageCount)
Reports the result of one page sequence rendering back into this object.- Parameters:
pageSequence
- the page sequence which just completed renderingpageCount
- the number of pages rendered for that PageSequence
-
-