[iText-questions] Chinese file name attachment - Chinese chars not appearing

2010-06-23 Thread ksanidas
I'm working on code that generates PDFs that will contain English, Thai, Japanese or Chinese characters. I downloaded the appropriate jars and all text in the PDF prints correctly using the FontSelector class. My problem is that attachments that contain Japanese or Chinese characters aren't

[iText-questions] Comments

2010-06-23 Thread Richard Hurst
IS it possibleto enablecomments or revisions in a PDF file from iText -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize

[iText-questions] Looking for a Technical Proofreader

2010-06-23 Thread Bruno Lowagie
Hello, Manning is looking for a technical proof reader for iText in Action 2E. That is: read the book to find out if there are technical errors, for instance the page X of Y error mentioned on the list last week. You'd also have to compile and try ALL the examples that come with the book.

Re: [iText-questions] Comments

2010-06-23 Thread Leonard Rosenthol
No - only from Adobe products. -Original Message- From: Richard Hurst [mailto:richard.hu...@creative-hosts.co.uk] Sent: Wednesday, June 23, 2010 12:05 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Comments IS it possibleto enablecomments or revisions in a PDF

Re: [iText-questions] Chinese file name attachment - Chinese chars not appearing

2010-06-23 Thread Leonard Rosenthol
You need to make sure that the attachment has a /UF key in the EF/FS dictionary. Leonard -Original Message- From: ksanidas [mailto:ksani...@gmail.com] Sent: Tuesday, June 22, 2010 10:36 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Chinese file name attachment

Re: [iText-questions] Hanging indentation in RTF

2010-06-23 Thread user7474
Mark Hall-6 wrote: Support for the firstLineIndent property in the Paragraph object has been added to the RtfWriter2. This means that using setIndentationLeft and setFirstIndentation you can produce paragraphs that look like this: aaa aa aa Hanging tabs / Hanging

Re: [iText-questions] remove watermark layer

2010-06-23 Thread jjalink
I narrowed it down to 4 code lines, and it still throws a NullPointerException on close line. if i remove the Map line, i just get a copy of the inFile. PdfReader reader = new PdfReader(inFile); PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(outFile));

Re: [iText-questions] remove watermark layer

2010-06-23 Thread Paulo Soares
What PDF are you using? Paulo -Original Message- From: jjalink [mailto:jaak...@syneron.com] Sent: Wednesday, June 23, 2010 9:25 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] remove watermark layer I narrowed it down to 4 code lines, and it still throws a

Re: [iText-questions] remove watermark layer

2010-06-23 Thread Jaakov Jalink
PDF version 1.4 - file attached -Original Message- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Wednesday, June 23, 2010 12:35 PM To: Post all your questions about iText here Subject: Re: [iText-questions] remove watermark layer What PDF are you using? Paulo -Original

Re: [iText-questions] [SPAM] Re: PAdES

2010-06-23 Thread mkl
Juraj, Juraj Majer wrote: Do you know, if I need to change (extend) IText source code to implement PAdES Part 3 and Part 4? Or just use existing IText API (PdfSignature, PdfDictionary etc.) in some way like the guy in the sample I already stated: After Leonard stated in this thread I

Re: [iText-questions] remove watermark layer

2010-06-23 Thread Jaakov Jalink
There is something wrong with the way I created the iText layers - I'll resolve it. Thanks anyway. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of

[iText-questions] how to change the height of a cell with itext in a RTF

2010-06-23 Thread christophe.isson
HHi, I'm trying to generate a table in an *RTF* document. I need to set the *height* of the table being generated. But I haven't found any API to set the *height* of an individual *cell*. i've tried this : cell.setLeading(0.1f) Can you please confirm if it is possible to set the *height* of

Re: [iText-questions] how to change the height of a cell with itext in a RTF

2010-06-23 Thread Danila Galimov
Hello Christophe, In newer version of iText where is a method com.itextpdf.text.pdf.PdfPCell#setFixedHeight, but I'm not sure if it exists in the version you're using. Danil Galimov Team Leader for eBusiness T-mobile UK Tel: +7 812 457-05-86 ex7504 Cell: +7 911 927-33-64 Fax: +7 812 327-98-65

Re: [iText-questions] how to change the height of a cell with itextin a RTF

