[iText-questions] How to change indirect reference object?

2011-09-29 Thread WMJ
Hello, Is it possible to change the PdfIndirectReference? For example, the Resources dictionary contains a reference (9 0 R) to imageA. And the desired image is ImageB, which shall be (10 0 R). How to change (9 0 R) to (10 0 R)?---

Re: [iText-questions] Multiple signing question

2011-09-29 Thread mkl
TvT, TvT wrote: > Is there a way just to sign a document twice using the same stamper? > Of course i can ByteArray those streams but then the memory is doubled > etc. Unfortunately you cannot apply more than one pdf signature in the same revision, at least not in a way accepted by most verificat

[iText-questions] Multiple signing question

2011-09-29 Thread TvT
Hey iTexters, i want to add several signatures to a PDF document at once. In all the solutions i found the 2nd (3rd, 4th and so on) signature needs to be added like this: pdfStamper = PdfStamper.createSignature(pdfReader, null, '\0', outputFile, true); This means however to create a new Stamper

Re: [iText-questions] evenly distribute content across page

2011-09-29 Thread Jason Berk
I appreciate you taking a stab at it... Hopefully my code can help someone else jason From: Iliadis Yannis [mailto:ilyan...@gmail.com] Sent: Thursday, September 29, 2011 9:52 AM To: Post all your questions about iText here Subject: Re: [iText-questions] evenly distribute content across

Re: [iText-questions] evenly distribute content across page

2011-09-29 Thread Iliadis Yannis
Sorry I misunderstood that you always wanted to show your data in 3 columns independent of the amount of data. And also I had the whole page in mind. Yannis 2011/9/29 Jason Berk > That won’t really work (see my second post). Assume I have 60 items and > I’m starting at the top of a page. I do

Re: [iText-questions] evenly distribute content across page

2011-09-29 Thread Jason Berk
That won't really work (see my second post). Assume I have 60 items and I'm starting at the top of a page. I don't want column 1 to show all 60. I want 3 columns to show 20 items each. Now assume I still have 60 items, but starting 75% of the way down the page. In this case, my columns can't h

Re: [iText-questions] Make a PDF layer only visible on screen(can not be printed on paper)

2011-09-29 Thread blue_...@163.com
Attached are my pdf files. Thanks a lot! At 2011-09-28 03:03:09,"1T3XT BVBA [via iText - General]" wrote: On 27/09/2011 10:55,[hidden email] wrote: > The viewer I use is Adobe Reader 9. In that case, we'd need to see the PDF to find out what's wrong with it. Also read:http://lowagie.com/nod

Re: [iText-questions] Make a PDF layer only visible on screen(can not be printed on paper)

2011-09-29 Thread blue_...@163.com
try to see if follow your rules... At 2011-09-28 03:03:09,"1T3XT BVBA [via iText - General]" wrote: On 27/09/2011 10:55,[hidden email] wrote: > The viewer I use is Adobe Reader 9. In that case, we'd need to see the PDF to find out what's wrong with it. Also read:http://lowagie.com/node/205

[iText-questions] Question about Rtf files

2011-09-29 Thread Bernhard S.
Hello there, i know that the rtf is not supported anymore but i hope you could help me with a (i hope) easy problem (espacially for you ;) ). I want to convert a RTF File into a PDF File in a very easy Java program. My program should be used as a jar (or runable jar) just to take the rtf-File an

Re: [iText-questions] evenly distribute content across page

2011-09-29 Thread Iliadis Yannis
Hi Jason, Based on your requirements I would use the following approach. Instead of a MultiColumnText I would use 3 simple ColumnText Objects (the 3 columns of your table). Each of the column would have its own boundaries. Then I would start filling the first column with data until page end is re