On 31/10/2010 10:41, jjalink wrote: > > This is the latest OCG removal code from Bruno: > > http://itext-general.2136553.n4.nabble.com/file/n3020962/RemoveChanges1.java > RemoveChanges1.java
That code makes some assumptions about the original PDF. For instance: it assumes that the page content is built up using different streams (an array of content streams) and it throws away the complete stream if it contains optional content. If the stream also consists of "regular" content, it will be thrown away as well. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
