org.ujac.print
Interface NewPageHandler

All Known Implementing Classes:
ChapterTag, ColumnTextTag, DocumentTag, SectionTag, SegmentTag

public interface NewPageHandler

Name: NewPageHandler
Description: Handles new page requests.

Author:
lauerc

Method Summary
 com.lowagie.text.Document handleNewPage(com.lowagie.text.Rectangle size, com.lowagie.text.Rectangle margins)
          Handles a new page request.
 

Method Detail

handleNewPage

com.lowagie.text.Document handleNewPage(com.lowagie.text.Rectangle size,
                                        com.lowagie.text.Rectangle margins)
                                        throws DocumentHandlerException
Handles a new page request.

Parameters:
size - The new document size, null if the size should remain the same.
margins - The new document margins, null if the margins should remain the same.
Returns:
A reference to the document.
Throws:
DocumentHandlerException - In case something went wrong.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.