[iText-questions] "Unknown encryption type (4)"

2009-01-31 Thread Ike Okafo
I am using the IText library in .NET. A call to Dim reader As PdfReader = New PdfReader(Server.MapPath(strPath & strfileName)) works ok for an old pdf but when I try opening a newer version of the pdf. I get the following error. "Unknown encryption type (4)" This does not happen with the old vers

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-01-31 Thread ppiman
Thanks Leonard and IT3XT for the reply. Below is the code that I'm using for stamping for existing pdf files. From the code below where should I go now. Meaning what type of object do I need to do instead. Sorry for asking, I left my Itext in Action book at work and I'm trying to play with this a

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-01-31 Thread Leonard Rosenthol
If the PDF was made by Acrobat, then it has XMP-based metadata and you may only be updating the DocInfo set - which means your metadata is now out of sync :(. use the synchronization feature of iText to get them back in sync after modification. Leonard On Fri, Jan 30, 2009 at 9:57 PM, ppiman wr

Re: [iText-questions] Tooltips

2009-01-31 Thread Leonard Rosenthol
You don't need to add any actions to get tooltips!! The string in the /TU value of the Widget annotation controls the automatic tooltips... Leonard On Sat, Jan 31, 2009 at 5:49 AM, 1T3XT info wrote: > Erik Piché wrote: > > Hello, > > > > I'd like to programmatically add tooltips to my existing

Re: [iText-questions] I'm having trouble with setting the vertical of a cell

2009-01-31 Thread Lopes, James
I have upgraded to version 2.1.3 and still have the same problem document = new Document(PageSize.LETTER); pdfwriter = PdfWriter.getInstance(document, new FileOutputStream("TestRpt5.pdf")); document.open(); PdfPTable table1 = new PdfPTable(2); Pd

Re: [iText-questions] Drawing a PDF page into a PDF

2009-01-31 Thread slaisne
Thanks a lot. We have bought "iText in Action" previously. I test it now. 1T3XT info wrote: > > slaisne wrote: >> Hi all, >> >> Is it possible to draw a PDF (like an image) into an other PDF document. >> >> Regards, > > This is one (complex) example: > http://1t3xt.info/examples/browse/?p

Re: [iText-questions] Handling Reader extensions.

2009-01-31 Thread 1T3XT info
Subhrajyoti Moitra wrote: > Hi, > I have having trouble with PDF forms which have "usage rights" enabled. Usage Rights are applied to a PDF by encrypting the PDF using a private key that is private to Adobe. There is no other company (and a fortiori NO THIRD PARTY tool) that is allowed to use this

[iText-questions] Handling Reader extensions.

2009-01-31 Thread Subhrajyoti Moitra
Hi, I have having trouble with PDF forms which have "usage rights" enabled. After I add new content like some hidden/visible fields and open the pdf in acrobat i get a really scary message, "This document enabled extended features in Adobe Reader. The document has been changed since it was created

Re: [iText-questions] Problem: Font resizing in a Textfield

2009-01-31 Thread 1T3XT info
Ramaprasad Kolla wrote: > I am sorry I have used > nameField.setFontSize(10); > But still, when the max char limit is reached the font size is reduced to > accomodate the extra chars typed into the textfield. So you say, but I have proof that what you say doesn't make sense: http://www.1t3xt.info

Re: [iText-questions] Problem: Font resizing in a Textfield

2009-01-31 Thread Ramaprasad Kolla
I am sorry I have used nameField.setFontSize(10); But still, when the max char limit is reached the font size is reduced to accomodate the extra chars typed into the textfield. 1T3XT info wrote: > > Ramaprasad Kolla wrote: >> >> Howdy All, >> >> I am developing a PDF file using iText Java

Re: [iText-questions] Problem: Font resizing in a Textfield

2009-01-31 Thread 1T3XT info
Ramaprasad Kolla wrote: > > Howdy All, > > I am developing a PDF file using iText Java PDF library in which I have > created a textfiled as below: > > TextField nameField = new TextField(writer, new Rectangle(36, 600, 150, > 620), "nameField"); > > I have added this textfield to the PDF w

[iText-questions] Problem: Font resizing in a Textfield

2009-01-31 Thread Ramaprasad Kolla
Howdy All, I am developing a PDF file using iText Java PDF library in which I have created a textfiled as below: TextField nameField = new TextField(writer, new Rectangle(36, 600, 150, 620), "nameField"); I have added this textfield to the PDF writer and it looks fine. But when I start t

Re: [iText-questions] PDF to Image possible?

2009-01-31 Thread 1T3XT info
prassoon as wrote: > Hi folks > > Does iText library give provision to create images of PDF file? I want > to make thumbnail of the first page of the given PDF. Is it possible > with iText? It would be nice if anyone can shed some light... You'll have to look for another product. iText doesn't

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-01-31 Thread 1T3XT info
ppiman wrote: > Hello All, > > I've been using Itext for a couple of years now. I mainly use it for > stamping my pdf files with the documents properties (keywords, author, > title, ). I notice the other day that after I stamp my pdf file and then > open the file in Acrobat 8, that some of the

Re: [iText-questions] Tooltips

2009-01-31 Thread 1T3XT info
Erik Piché wrote: > Hello, > > I'd like to programmatically add tooltips to my existing acroforms' > fields. The forms were created using Adobe Pro 9, not livecycle. I have > edit fields only on my forms and the description strings (for > tooltips) are on the database, that's why I'd like to d

Re: [iText-questions] java.io.IOException: trailer not found. while trying to process FDF

2009-01-31 Thread 1T3XT info
Subhrajyoti Moitra wrote: > Thanks a lot for the quick turn-around. > really appreciate it. > > I have been able to read the fdf file without ne issues. But the below > code snippet does not print ne thing on the server console. I don't understand your question (what is ne?) and I don't understa

[iText-questions] Tooltips

2009-01-31 Thread Erik Piché
Hello, I'd like to programmatically add tooltips to my existing acroforms' fields. The forms were created using Adobe Pro 9, not livecycle. I have edit fields only on my forms and the description strings (for tooltips) are on the database, that's why I'd like to do so. 1) I there any way to

[iText-questions] PDF to Image possible?

2009-01-31 Thread prassoon as
Hi folks Does iText library give provision to create images of PDF file? I want to make thumbnail of the first page of the given PDF. Is it possible with iText? It would be nice if anyone can shed some light... Thanks in advance...Prassoon Suryadas _

Re: [iText-questions] I'm having trouble with setting the vertical of a cell

2009-01-31 Thread 1T3XT info
Lopes, James wrote: > I’m using iText version 1.3.1 That's a mighty old version dating from May 11, 2005. > // only the horizontal is working?? > hdr1.setHorizontalAlignment(Element.ALIGN_CENTER); > hdr1.setVerticalAlignment(Element.ALIGN_MIDDLE); As documented: we no longer help peo