[iText-questions] A simple image background with text overlayed?

2012-01-04 Thread Jeff Sadowski
I can't seem to find an example that fits my simple situation. All the examples I have found for what I want use a pdfreader object and a pdfstamper object then they use .getUnderContent(); method and .getOverContent() method. pdfreader from what I gather needs an existing pdf do I need to convert

[iText-questions] Creating PDF/A files using iText

2012-01-04 Thread Zoharat Motiwala
Does iText support PDF/A file creation? Are there any code samples which show how this can be done? I am currently using iText library version 2.1.17, which version of iText supports pdf/a creation? -Zoharat -- Ridiculou

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Matthias Nott
Title: RE: [iText-questions] Adding Chapter Structure to existing PDF Edwin, all, thanks for your great help. That's exactly what I needed. I'll check out the book. Rgds, M McGee, Edwin F. Sr. 4. Januar 2012 19:23 Matthias, The book does have information,

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread McGee, Edwin F. Sr.
Matthias, The book does have information, particularly "Part 2 Manipulating Existing PDF documents", and there are examples of how to concatenate them. If the documents you are trying to merge already have Bookmarks and/or a table of contents, you should be able to import this information and

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Leonard Rosenthol
Called Outlines in the PDF standard or Bookmarks in the UI. -Original Message- From: Matthias Nott [mailto:mn...@mnsoft.org] Sent: Wednesday, January 04, 2012 11:58 AM To: Leonard Rosenthol Cc: Post all your questions about iText here Subject: Re: [iText-questions] Adding Chapter Structur

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Matthias Nott
Leonard, ok thanks for this! I don't have the correct terms for it, but what I want to achieve is this: If you view a pdf e.g. in acroread, you can show a hierarchical structure of chapter, sections, etc. on the left side. You can click on those to jump to a given chapter. Tnx, M ---

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Leonard Rosenthol
So you just want bookmarks NOT actual PDF structure (that's a completely different thing in PDF)? In that case, you can use iText to find the text and it's bounding rectangle (using the content parser) and then use that as the destination for the newly created bookmark. Details in the book!

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Matthias Nott
Yes, true, but for this I could convert the current pdf page into plain text and do a regex. It is sufficient for me to jump to the page when clicking on the structure tree in the pdf reader. I could also ask them to put the tags white on white, which isn't nice, but still acceptable. So what

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Alexis Pigeon
[my bad, i didn't notice I took this conversation on the private side in my previous email. back to the list now] You might have a really hard time finding the chapter and sections marks then, because of the very nature of PDF files. They are meant for data presentation, not edition. Cheers, alex

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Matthias Nott
Alexis, thanks! Actually I don't create those original PDFs myself, they come out of their own reporting system. I want to concatenate them in sequence, and add them to the table of contents / structure. That's why I want to look for some text that was annotated for me, and use that as chapter

Re: [iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Alexis Pigeon
Hi Matthias, On 4 January 2012 14:10, Matthias Nott wrote: > Hi all, > > I've been working with IText for a long while (first time in 2004) and > have been content with concatenating PDF's into one, basically. For that > reason I've never had to buy the book as that application is pretty > strai

[iText-questions] Adding Chapter Structure to existing PDF

2012-01-04 Thread Matthias Nott
Hi all, I've been working with IText for a long while (first time in 2004) and have been content with concatenating PDF's into one, basically. For that reason I've never had to buy the book as that application is pretty straight forward. Now before buying the book to be able to meet my current