Thanks for your reply Paulo. The byte start and byte offset of a document (1 page or multiple pages) in a PDF will be used to extract the document from the PDF.
I am thinking of another way of achieving this. I have all the documents as individual PDFs and will concatenate these into a big PDF. While doing this if I calculate the byte size of the individual PDFs, would that help? Thank you Nag -----Original Message----- From: Paulo Soares [mailto:[email protected]] Sent: Thursday, 8 March 2012 1:50 AM To: Post all your questions about iText here Subject: Re: [iText-questions] size in bytes That's an impossible requirement considering that a PDF page can be scattered all over the file, that's not like having a page after the other. What do you need the byte offset for? Maybe if we know why we can suggest something that works. Paulo On Wed, Mar 7, 2012 at 12:28 PM, Adimulam, Naga <[email protected]> wrote: > Hi all, > > I have a PDF file which consists of documents with multiple pages. A > document can be of 1 page or 2 page and so on... I know on which page does a > document begin and on which page does the document end. > > The requirement is to write the starting byte of a document and its byte > offset (number of bytes of the document) in the PDF file. > > Could anyone please help me how to achieve this. > > Thank you in advance ------------------------------------------------------------------------ ------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ iText-questions mailing list [email protected] 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 Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website. The information contained in this email communication may be proprietary, confidential or legally professionally privileged. It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee that the integrity of this email communication has been maintained nor that the communication is free of errors, virus or interference. If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this email communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so. Please consider the environment before printing this email. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ iText-questions mailing list [email protected] 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
