Re: [iText-questions] OutOfMemoryError writing rtf

2004-10-19 Thread Mark Hall
On Tuesday 19 October 2004 15:50, [EMAIL PROTECTED] wrote: > The following code throws the java.lang.OutOfMemoryError. > The purpose of the code is to insert the images from the specified folder > into the RTF file. > Note that if I change the writer to the PdfWriter all works fine. > The images ar

Re: Fwd: [iText-questions] How to set Chinese font when generating Rtf files with iText?

2004-10-19 Thread Mark Hall
On Tuesday 19 October 2004 19:43, Wang Yifeng wrote: > I've trace the runtime of iText RtfWriter. And I've > found the root reason:when writing the font family > into the rtf output file, iText just write the raw > text of the font family name. It is fine when the font > family name is in latins bu

Re: [iText-questions] default row height

2004-10-19 Thread Steve Appling
Not exactly what you asked (because it's not the default setting), but if you use setUseAscender(true), setUseBorderPadding(true), and setUseDescender(true), then the row will be "max font extent" + padding-top + padding-bottom + top border width, + bottom border width "max font extent" is the t

Re: [iText-questions] default row height

2004-10-19 Thread Paulo Soares
Leading + padding-top + padding-bottom - Original Message - From: "Mayank Mishra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 19, 2004 20:28 Subject: [iText-questions] default row height > Assuming a row with just one cell containing one word of text ,what will b

[iText-questions] I need to replace the black bullet to black square into ul tag

2004-10-19 Thread Rémi Guilbert
Hi, I need to replace the black bullet to black square into ul tag.  The character use to black bullet is \u2022.  Do you know what is code that I could add into SimpleXMLParser to black square ?  I didn't find a square one inside this class. Thank's !! Rémi  

[iText-questions] Document has no Pages

2004-10-19 Thread Gilberto Sousa
Hi,   I´m trying everything but when I run the method in the local application server (OC4J) it works fine, but when I try to run the same method in the Oracle 9i Application Server I get the error "document has no pages". I read that it might be a version problem, but i´m working with versi

[iText-questions] default row height

2004-10-19 Thread Mayank Mishra
Assuming a row with just one cell containing one word of text ,what will be the height of the row by default in terms of other variables? eg:row-height = font-sz + padding-top + padding-bottom + --- This SF.net email is sponsored by: IT

[iText-questions] Re: nested tables and colspans

2004-10-19 Thread Mayank Mishra
Yes The problem goes away with PdfPXXX components. --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Cer

[iText-questions] nested tables and colspans

2004-10-19 Thread cheeser
When i nest a Table in a Table, it seems to screw up the colspans (as in, ignores them). Do I need to use a PdfPTable instead? --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell

Re: [iText-questions] paragraph

2004-10-19 Thread Paulo Soares
Use ColumnText. - Original Message - From: "tom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 19, 2004 15:27 Subject: [iText-questions] paragraph > Hello, > > I was going through the tutorial chapter 2 on chunks and paragraph. I > understand how it work and all bu

Fwd: [iText-questions] How to set Chinese font when generating Rtf files with iText?

2004-10-19 Thread Wang Yifeng
How can I convert strings to the ASCII format used in RTF docs? I've trace the runtime of iText RtfWriter. And I've found the root reason:when writing the font family into the rtf output file, iText just write the raw text of the font family name. It is fine when the font family name is in latins b

[iText-questions] How can i decrease CPU load when parsing XML templates?

2004-10-19 Thread Dieter Melnizky
Hi! We are using iText in an J2EE environment to create PDFs from a XML template. We watched the system and found out that iText produces a 100% load on the CPU and sometimes it takes several minutes to complete the task. At local tests, the document is created within ~10secs, but in parallel exe

[iText-questions] paragraph

2004-10-19 Thread tom
Hello, I was going through the tutorial chapter 2 on chunks and paragraph. I understand how it work and all but one thing it did not mention is how to position the paragraph. For example, if I want to place the chunk or the paragraph 40 points from top and 40 points from left. How do I do th

RE: [iText-questions] Unsigned Signature Block

2004-10-19 Thread Paulo Soares
Change the field type to /Sig and delete the value and appearances. You can have access to the field dictionaries from AcroFields.   Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tzeremes, Vasilios (Mission Systems)Sent: Tuesday, Oc

[iText-questions] Unsigned Signature Block

2004-10-19 Thread Tzeremes, Vasilios (Mission Systems)
Hi, I am using xsl to create a PDF file.  Then I want to modify one field created in the PDF to an unsigned signature block. Does anyone have any idea how to do that with IText.   Thanks in advance,     Vasilios

[iText-questions] OutOfMemoryError writing rtf

2004-10-19 Thread dzioon
Hello iText kins. The following code throws the java.lang.OutOfMemoryError. The purpose of the code is to insert the images from the specified folder into the RTF file. Note that if I change the writer to the PdfWriter all works fine. The images are jpg images. The average image size is 1 Mb. Anybo

[iText-questions] How to set Chinese font when generating Rtf files with iText?

2004-10-19 Thread Wang Yifeng
Hi, all I'm using iText to generate both pdf and rtf files. I'm Chinese and I'm really appreciate that iText has offered a sloution to generate PDF files with asian languages. But when dealing with rtf, I can't find a similar solution. I've tried the way we do with PDF but it didn't work. And I'v

[iText-questions] How to set Chinese font when generating Rtf files with iText?

2004-10-19 Thread Wang Yifeng
Hi, all I'm using iText to generate both pdf and rtf files. I'm Chinese and I'm really appreciate that iText has offered a sloution to generate PDF files with asian languages. But when dealing with rtf, I can't find a similar solution. I've tried the way we do with PDF but it didn't work. And I'v

RE: [iText-questions] Itext number of pages...

2004-10-19 Thread Paulo Soares
See the tutorial and also the example headers_and_watermarks.java at http://itextpdf.sf.net. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrea BertoliSent: Monday, October 18, 2004 9:09 PMTo: [EMAIL PROTECTED]Subject: [iText-questions] Itext number of

RE: [iText-questions] Rowspan in PdfPCell

2004-10-19 Thread Paulo Soares
Use nested tables. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Anu > Sent: Monday, October 18, 2004 10:20 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Rowspan in PdfPCell > > Hi, > > I am using PdfP*** to generate tables. I have th

RE: [iText-questions] Acrobat Reader version compactiblity

2004-10-19 Thread Paulo Soares
Yes. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Balaji > Sent: Monday, October 18, 2004 7:54 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Acrobat Reader version compactiblity > > Is these PDF generated from iText is compactable

[iText-questions] Acrobat Reader version compactiblity

2004-10-19 Thread Balaji
Is these PDF generated from iText is compactable to Acrobat Reader 4.0+ and higher. --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your O

[iText-questions] Rowspan in PdfPCell

2004-10-19 Thread Anu
Hi, I am using PdfP*** to generate tables. I have the need to be able to set the rowspan and colspan on a cell. I have seen examples to demonstrate this using Table and Cell objects, but could not find rowSpan in PdfP** objects. Is there any other way to achieve this without rowspan? Any help

[iText-questions] Itext number of pages...

2004-10-19 Thread Andrea Bertoli
i have some problems generating dinamically pdfs with itext... i have to put the number of pages (something like... "page x of y") but i don't know how can i do that here i post my example of pdf generation...   public static void makePdf(String model, PdfListForm list, OutputStream stream)

RE: [iText-questions] Add a checksum in a pdf

2004-10-19 Thread Guillaume Allée
Thanks for your answer. If someone has already done that with itext, let me know ! Le lun 18/10/2004 à 13:41, Leonard Rosenthol a écrit : > At 04:14 AM 10/18/2004, Guillaume Allée wrote: > >I have 2 pdf files: > > - certified.pdf (which has been certified using adobe professional) > >

[iText-questions] remarks about program sources . lines of code which seem to do nothing. dead code

2004-10-19 Thread h4
Hello, I do not know if this is the right place to submit remarks about lines of code which seem to do nothing. Example from itext-paulo-139.zip: in ColumnText.java: public void setSimpleColumn(float llx, float lly, float urx, float ury) { /*1*/ float leftLine[] = new float[4]; /*2*/

RE: [iText-questions] Re: cellWidths and RowHeights

2004-10-19 Thread Paulo Soares
You'll need a different table for each row or increase the number of columns and play with colspan. Best Regards, Paulo Soares > -Original Message- > From: Mayank Mishra [mailto:[EMAIL PROTECTED] > Sent: Monday, October 18, 2004 6:45 PM > To: Paulo Soares > Cc: [EMAIL PROTECTED] > Subje