Re: [iText-questions] get a page number from a PdfDictionary

2010-03-03 Thread 1T3XT info
Paulo Soares wrote: > Call PdfReader.consolidateNamedDestinations before getting the bookmarks. Yes, but that's not in the first edition, only in the second edition (section 7.1.2) ;-) -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ---

Re: [iText-questions] get a page number from a PdfDictionary

2010-03-03 Thread 1T3XT info
jcintra wrote: > Hello Paulo, > > if I read the book and still have problems maybe it's something else rather > than what's in the book. I will try to explain better my problem. > When I read the bookmark information I don't get a "Page" but a "Named" with > something like "G4.32xxx". And this is

Re: [iText-questions] get a page number from a PdfDictionary

2010-03-03 Thread Paulo Soares
tions@lists.sourceforge.net Subject: Re: [iText-questions] get a page number from a PdfDictionary Hello Paulo, if I read the book and still have problems maybe it's something else rather than what's in the book. I will try to explain better my problem. When I read the bookmark information I don'

Re: [iText-questions] get a page number from a PdfDictionary

2010-03-03 Thread jcintra
gt; > From: jcintra [joao.cin...@gmail.com] > Sent: Wednesday, March 03, 2010 4:56 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] get a page number from a PdfDictionary > > Could you please send me some code to d

Re: [iText-questions] get a page number from a PdfDictionary

2010-03-03 Thread 1T3XT info
jcintra wrote: > Could you please send me some code to do this? You subject contains the question: "[can I] get a page number from a PdfDictionary". The answer is no: the concept of "page number" doesn't exist in PDF. The page number is determined based on the order in which a page dictionary app

Re: [iText-questions] get a page number from a PdfDictionary

2010-03-03 Thread Paulo Soares
itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] get a page number from a PdfDictionary Could you please send me some code to do this? I'm new to iText and I'm completly lost. I already got the iText book and read the site, but I still don't get how to get a book

Re: [iText-questions] get a page number from a PdfDictionary

2010-03-03 Thread jcintra
you in a legible way and even > present the page numbers as a bonus. > > Paulo > > - Original Message - > From: "Edward W. Rouse" > To: "'Post all your questions about iText here'" > > Sent: Wednesday, February 13, 2008 9

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-17 Thread 1T3XT info
Hans wrote: > I am using following codes to deal with right to left language and it > works fine: There seems to be a mix-up. Subject and content of this mail don't correspond; as for the question in the body of the mail: it has been answered half an hour ago. -- This answer is provided by 1T3XT

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-17 Thread Hans
Hi Paulo, I am using following codes to deal with right to left language and it works fine: BaseFont bf = BaseFont.createFont("c:/windows/fonts/arial.ttf", BaseFont.IDENTITY_H, true); Font font = new Font(bf, 14); document.add(new Paragraph("Mov

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Paulo Soares
ebruary 13, 2008 9:38 PM Subject: Re: [iText-questions] get a page number from a PdfDictionary > Let me try again. I saw an example that used PdfCopy. Seemed simple > enough. You use the getImportedPage(PdfReader, int) method to > get the page from the reader and then use the addPage(PdfIm

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
Rouse ComSquared Systems, Inc. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie > Sent: Wednesday, February 13, 2008 2:00 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] get a page n

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
ed Systems, Inc. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie > Sent: Wednesday, February 13, 2008 2:00 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] get a page number from a PdfDi

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Bruno Lowagie
Edward W. Rouse wrote: > I have been searching the mailing list archives and using Google for > hours and haven't found the answer, so I am asking here. Have you read the PDF Reference? There's no such thing as page numbers in the page(s) dictionary. There's the page tree from which you can retri

[iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
I have been searching the mailing list archives and using Google for hours and haven't found the answer, so I am asking here. I have a pdf that I need to split based on the outlines. I have been parsing the iText objects trying to find the answer with no luck so far. I have looked at the Split