org.apache.fop.apps

Class FormattingResults


public class FormattingResults
extends java.lang.Object

Class for reporting back formatting results to the calling application.

Constructor Summary

FormattingResults()
Constructor for the FormattingResults object

Method Summary

int
getPageCount()
Gets the number of pages rendered
List
getPageSequences()
Gets the results for the individual page-sequences.
void
haveFormattedPageSequence(PageSequence pageSequence, int pageCount)
Reports the result of one page sequence rendering back into this object.
void
reset()
Resets this object

Constructor Details

FormattingResults

public FormattingResults()
Constructor for the FormattingResults object

Method Details

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

haveFormattedPageSequence

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

reset

public void reset()
Resets this object

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.