Bookmarks probably will be in our PDF files, but annotations not. The idea to store the whole file in one place and streams in another is a valid solution also. If there are some methods how to separate and again recreate them to valid PDF file in iText. I suppose that streams will be stored only once based on their hashes.
About deep nested XObjects - do not know, so it is better to suppose that yes - will be in PDF's. About the fonts - fonts will be subsetted, but there will be about 100000000 PDF pages with the similar resources so even with subsets we should be able to save some place. -----Original Message----- From: iText Info [mailto:i...@1t3xt.info] Sent: Friday, November 15, 2013 3:10 PM To: Post all your questions about iText here Subject: Re: [iText-questions] PDF decompostion & composition (page, resources) Tomáš Bucki schreef op 15/11/2013 14:54: > Hope now it is little bit clear Yes, it's important to know that your PDFs "are not such special, only font's and graphics is used." This means that we don't have to worry about annotations, bookmarks, structure trees,... This is important information. Why do you want to do this on page level? Why not store the whole file in one place and the streams in another? Do you have deep nested XObjects? Are you sure you're going to save space by storing the fonts separately? This could be true if you're always embedding the full font, but normally you'll work with subsets, so you won't win much because different files will use different subsets. The more predictable the files are, the more likely it is that a solution can be built. ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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 ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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