mkl wrote: > The generation 65536 entries are generated in > PdfWriter.PdfBody.getIndirectReferenceNumber();
Yes, and now I found what causes the "unnecessary" object references. PdfImportedPage extends PdfTemplate. Each PdfTemplate has its own reference number, but a PdfImportedPage is a very special type of PdfTemplate. It probably shouldn't create a reference number. I've made the change in my local source code, but I'll have to run my battery of tests to find out if my change doesn't break anything else. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
