You can't remove the entire stream - that would give you a blank page!

As Bruno said, you need to parse/analyze the page content and determine what is 
"good" and what is "bad".  

Leonard

-----Original Message-----
From: AJ Weber [mailto:[email protected]] 
Sent: Wednesday, February 15, 2012 9:27 AM
To: [email protected]
Subject: Re: [iText-questions] Strip Annotations?

On 2/14/2012 11:02 AM, Leonard Rosenthol wrote:
> Sure, it's possible that they are using some tool that adds text directly to 
> the content instead of as an annotation.  Perfectly valid.
>
> In which case, removal is MUCH harder (but not impossible)
OK...if I need to remove a page's /Contents object (and thus stream), can 
anyone point to a quick method to do that?  Do I need to use one of the "lower 
level" methods, or which class/method would be recommended?

Thanks again,
AJ

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning Cloud computing makes 
use of virtualization - but cloud computing also focuses on allowing computing 
to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/ Please check the keywords list 
before you ask for examples: http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to