2010-06-23 Thread christophe.isson
Hello I'm using iText-Rtf-2.1.7 I'm workin on a RTf doc and not a PDF doc. The setFixedHeight() function is not vailable with a RTf doc Thank you for your answer Christophe Danila Galimov a écrit : Hello Christophe, In newer version of iText where is a method

Re: [iText-questions] text in acrofield

2010-06-23 Thread 1T3XT info
lukasjob wrote: Hi everyone, I used a pdf template with a few AcroFields in my project, I have 3 AcroFields spanning the entire page one after the other containing some text, I need to justify the text to a fixed length, say if I want each line of text in the acrofield to be of size 150

Re: [iText-questions] text in acrofield

2010-06-23 Thread lukasjob
You're the man! I tried by setting the field font to curier and the size of the strings in the fields are all equal, problem is the rest of the pdf template is Verdana so I'm stuck to that, I'll look up the COMB property. I'll let you know, thanks a lot, Luca. -- View this message in context:

Re: [iText-questions] Spam: SVG Salamander does not support data URI schemein SVG images?

2010-06-23 Thread Mark Storer
I recommend you ask SVG-related questions on SVG-related lists. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; DisclaimerCardiff DisCard = null; -- ThinkGeek and WIRED's GeekDad

[iText-questions] Characters missing when using.pfm font

2010-06-23 Thread Werner Aernouts
Dear, I am construction a font from a .pfm file as it says in the book, i.e. font_normal_10 = new Font( BaseFont.createFont(C:\\Windows\\Fonts\\Sun5.pfm,,BaseFont.EMBEDDED), 10 ); When I add text using this font to the PDF, it works fine for most (ASCII) characters, but when I have

Re: [iText-questions] SVG Salamander does not support data URI schemein SVG images?

2010-06-23 Thread Mark Storer
The spam is just our idiot firewall jumping to incorrect conclusions. As for an SVG mailing list... http://tinyurl.com/24mqb9a It was trivially easy to find. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; DisclaimerCardiff DisCard = null; -Original

Re: [iText-questions] Characters missing when using.pfm font

2010-06-23 Thread Mark Storer
That empty string parameter in your createFont call is, I'll wager (yep), the desired encoding. The default is code page 1252 (WinAnsiEncoding, whatever you want to call it). It's a single-byte encoding that was the default on MS OS's for years. If you want access to every conceivable character

Re: [iText-questions] Characters missing when using.pfm font

2010-06-23 Thread Werner Aernouts
I tried using the Identity_H encoding before (having read somewhere that this should always work), but I got an error doing that ExceptionConverter: java.io.UnsupportedEncodingException: Identity-H at java.lang.StringCoding.encode(StringCoding.java:269) at

[iText-questions] iTextSharp to convert HTML to PDF with support of full formatting

2010-06-23 Thread Darshak Patel
Hello Team, I have used iTextSharp to convert HTML to PDF using below code Dim doc As New Document(PageSize.A4, 80, 50, 30, 65) Dim strFileName As String = HttpContext.Current.Server.MapPath(~/files/golf/test123.pdf) Dim writer As PdfWriter = PdfWriter.GetInstance(doc, New

Re: [iText-questions] Characters missing when using.pfm font

2010-06-23 Thread 1T3XT info
Werner Aernouts wrote: Dear, I am construction a font from a .pfm file as it says in the book, i.e. font_normal_10 = new Font( BaseFont.createFont(C:\\Windows\\Fonts\\Sun5.pfm,,BaseFont.EMBEDDED), 10 ); First a counter-question to rule out a possible problem: did you check if you

Re: [iText-questions] Characters missing when using.pfm font

2010-06-23 Thread 1T3XT info
Werner Aernouts wrote: I tried using the Identity_H encoding before (having read somewhere that this should always work), but I got an error doing that ExceptionConverter: java.io.UnsupportedEncodingException: That type 1 font doesn't support Unicode as encoding. That's normal. Anyway, I

Re: [iText-questions] Questions about migrating itext from 1.2 to 5.0

2010-06-23 Thread Ken11
Hi 1T3XT BVBA, Thanks very very much. It is really helpful of your reply. About the excel thing, it seems that itext can generate excel file. You can google out a lot of information for how to generate an excel file by itext. And of course I don't mean CSV. And the class com.lowagie.text.Table