[iText-questions] sign a PDF

2005-08-24 Thread Jens Kelkel
Hallo, I have sign a PDF with the following code: KeyStore ks = keyStore.getInstance(KeyStore.getDefaultType()); ks.load(new FileInputStream(keystore.ks),jenskelkel.toCharArray()); String alias = (String)ks.aliases().nextElement(); PrivateKey key = (PrivateKey)ks.getKey(alias,

[iText-questions] iText 1.3.3

2005-08-24 Thread bruno
Hello all, as promised yesterday, iText 1.3.3 was released today. A SelectedPages example was added, see http://www.lowagie.com/iText/toolbox.html to find out how to use it. There was a problem with PdfGraphics2D, I fixed it, but my fix may have broken some of the new 'very small fonts'

[iText-questions] security

2005-08-24 Thread Snake
I have been asked to install iText on a shared server, but it seems that it could potentially be unsafe to do so as I would imagine iText ha sthe ability to read/file files anywhere on the server seeing as java components are not affected by a security sandbox. Can anyone tell me if this

[iText-questions] iText and RTF

2005-08-24 Thread Dyego Souza Dantas Leal
I'm very happy with the easy of iText can create PDF document... I have a question... I'm trying to put one paragraph writen in RTF to my PDF document... the question is... exists any automatic way to put then ? or i have to code one converter of my rtf paragraph to iText PDF Style ? Tnks

[iText-questions] RE: Annotations in Reader Comment tab and MetaInfo (when converting html to pdf)

2005-08-24 Thread Ralf Hauser
Bruno, thx for the quick answer. ok, I did write the finished html-derived pdf into a file pdfFromHtmlFile and then PdfReader pr = new PdfReader(pdfFromHtmlFile.getAbsolutePath()); psa = new PdfStamper(pr, pdfWithMetaFos); HashMap moreInfo = new HashMap();

[iText-questions] Annotations

2005-08-24 Thread bruno
Ralf Hauser wrote: ok, I did write the finished html-derived pdf into a file pdfFromHtmlFile and then PdfReader pr = new PdfReader(pdfFromHtmlFile.getAbsolutePath()); psa = new PdfStamper(pr, pdfWithMetaFos); HashMap moreInfo = new HashMap(); moreInfo.put(Title,

Re: [iText-questions] iText and RTF

2005-08-24 Thread Mark Hall
On Wednesday 24 August 2005 14:07, Dyego Souza Dantas Leal wrote: I'm trying to put one paragraph writen in RTF to my PDF document... the question is... exists any automatic way to put then ? or i have to code one converter of my rtf paragraph to iText PDF Style ? I'm not quite sure if I

Re: [iText-questions] Determining PDF

2005-08-24 Thread Leonard Rosenthol
At 12:28 PM 8/24/2005, Guillermo L. Odone wrote: Is there any way to know if a pdf form was created with the acrobat designer or with acrobat writer ?? There is no product called Acrobat Writer - but I will assume you mean Adobe Acrobat Professional. The answer is sure -

RE: [iText-questions] Determining PDF

2005-08-24 Thread Guillermo L. Odone
Yes!! thats right! acrobat professional! Thanx! Guillermo! -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Leonard Rosenthol Enviado el: Wednesday, August 24, 2005 1:37 PM Para: Guillermo L. Odone; Itext-Questions Asunto: Re: [iText-questions] Determining PDF

[iText-questions] HTML - PDF java.lang.NoSuchMethodError:

2005-08-24 Thread prakar
Hello, I am trying to parse HTML to convert to PDF and after reading almost all posts regd. this on this list, I started using HTMLworker but I get exception on when I code reaches line worker.parse(stringReader); Initially, I thought that since the code is compiling, there must be some conflict

[iText-questions] Font width differences between PdfGraphics2D and awt

2005-08-24 Thread oscar 12321
Hello. I have written a class to write a PDF using PdfGraphics2D from DirectContent. I use the following code to get the String width: public float getStringWidth(Font font, String str) { g2.setFont(font); Rectangle2D textRect = g2.getFontMetrics().getStringBounds(str, g2); return

RE: [iText-questions] Font width differences between PdfGraphics2D and awt

2005-08-24 Thread Bill Ensley
I believe that fractional metrics are ON in the PDFGraphics2D try setting fraction metrics to ON in your dummy AWT BufferedImage. -Bill Ensley Bear PRinting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of oscar 12321 Sent: Wednesday, August 24, 2005

Re: [iText-questions] HTML - PDF java.lang.NoSuchMethodError:

2005-08-24 Thread Paulo Soares
You have a conflict. Look harder for an old iText in the classpath. - Original Message - From: prakar [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, August 24, 2005 9:54 PM Subject: [iText-questions] HTML - PDF java.lang.NoSuchMethodError: Hello, I am

[iText-questions] Problem with OTF CJK Font Embedding

2005-08-24 Thread 熊田貢
Hello all, I have a problem with OTF CJK Font Embedding. My iText version is itext-paulo-153. OTF font I am using is KozMinPro-Regular-Acro.otf which comes with Acrobat. My code creating BaseFont is: BaseFont myOtfFont = BaseFont.createFont(

[iText-questions] mail

2005-08-24 Thread Patrick Janssen
Help Is it possible to add a 'mailto:' link with ItextI added some email-adresses in a table. I want the user to be able to click on them, after wich the email-client is started.RegardsPatrick Janssen