You can add "hidden" content in the info dictionary or in the catalog or
in a number of other places. It all depends on what you want to keep and
the level of "survivability" of the content if the PDF is transformed.

Paulo
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Sascha Fuchs
> Sent: Tuesday, February 27, 2007 4:43 PM
> To: [email protected]
> Subject: [iText-questions] Remove a text which has been added 
> PdfContentByteover =stamp.getOverContent(actualPage) -> 
> over.beginText().... over.endText()
> 
> Hello
> 
> I have the ungrateful job to develop an application which is able to
> remove self-made "annotations". My idea was to store the annotation
> data/content additional in the document info area (with
> stamp.setMoreInfo(...)) and then to compare Pdf-Objects with this
> additional data.
> Originally I used the hard, dirty way with adding annotation in
> appending mode (with no compression), make an "identifier" with an
> unused named layer and removed from EOF to EOF if containing my layer
> name. This doesn't work if integrity is added; because that procedure
> merges all by EOF divided "sections" to one.
> 
> I found the FAQ solution (from Paulo Soares) to replace 
> images in PDFs (
> http://itext.ugent.be/library/question.php?id=66 ) and 
> modified the Java
> source code for toggling object trees with my Eclipse Debugger. But I
> couldn't find the objects containing "my" data.
> 
> Any ideas, how to solve my problem?
> 
> Thanks in advance
> Sascha
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to