Re: [iText-questions] Different fonts in one table cell

2007-11-20 Thread Friedhelm
Hi Alexis, thanks, that works great! - Friedhelm Hi Friedhelm, On 20/11/2007, Friedhelm <[EMAIL PROTECTED]> wrote: Is it possible to use 2 different fonts in one cell to get something like This word is bold (bold should be in bold style) I have added to phra

[iText-questions] link update

2007-11-20 Thread d2l
Hello, Is that possible that I open a pdf file and then get the existing links (only urls and paths) as some object (like Anchor or something else) and then I update them to my new urls and paths and then create the same pdf file with the new urls and paths? I am new to iText; so any help or sug

Re: [iText-questions] Read signature

2007-11-20 Thread Paulo Soares
- Original Message - From: "Gianluca Masina" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 20, 2007 7:56 PM Subject: [iText-questions] Read signature > Dear sourceforge, > i would verify a sign by a Java agent in Lotus Domino 6. > When i call verifySignature (field_name) it generate

Re: [iText-questions] Adding PDFAction - Javascript to Bookmarks

2007-11-20 Thread Quintana Maldonado, Rafael
I hope this is useful for you // for "onOpen" event try: stamp.addJavaScript(jswp); //for "onWillPrint" event try: pdfwriter.setAdditionalAction(PdfName.WP,PdfAction.javaScript(jswp,pdfwr iter)); // where // stamp is a PdfStamper // pdfwriter is the write obtained with getWriter() meth

Re: [iText-questions] Dynamic pdf and forms

2007-11-20 Thread Scott Dunbar
I was only able to do it by "fiddling with the dom". My requirements are to support PDF 1.6 and PDF 1.7 dynamic and static forms and to take XDP data from a submitted form and merge it into a PDF. The way I did that was to handle either the "old" way with mergeXfaData() (PDF 1.6 dynamic and s

[iText-questions] Dynamic pdf and forms

2007-11-20 Thread Erik Pearson
Hi, I'm wondering if anyone could provide pointers or working examples of using iText with a dynamic pdf 1.7 form produced by LiveCycle. I've managed to stumble into updating the pdf the point where I've inserted a value tag for an empty field, which I can see afterward in the new, modified pdf, bu

[iText-questions] Read signature

2007-11-20 Thread Gianluca Masina
Dear sourceforge, i would verify a sign by a Java agent in Lotus Domino 6. When i call verifySignature (field_name) it generate this exception: "java.security.NoSuchAlgorithmException: SHA1with1.2.840.113549.1.1.5 Signature not available" When i using latest itext jar version, the compiler genera

[iText-questions] Adding PDFAction - Javascript to Bookmarks

2007-11-20 Thread CAIRNS Robert -NUCLEAR
I have an existing PDF file with bookmarks. I want to add bookmarks to it, but the action for the bookmarks is JavaScript. The SimpleBookmark class associated with PDFStamper does not appear to support adding JavaScript. The bookmark examples from the book using PDFWriter look like they only work

Re: [iText-questions] FDF and Unicode

2007-11-20 Thread Leonard Rosenthol
So would I, since I asked our Forms team about it and they responded: There is an /Encoding key in the FDF dictionary. See implementation note # 129: “The only Encoding value supported by Acrobat 4.0 is Shift−JIS. Acrobat 5.0 supports Shift−JIS, UHC, GBK, and BigFive. If any other value is

Re: [iText-questions] Different fonts in one table cell

2007-11-20 Thread Alexis Pigeon
Hi Friedhelm, On 20/11/2007, Friedhelm <[EMAIL PROTECTED]> wrote: > > Is it possible to use 2 different fonts in one cell to get something like > > This word is bold (bold should be in bold style) > > I have added to phrases with different fonts to a table, but the resulting > cel

Re: [iText-questions] BaseFont.getWidths()

2007-11-20 Thread Paulo Soares
Everything in iText is in points. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Roger Misteli > Sent: Tuesday, November 20, 2007 12:56 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] BaseFont.getWidths

[iText-questions] Different fonts in one table cell

2007-11-20 Thread Friedhelm
Is it possible to use 2 different fonts in one cell to get something like This word is bold               (bold should be in bold style) I have added to phrases with different fonts to a table, but the resulting cell had 2 lines This word is bold Is there any other approach? ---

Re: [iText-questions] BaseFont.getWidths()

2007-11-20 Thread Roger Misteli
Thanks.. but in what unit are they returned? ColumnText.getWidth() doesn't state any unit.. Paulo Soares wrote: > BaseFont.getWidthPoint() or ColumnText.getWidth(). > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Roger Misteli

Re: [iText-questions] Reset Total Page number

2007-11-20 Thread Alexis Pigeon
On 20/11/2007, YOUSFI Khaled <[EMAIL PROTECTED]> wrote: > > Thank you very much. > > I'll try that. You're welcome. But please don't reply to me personnally, better reply to the mailing list instead. alexis - This SF.net ema

Re: [iText-questions] Reset Total Page number

2007-11-20 Thread Alexis Pigeon
Hi Khaled, On 20/11/2007, YOUSFI Khaled <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'd like to know if it possible to reset the total page number of a PDF > document. > > Suppose that we have a list of 3 paragraphs. > - 1st paragraph (2 pages) > - 2nd paragraph (3 pages) > -

Re: [iText-questions] BaseFont.getWidths()

