[iText-questions] unable to compile itext source files

2007-07-16 Thread Milan Pandya
Hello, I downloaded itext source files from the website. I extracted the files in my home directory and it created a folder itext-src-2.0.4 I had to rename the folder to src. After doing the above step, I ran successfully ant build.xml, and later on ant compile and also ant jar While doing ant co

Re: [iText-questions] Populate forms that do not use Acro Fields

2007-07-16 Thread Michael Schierl
On Sat, 14 Jul 2007 15:35:56 -0500, scott carter wrote: > I have a collection of forms that I need to automatically populate based on > data in our database. Does it need to be a form afterwards or is it just for printing? In the latter case, use a PdfStamper, get a PdfContentByte to lay over th

Re: [iText-questions] Problem while digitally sighning pdf using IText.

2007-07-16 Thread Michael Schierl
On Mon, 16 Jul 2007 05:05:08 -0700 (PDT), linkjaya wrote: > Second by using tool given by acrobat professional. > when i use this key following key > Exception in thread "main" java.lang.NoClassDefFoundError: > org/bouncycastle/asn1/DEREncodable Add lib\bcprov-jdk14-135.jar (from SVN) to y

Re: [iText-questions] Bookmark

2007-07-16 Thread Paulo Soares
It's done with PdfCopy.setOutlines(). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Animesh Mondal > Sent: Monday, July 16, 2007 12:49 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Bookmark > > Hi, > I'm t

Re: [iText-questions] XFA PDF Document level javascript

2007-07-16 Thread Jon Radon
FYI - I was able to fix this by using the stamper.getWriter() function and then using the returned writer to add an open action w/JavaScript. On 7/11/07, Jon Radon <[EMAIL PROTECTED]> wrote: Got it. It seems like Adobe documented the change in 7.x and then actually made the change in 8.x. It'

[iText-questions] Newbie help: adding "line" numbers

2007-07-16 Thread Richard Michael
Hello list, I have just discovered iText, and have been reading the docs and tutorials for an hour or so.. I'd like to add a column of numbers down the left margin of an existing PDF, providing reference numbers for reviewers and editors who are reading documents. I'm looking for any general adv

Re: [iText-questions] Where to get Certificates for PDF Signing: PKCS11 works

2007-07-16 Thread Martin Brunecky
Well, My other inquiries confirm that Adobe has made sure that their certificates (I mean the ones rooted in Adobe CA) are truly "trusted" - level 2 certificates. Hence, in products with a broad population of signed/certified document recipients, the VeriSign (formerly Geotrust) Adobe Certified Do

Re: [iText-questions] Itext font size vs Java swing font size

2007-07-16 Thread Bill Ensley
Java measures font in Pixels, iText measures them in Points (pixel * .75) will give you the proper Point size. Ie: 34 * .75 = 25.5 points. Conversely, Point / .75 will give you proper Pixel size. These measurements are based on 96ppi which is not always the case, but it is very common. -Bill E

Re: [iText-questions] Populate forms that do not use Acro Fields

2007-07-16 Thread William Alexander Segraves
- Original Message - From: "William Alexander Segraves" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Saturday, 14 July, 2007 5:33 PM Subject: Re: [iText-questions] Populate forms that do not use Acro Fields > - Original Message - > From: "scott carter"

Re: [iText-questions] Problem while digitally sighning pdf using IText.

2007-07-16 Thread linkjaya
Thanks for your prompt reply. I created self signed digital id in two differnent ways First by using command line keytool -genkey -keyalg RSA -alias jaya -keypass matrix -keystore keystore.ks when i use this key i got following exception java.io.IOException: DerInputStream.ge

Re: [iText-questions] Problem while digitally sighning pdf using IText.

2007-07-16 Thread Paulo Soares
If Acrobat can't sign using your file whay should iText be able to? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of linkjaya > Sent: Monday, July 16, 2007 1:05 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions

[iText-questions] Fw: Bookmark

2007-07-16 Thread Animesh Mondal
- Original Message - From: Animesh Mondal To: [EMAIL PROTECTED] Sent: Monday, July 16, 2007 4:52 PM Subject: Bookmark Hi, I'm trying two concatenate some pdf files into a single file and trying to create a bookmark to the section of each(constituent) pdf's starting portion. The sour

[iText-questions] Bookmark

2007-07-16 Thread Animesh Mondal
Hi, I\'m trying two concatenate some pdf files into a single file and trying to create a bookmark to the section of each(constituent) pdf\'s starting portion. The source pdfs have no bookmark. I\'m using PdfCopy writer object. I used concat_pdf.java from iText tutorial. The files being concatena

[iText-questions] How to use/install iTextSharp with C# Builder from Borland

2007-07-16 Thread ingo . schmoekel
Hi! Reading my older questions you know that i'm not really familiar with java ;-) I've decided trying iText with C#. Is there a guide anywhere online to see how to install iTextSharp in the C# Builder environment? Thanks a lot for your help. Best regards, Ingo -- This message was sent on beh

[iText-questions] Crop to trim while merging - newbie

2007-07-16 Thread Marcello Oddini
Hello, I am merging a number of PDFs (the single pages of a magazine) into files of a fixed amount of pages to print them in booklet format with the following code numBooklets48=numTotalPages/48; for (int i=1;i<=numBooklets48;i++) { strTemp = ("" + (1000+i)).substring(2); //rectangle contains t

Re: [iText-questions] GetImportedPage shrink problem

2007-07-16 Thread Paulo Soares
Depending on what you're trying to do it may be better to use PdfStamper. In any case, the page has a crop box that must be taken into account. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Sunday, July 15, 200

Re: [iText-questions] Problem while digitally sighning pdf using IText.

2007-07-16 Thread Paulo Soares
You'll be stuck forever if you don't provide more details. Where did you get the signature file from? Does it also fail if signing in Acrobat? What iText version are you using? What particular code are you using from http://itextpdf.sourceforge.net/howtosign.html? Paulo > -Original Message--

[iText-questions] Problem while digitally sighning pdf using IText.

2007-07-16 Thread linkjaya
Hello all, I want to add a digital signature in pdf file containing singature field using Itext. i did as given in http://itextpdf.sourceforge.net/howtosign.html. but i always get following exception while loading the signature file. java.io.IOException: DerInputStream.getLength(): lengthTag=1

[iText-questions] Itext font size vs Java swing font size

2007-07-16 Thread david allen
Hi all, I have a java swing applet that allows the user to enter some text into a JTextArea object. This text is eventually used to create a pdf file. However, in the JTextArea I have set the font size to something quite large like 34 otherwise it is too small to see in the JTextArea. If I use the

Re: [iText-questions] tables text and margin

2007-07-16 Thread Bruno Lowagie
Corwin noname wrote: How to get highest character to touch the top border of the cell? Is it possible to do that? I just checked the book and it should be setUseAscender instead of setAscender. I hope you already found this out yourself. In any case: reading chapter 6 of the book would have sav

Re: [iText-questions] tables text and margin

2007-07-16 Thread Bruno Lowagie
Corwin noname wrote: > How to get highest character to touch the top border of the cell? Is it > possible to do that? I assume you have used setDescender(true); (although you didn't say anything about the solution you were using), but did you setAscender(true); And what about the leading of the c

Re: [iText-questions] Reorder existing Document

2007-07-16 Thread Bruno Lowagie
Hubert Zwick wrote: > Hello! > > How can i reorder a existing Document? > The way "stamper.getWriter().reorderPages(order);" don't work! Of course not, that's for newly created documents. > is there a way to reorder a existing document? I'd use PdfReader, selectPages() and PdfStamper. There's a