Ismael F wrote: > It's possible to make a direct replacement of stream bytes without > changing references?
Yes, you get the PRStream object from the PdfReader, and the use the setData method to change the stream. As PdfStream extends PdfDictionary, you can also add keys to the stream dictionary (or change them). This is all done in PdfReader. If you use this reader object in PdfStamper or PdfCopy, you'll see that the object is changed. br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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/
