Let me sumarize this thread and give some considerations: - There are several ways to split a PDF using iText. - PdfWriter splits using templates that may be nested if splits are made from splits. This is not a limitation, templates have other uses not just for simple splits. - PdfCopy can split forever without creating templates, use PdfCopy if templates inside templates are an issue. - Acrobat can read the text from a split made with nested templates, the PDF is well formed. - This is a mailing list for iText not PDFBox. If PDFBox or other tools can't read the text bring the issue to them, don't ask us why they don't work. Acrobat works correctly. - This is my last post about this non issue.
Paulo ----- Original Message ----- From: "rosette" <rose...@arx.com> To: <itext-questions@lists.sourceforge.net> Sent: Sunday, October 04, 2009 12:39 PM Subject: Re: [iText-questions] Splitting by Itext I would like to add that If I use other extract text tools (not only PDFBox) there is always the same problem . If I use other tools to split the document there is no problem to extract tools with PDfBox or with any other tool that I used. If the problem is that iText creates template inside a template and this is a limitaion of iText or this is a behavior that I can not change, please let me know. Thanks, Rosette rosette wrote: > > Hi, > > I have a PDF file that I'm spliting by Itext, it works well! > My problem begins when I want to extract a text from the PDF that was > cerated by iText. > > If I have a PDF document with 10 pages and I split this document to 2 > documents. > > The first from pages 1-3 and the second is from 4-10, I'll be able to > extract the text from both documents. > But if I take the first or the second document and I'll split it again and > then I'll try to extract the text , it will fail. > Since IText can't extract text, I investigated the problem with couple API > and it seems that the core of the problem is when I'm spliting by Itext > files that the origin were also splited by IText. > > Please let me know if you have any idea how to solve this problem. > > Rosette ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/