[iText-questions] Error in Chapter object!

2007-07-20 Thread Eric Summkeller
First I create two Phrase objects with different Fonts. The first created Phrase has a bold Font and the second not. After that I add those both Phrase objects into a Paragraph. I create the Paragraph object with the first Font because I would like to create a Chapter out of this Paragraph and

Re: [iText-questions] Error in Chapter object!

2007-07-20 Thread mister bean
If you look at this code of yours with fresh eyes, I think you'll discover a problem: ... Phrase phrase2 = new Phrase(); phrase1.add(chunk2); par.add(phrase1); par.add(phrase2); ... Phrase2 is empty. Try adding chunk2 to phrase2 and see if the problem goes away. Best wishes, ---Mister Bean

[iText-questions] Multi-Line Text Alignment

2007-07-20 Thread Dennis Racine
Ok, this seems to be a wide spread problem, I'd I'd love to find a solution. It seems that if you have a multi-line text field in your PDF and populate + flatten it the text ends up moving UP about 4-6 pixels from it's original position. In my case my customer has drawn horizontal lines in

Re: [iText-questions] Multi-Line Text Alignment

2007-07-20 Thread Paulo Soares
http://itext.ugent.be/library/question.php?id=54 Paulo - Original Message - From: Dennis Racine [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Thursday, July 19, 2007 11:21 PM Subject: [iText-questions] Multi-Line Text Alignment Ok, this seems to be a wide spread

Re: [iText-questions] Error in Chapter object!

2007-07-20 Thread Eric Summkeller
First thanks for your help! I fixed the bug in my code, but the effect is still the same. The second Phrase in the Paragraph is written in bold although it is not formatted in bold. Any other ideas what I could do? -

[iText-questions] PdfAction

2007-07-20 Thread Francesco Persico
i am tring to add an PdfAction o DOCUMENT_CLOSE this is my snipplet: public static void main(String[] args) { System.out.println(Hello World); // step 1: creation of a document-object Document document = new Document(); try { // step 2:

Re: [iText-questions] iText-questions Digest, Vol 14, Issue 46

2007-07-20 Thread Satyajeet Hattangadi
Hi, Doesn't anybody know how to do this, or am I asking some obvious question that's been asked before.. sorry if that's the case. I'm trying to find out a way to add some javascript to an existing pdf file that will open up an alert as well as open up a url in the users browser when the pdf

[iText-questions] Manipulation of a Cell's Height

2007-07-20 Thread Lars Nagel (Trium)
Hi all, Is it possible to set / manipulate the height of a Table's Cell? I have Cells containing one Phrase each, and some of the Phrases (and complete rows) wrap only empty Strings. Now I want to avoid that Cells with empty Phrases collapse. Have you any idea? Thanks in advance, Lars

Re: [iText-questions] Multi-Line Text Alignment

2007-07-20 Thread Dennis Racine
awesome, a huge step in the right direction. i think this is what i need to dynamically apply the setExtraMargin to only the multi-line fields. Now my problem is i'm using coldfusion to do this, and I'm not real sure how to convert this to a CFSCRIPT anyone out there have CF background can