2007-11-20 Thread Paulo Soares
BaseFont.getWidthPoint() or ColumnText.getWidth(). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Roger Misteli > Sent: Tuesday, November 20, 2007 12:26 PM > To: iText > Subject: [iText-questions] BaseFont.getWidths() > > Hiyas > > How

[iText-questions] BaseFont.getWidths()

2007-11-20 Thread Roger Misteli
Hiyas How can I determine the width of a given String using a specific either com.lowagie.text.Font or com.lowagie.text.BaseFont? Is this possible? Basically, all I want is to determine the width if a specific string using a specific font.. Best regards, Rog -- * The best is the enemy

Re: [iText-questions] FDF and Unicode

2007-11-20 Thread Paulo Soares
I would like to see that FDF. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie (iText) > Sent: Tuesday, November 20, 2007 10:32 AM > To: Post all your questions about iText here > Subject: [iText-questions] FDF and Unicode >

[iText-questions] Reset Total Page number

2007-11-20 Thread YOUSFI Khaled
Hi all, I'd like to know if it possible to reset the total page number of a PDF document. Suppose that we have a list of 3 paragraphs. - 1st paragraph (2 pages) - 2nd paragraph (3 pages) - 3rd paragraph (1 page) Is it possible to have: Page 1/2, Page 2/2, Page 1/3,

Re: [iText-questions] Converting blacK to CMY

2007-11-20 Thread Erik Ahlner
Hello, Thanks for your hints! Much appreciated. I'm in the pre-phase of this project, and not about to begin coding right now. However, this information will be very handy when the time comes. :) Leonard Rosenthol wrote: > Cool! > > OK - you COULD do this with iText, but it would involve usin

Re: [iText-questions] Converting blacK to CMY

2007-11-20 Thread Leonard Rosenthol
Cool! OK - you COULD do this with iText, but it would involve using the low level stream parser to find the CMYK operators, changing them as necessary, and ten putting them back. Of course, that will only work for vector and text in CMYK. For images, you'd need to find the CMYK images (

Re: [iText-questions] fill out a pdf form

2007-11-20 Thread Bruno Lowagie (iText)
araujo.guntin wrote: > I need to read from the fields in a PDF document and save this information > in the database. That's one part of your project: you have an existing PDF with either an AcroForm or an XFA form. It's fairly easy to get the values of the fields. You won't even notice if the fiel

[iText-questions] FDF and Unicode

2007-11-20 Thread Bruno Lowagie (iText)
Hello all, I received a question concerning FDF and Unicode on the Manning Author Online forum. I don't have any experience (yet) in this area, so I'd be happy if somebody could have a look: http://www.manning-sandbox.com/thread.jspa?forumID=267&threadID=21647 br, Bruno -

Re: [iText-questions] How to split a large table (too many columns and too many rows) onto many pages

2007-11-20 Thread Peter Hild
Thanks for your help, Paulo. Best regards Peter Paulo Soares wrote: > > > - Original Message - > From: "Peter Hild" <[EMAIL PROTECTED]> > To: > Sent: Monday, November 19, 2007 5:42 PM > Subject: Re: [iText-questions] How to split a large table (too many > columns > and too many ro

Re: [iText-questions] Creation of PDF/A PDF's

2007-11-20 Thread Foris Zoltan
As the first version of the conversion utility I think that it is enough to create a PDF which conforms to the PDF/A standard. Further optimizations will be done after the PDF/A syntaxt is correct. Leonard Rosenthol wrote: > > The way to solve transparency for content stream elements is to > f

Re: [iText-questions] fill out a pdf form

2007-11-20 Thread araujo.guntin
Hi, As I told you, I'm beginning with the iText API and this is my first project with PDF files. I'm sorry by my Ignorance. I've continued reading your book to understand better how I could reach my goal. I need to read from the fields in a PDF document and save this information in the database

Re: [iText-questions] iText:PdfReader page count issue with adobereader 8.x?

2007-11-20 Thread Paulo Soares
Assuming that it's a PDF this is usually sign of garbage appended at the end, not that unsuall with web PDFs. Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, November 19, 2007 8:51 PM Subject: [iText-questions] iText:PdfReader page count issue with adobereader 8

[iText-questions] RE : Re: Microsoft : WMF integration in iTextSharp

2007-11-20 Thread valerie marc
Hello, I tried the new variable Document.wmfFontCorrection, but sometimes I need to set it to 0.98 and sometimes to 1 ... By changing the value of the constant, the text that I have put in bold or italics is sometimes too close to the rest of the text, and sometimes there is too much space .

Re: [iText-questions] IText question

2007-11-20 Thread Bruno Lowagie (iText)
[EMAIL PROTECTED] wrote: > > Hello, > > I am wondering if IText can convert a Postscript file to a PDF file. > I will be using Java to do this, if possible. We had some EPS to PDF code in one of the older versions of iText, but that part was removed because of an issue with license ambiguity: ac

Re: [iText-questions] getting crisp image inside header

2007-11-20 Thread Bruno Lowagie (iText)
Elias wrote: > I have a servlet application that I am generating letters from using itext. > Now I need to put an image inside a header and having problem getting the > image to show as crisp as if it was in a microsoft word header. For now I > just used the document.add(image) approach, where imag

Re: [iText-questions] Commercial License Query

2007-11-20 Thread Bruno Lowagie (iText)
Liam Robertson wrote: > Let me know when you can. FYI: I've answered this question privately. br, Bruno - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com