Why dont you use onEndPage?

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Campanale, Rocco [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 17:08
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Removing content after using
> writeSelectedRows()
> 
> Currently, I'm writing a pdf report using version .96. I am creating a
> header using a PdfPTable, which is written at an exact position using
> writeSelectedRows. The creation of the header is triggered by onStartPage
> from a registered PageEvent.
> 
> I am writing a clob of data using a paragraph. This could span multiple
> pages. I have different clobs of data that are also written, that require
> different headers. As a result of my data sometimes ending at the bottom
> of a page, a new page event is called, thus triggering a header be
> created. However, if the data is finished writing a the end of a page, I
> do not want the current header to written on the new page. I know using
> onParagraphEnd that my paragraph has ended, but by that time the header is
> already written.
> 
> My question is, after using writeSelectedRows, is there a way to remove
> the content that was written at a specific position?
> 
> Thanks in advance.
> 
> Rocco
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The
> debugger 
> for complex code. Debugging C/C++ programs can leave you feeling lost and 
> disoriented. TotalView can help you find your way. Available on major UNIX
> 
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to