Re: [iText-questions] setEncryption

2008-07-03 Thread Lars Eirik Rønning
There are some dependencies to the BouncyCastle classes when using the encryption.. You need to get this as a third party library.. Make sure that jar is in your class path and your problem should go away.. Hope that helps you. Lars On Thu, Jul 3, 2008 at 11:46 PM, Ashwani Kumar Singh [EMAIL

Re: [iText-questions] how to make jpg images transprent

2008-06-20 Thread Lars Eirik Rønning
Jpg does not support transparency.. You need png format for this. On 6/20/08, hari bhogu [EMAIL PROTECTED] wrote: hi i am using jpeg images and trying to make them transparent , but i am able to success when i convert the same image to GIF i am able make it transparent ,

[iText-questions] Acrobat and difference between actual image size and their containers

2008-06-19 Thread Lars Eirik Rønning
Hi. I realized this may be a bit off-topic concerning I Text, but i am hoping that perhaps someone with the inside-knowledge could explain the following to me: I have images which are generated to a pdf from batik. When i open my pdf in acrobat and click on all different image elements, the

Re: [iText-questions] Acrobat and difference between actual image size and their containers

2008-06-19 Thread Lars Eirik Rønning
to the element as it is indicated by its width and height or other properties for the svg image element. Thanks for taking the time to answer me! On Thu, Jun 19, 2008 at 9:30 AM, Bruno Lowagie [EMAIL PROTECTED] wrote: Lars Eirik Rønning wrote: I have images which are generated to a pdf from batik. When i

Re: [iText-questions] Share examples of pdfs created with iText!

2008-06-13 Thread Lars Eirik Rønning
Very impressive;) On Thu, Jun 12, 2008 at 11:17 PM, FlyingBuzz [EMAIL PROTECTED] wrote: Lets see what you are using iText for and how nicely a generated PDF could look. Example 1: http://www.nabble.com/file/p17809870/DomesticApprovalS13371.pdf DomesticApprovalS13371.pdf Example 2:

Re: [iText-questions] click on image and open the attachment

2008-06-06 Thread Lars Eirik Rønning
Great post Bruno! Fantastic news about your son! Have a good weekend and thanks for being very active on this mailing list! On Fri, Jun 6, 2008 at 9:33 AM, Bruno Lowagie [EMAIL PROTECTED] wrote: Harakiri wrote: Great - best useless input i read for a while - congrats! Please note that Bill

Re: [iText-questions] some pages are not displaying right

2008-05-23 Thread Lars Eirik Rønning
In all fairness I do not think we should blame creators of this library for recommending the book. However i do agree that sometimes it is smarter to just tell people to search for answers than to call them either stupid or use negative remarks. I have however received help numerous times and

[iText-questions] Placeholder fields on layers?

2008-05-13 Thread Lars Eirik Rønning
Hi. Is is possible to have fields appear on particular layers (exporting from acrobat) or is this a non ocg type of structured element? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual

Re: [iText-questions] Placeholder fields on layers?

2008-05-13 Thread Lars Eirik Rønning
On May 13, 2008, at 8:40 AM, Lars Eirik Rønning wrote: Hi. Is is possible to have fields appear on particular layers (exporting from acrobat) or is this a non ocg type of structured element? -- --- This SF.net

Re: [iText-questions] Iterate through elements

2008-05-08 Thread Lars Eirik Rønning
PROTECTED] On Behalf Of Lars Eirik Rønning Sent: Wednesday, May 07, 2008 4:14 PM To: Post all your questions about iText here Subject: [iText-questions] Iterate through elements Hi. First of all thanks for the great library you provide! Is there an easy way to iterate through the elements

[iText-questions] Iterate through elements

2008-05-07 Thread Lars Eirik Rønning
Hi. First of all thanks for the great library you provide! Is there an easy way to iterate through the elements in the pdf? I have had a look a a commercial product which offers a PageIterator object which allows for easy access to different types of elements. Is there a best practice for doing

Re: [iText-questions] OCG and content stream

2008-05-06 Thread Lars Eirik Rønning
So what you are saying is this: If i decide to do any transformation on my image or other element this will not work correctly? I am aware i do have to adjust the matrix, but i was not aware i did have to alter the bbox.(although i do understand why) On Tue, May 6, 2008 at 3:33 PM, Leonard

[iText-questions] OCG and content stream

2008-05-05 Thread Lars Eirik Rønning
Hi. Is there an easy way to retrieve the part of the page content stream which indicate the reference to a given ocg(layer) The stream of a give page is included below: Start Stream /OC /MC0 BDC q 0 841.89 595.276 -841.89 re W n q 1 0 0 -1 283.7324219 393.2568359 cm /Fm0 Do Q EMC /OC /MC1 BDC Q q

Re: [iText-questions] OCG and content stream

2008-05-05 Thread Lars Eirik Rønning
mean to change the object stream, not the page content stream. On Mon, May 5, 2008 at 1:09 PM, 1T3XT info [EMAIL PROTECTED] wrote: Lars Eirik Rønning wrote: Hi. Is there an easy way to retrieve the part of the page content stream which indicate the reference to a given ocg(layer) I guess

Re: [iText-questions] OCG and content stream

2008-05-05 Thread Lars Eirik Rønning
and it was similar to my pseudo code. Replacing the image with another should be easitily done with killIndirect and insert a new image right? On Mon, May 5, 2008 at 4:49 PM, 1T3XT info [EMAIL PROTECTED] wrote: Lars Eirik Rønning wrote: I fully understand your concern when it comes to the possibility

Re: [iText-questions] OCG and content stream

2008-05-05 Thread Lars Eirik Rønning
you'll need to write more complex code to deal with the problem... Remember that XObjects can either be simple raster images OR complex mini-PDFs. The replacement works fine for raster images, but not for the Form XObjects... Leonard On May 5, 2008, at 8:18 AM, Lars Eirik Rønning wrote