Re: [iText-questions] itext read rtf document

2005-08-19 Thread Mark Hall
On Thursday 18 August 2005 12:34, [EMAIL PROTECTED] wrote: > Can itext read rtf document? Who can give me an example? No. Rtf reading is not supported. You might want to try the Jakarta POI project. Greetings, Mark -- You are confused; but this is your normal state. My GPG public key is availab

Re: [iText-questions] Re: Writing RTF Doc progressevly

2005-08-19 Thread Mark Hall
On Friday 19 August 2005 16:09, Valentin Baudot wrote: > What is it supposed to do? The document object is still big in memory... > Perhaps I don't correctly use it. > Moreover, I have a very big chapter (several hundred pages) and when I add > it to the document by using the add method, it takes m

Re: [iText-questions] RTF, table in percent and margin

2005-08-19 Thread Mark Hall
On Friday 19 August 2005 18:21, Paulo Soares wrote: > This is a bug posted in the itextsharp tracker but if it's true it also > applies to Java. I've applied the fix, thanks. Greetings, Mark -- A light wife doth make a heavy husband. -- Wm. Shakespeare, "The Merchant of Venice" My GPG public k

Re: [iText-questions] Extract pages from an existing PDF

2005-08-19 Thread Bruno Lowagie
Paulo Soares wrote: PdfReader.selectPages() is working only in the CVS. Just a warning. I wasn't aware of that (I update my local version of iText daily). Thanks. I see there's a lot of new stuff. 'll probably make a new release next week. br, Bruno --

Re: [iText-questions] Re: Writing RTF Doc progressevly

2005-08-19 Thread Bruno Lowagie
Valentin Baudot wrote: Moreover, I have a very big chapter (several hundred pages) Chapter is not a memory-friendly object. If you really have large chapters, you should try alternatives. br, Bruno --- SF.Net email is Sponsored by the Bette

Re: [iText-questions] How to show images via servlet response? Also able to place a table via absolute position?

2005-08-19 Thread Bruno Lowagie
Pavan Kumar Yeluri wrote: Hi Everyone, I am trying to render a pdf with the text and now image objects via servlet. HttpServletResponse res = request.getServletResponse(true); res.setContentType("application/pdf"); PdfWriter.getInstance(document, res.getOutputStream()); This should work

[iText-questions] RTF, table in percent and margin

2005-08-19 Thread Paulo Soares
This is a bug posted in the itextsharp tracker but if it's true it also applies to Java. Original message follows: When you use left or/and right margin and a 100% table, the margin aren't be used in RTF table calculation. For this problème, redefine RtfWriter.cs in line 1447, replace rtfTable.

RE: [iText-questions] Extract pages from an existing PDF

2005-08-19 Thread Paulo Soares
PdfReader.selectPages() is working only in the CVS. Just a warning. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie > Sent: Friday, August 19, 2005 5:15 PM > To: Beppe Costagliola; 'itext-questions@lists.sourceforge.net' > Subject:

Re: [iText-questions] Extract pages from an existing PDF

2005-08-19 Thread Bruno Lowagie
Beppe Costagliola wrote: I have a PDF that contains 100 pages (approx.) and I would like to programmatically extract a certain number of pages into a new document. Is it possible ? Yes, using PdfCopy and take a look at this too: http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfReader

[iText-questions] Extract pages from an existing PDF

2005-08-19 Thread Beppe Costagliola
I have a PDF that contains 100 pages (approx.) and I would like to programmatically extract a certain number of pages into a new document. Is it possible ? Thanks. Beppe Costagliola. 

Re: [iText-questions] Special ASCII characters disappear

2005-08-19 Thread Philip Newton
On 8/19/05, Dave Bender <[EMAIL PROTECTED]> wrote: > I'm having trouble getting non-alpha-numeric characters to show up in my > PDF. My application is picking up certain Web pages and outputting them to > PDF with iText. I've got a method (code below) that converts all the > numbered entity tags

[iText-questions] Adding aparence informatio into PDF

2005-08-19 Thread Juan Sanchez
Hi Paulo. A lot of thanks for all responses that I received during last days. I have advanced a lot in my work with your help. Can you give me some information about this problem reported. How can i resolve it ? From: "Juan Sanchez" <[EMAIL PROTECTED]> To: itext-questions@lists.sourcefo

Re: [iText-questions] iText

2005-08-19 Thread Philip Newton
On 8/18/05, Eng. Mohammad Al Er <[EMAIL PROTECTED]> wrote: > > Is iText a free java library? So I can use it free? Please see the FAQ: http://www.lowagie.com/iText/faq.html#free > And who is responsible for the support.. http://www.lowagie.com/iText/faq.html#support -- Philip Newton

[iText-questions] How to show images via servlet response? Also able to place a table via absolute position?

2005-08-19 Thread Pavan Kumar Yeluri
Hi Everyone,   I am trying to render a pdf with the text and now image objects via servlet.   HttpServletResponse res = request.getServletResponse(true);res.setContentType("application/pdf");PdfWriter.getInstance(document, res.getOutputStream());   But, i am getting file damaged and cannot be corre

RE: [iText-questions] verifyiing signatures

2005-08-19 Thread Paulo Soares
See the source of AcroFields.updateByteRange(). > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Juan Sanchez > Sent: Friday, August 19, 2005 3:43 PM > To: itext-questions@lists.sourceforge.net > Subject: RE: [iText-questions] verifyiing signature

RE: [iText-questions] verifyiing signatures

2005-08-19 Thread Juan Sanchez
Hi . I can verify attached signatures obtaining content as follow : String name = (String)names.get(k); PdfDictionary dic = af.getSignatureDictionary(name); PdfObject obj = dic.get(PdfName.CONTENTS) ; // call to my function to verify firma = verifyPKCS7(obj.getBytes()); About my initial query

[iText-questions] Re: Writing RTF Doc progressevly

2005-08-19 Thread Valentin Baudot
What is it supposed to do? The document object is still big in memory... Perhaps I don't correctly use it. Moreover, I have a very big chapter (several hundred pages) and when I add it to the document by using the add method, it takes more than 1200MB in memory (I got an "out of memory" at this

[iText-questions] tutorials for download

2005-08-19 Thread zgueney
hi, i have found a tutorial on the following page: http://itextdocs.lowagie.com/tutorial/ My Question: does a download-file exists, which includes all the tutorials, so that i dont need to be online? bye --- SF.Net email is Sponsored by t

Re: [iText-questions] Creating Bullet in RTF

2005-08-19 Thread Mark Hall
On Thursday 18 August 2005 15:44, Jonathan wrote: > Hi, I'm trying to put bullet in a list ( 0086 in hex wingdings) and > when i try my code, I have a big dot. not what it suppose to be. When > I try FancyList in itext example, I can't made it work, I have only > number, no bullet. My document is a

RE: [iText-questions] Special ASCII characters disappear

2005-08-19 Thread Paulo Soares
ASCII characters only go up to 127. Check your font characters. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dave Bender > Sent: Friday, August 19, 2005 1:39 PM > To: [EMAIL PROTECTED] Sourceforge. Net > Subject: [iText-questions] Special ASCI

Re: [iText-questions] Reading text on pdf and getting its co-ordinates

2005-08-19 Thread Krishna Kishore .J
Hi Bruno, Thats good one. Thanks Krishna Kishore - Original Message - From: "bruno" <[EMAIL PROTECTED]> To: "Krishna Kishore .J" <[EMAIL PROTECTED]> Cc: Sent: Friday, August 19, 2005 6:08 PM Subject: Re: [iText-questions] Reading text on pdf and getting its co-ordinates > Krishna Kish

Re: [iText-questions] Reading text on pdf and getting its co-ordinates

2005-08-19 Thread bruno
Krishna Kishore .J wrote: I am not trying to edit the text on pdf, rather i am trying to extract the text and its co-ordinates on one pdf and write this text at the same co-ordinates on the other pdf. Same difference. Can you suggest a way to achieve this. Let me ask you a question: yo

[iText-questions] Special ASCII characters disappear

2005-08-19 Thread Dave Bender
I'm having trouble getting non-alpha-numeric characters to show up in my PDF. My application is picking up certain Web pages and outputting them to PDF with iText. I've got a method (code below) that converts all the numbered entity tags, like "—", to their ASCII equivalent. Debugging shows th

Re: [iText-questions] Reading text on pdf and getting its co-ordinates

2005-08-19 Thread Krishna Kishore .J
Hi Bruno, Thanks for your reply. I feel i am not able to present my problem clearly. I am not trying to edit the text on pdf, rather i am trying to extract the text and its co-ordinates on one pdf and write this text at the same co-ordinates on the other pdf. Can you suggest a way to achieve th

Re: [iText-questions] Reading text on pdf and getting its co-ordinates

2005-08-19 Thread bruno
Krishna Kishore .J wrote: 1. read the text (to be placed after the table) from the input pdf. 2. get the x-co-ordinate of the text (to be placed after the table) from the input pdf Can any one suggest a solution to achive this using iText. No, this can't be done. You are using PDF as

Re: [iText-questions] Removing String Objects

2005-08-19 Thread bruno
Leonard Rosenthol wrote: At 03:16 AM 8/19/2005, Youssef Eldakar wrote: Strings as in textual content. No, iText doesn't do content. com.lowagie.text.pdf.PRTokeniser does, but it's not that simple to use it. You have to know a lot about PDF syntax: read the content stream of a page

[iText-questions] Reading text on pdf and getting its co-ordinates

2005-08-19 Thread Krishna Kishore .J
Hello All,   I have an issue ,which i am working for long.   I am using an input pdf ,reading it and populating form fields,tables and text on another pdf (output pdf).   Ex code:    PdfReader reader = new PdfReader(INPUT_FILENAME); PdfStamper stamp = stamp = new PdfStamper(reader, new FileO

RE: [iText-questions] Removing String Objects

2005-08-19 Thread Leonard Rosenthol
At 03:16 AM 8/19/2005, Youssef Eldakar wrote: Strings as in textual content. No, iText doesn't do content. Leonard --- Leonard Rosenthol Chief Technical Offic

RE: [iText-questions] Font rendering problem with Graphics2D and large scale factors

2005-08-19 Thread Paulo Soares
I've no idea what's going on. I create a dummy BufferedImage to create the FontMetrics so, it's all internal to the jdk. I noticed that I was not using fractional metrics there but after changing it the result was the same. I'm out of options. > -Original Message- > From: [EMAIL PROTECTED

[iText-questions] verifyiing signatures

2005-08-19 Thread Juan Sanchez
Hi to all. I'm very grateful with your toolkits. If I know the name of signature in the PDF , how can I get contents and byterange that I signed ? I want to use this info to verify signature with my property tools, I need data signed and pkcs7 (contents) ? Best regards.

RE: [iText-questions] Writing RTF Doc progressevly

2005-08-19 Thread Paulo Soares
You can generate it to a file with PdfWriter2.setDataCacheStyle(RtfDataCache.CACHE_DISK). > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Valentin Baudot > Sent: Friday, August 19, 2005 10:14 AM > To: itext-questions@lists.sourceforge.net > Subj

RE: [iText-questions] Trouble embedding fonts on the server-side

2005-08-19 Thread Paulo Soares
> -Original Message- > From: Michael Baranov [mailto:[EMAIL PROTECTED] > Sent: Friday, August 19, 2005 7:21 AM > To: Paulo Soares > Subject: Re: [iText-questions] Trouble embedding fonts on the > server-side > > Dear Paulo, > > The name of the fonts installed in the system does not

[iText-questions] Writing RTF Doc progressevly

2005-08-19 Thread Valentin Baudot
Hi, I would like to know if it is possible to write a RTF doc with the flight and not at the end when close method is called on the rtfWriter2 object. My problem is that I want to generate a very heavy rtf doc (up to thousands pages) and I'm running out of memory... So if I could progressively

[iText-questions] Image ExceptionConverter

2005-08-19 Thread Nicolas
Hi, I am in a web application context. User can click a button to get a report as a pdf file. My pdf contains some images. The first time i click the button, my pdf is generated perfectly but all the next time i click the export button i have a "DocumentException: ExceptionConverter: java.lang

RE: [iText-questions] HTML Special Character Code not working with HTMLWorker !!!!

2005-08-19 Thread Paulo Soares
You are missing the semi-colon. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of sunil rajput > Sent: Friday, August 19, 2005 10:21 AM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] HTML Special Character Code not > wor

[iText-questions] HTML Special Character Code not working with HTMLWorker !!!!

2005-08-19 Thread sunil rajput
hi,i have written simple code using the HTML , where i m using the HTML Special Character ' which is " ' " (Single Quote ) character.   but it is not converting that HTML Code to its Symbol. do i need to do any other settings for that.   it is urgent RegdsSunil Rajputimport java.io.FileOutputStream

Re: [iText-questions] Showing filename together (clickable) with attachment pin and making it printable

2005-08-19 Thread Paulo Soares
I'm still investigating this but it appears that there's no solution. If the appearance is big Acrobat just replaces it with the pin. - Original Message - From: "Ralf Hauser" <[EMAIL PROTECTED]> To: Sent: Friday, August 19, 2005 9:51 AM Subject: RE: [iText-questions] Showing filename tog

RE: [iText-questions] Removing String Objects

2005-08-19 Thread Youssef Eldakar
Strings as in textual content. From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Fri 8/19/2005 5:17 AM To: Youssef Eldakar; itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Removing String Objects At 11:29 AM 8/18/2005, Youssef Eldakar

Re: [iText-questions] Font rendering problem with Graphics2D and large scale factors

2005-08-19 Thread Greg Steckman
Thanks for the fast fix. I've noticed some of the font bounds are coming back as 0, for example from the call: g2.getFontMetrics().getMaxCharBounds(g2).getHeight() but when I render to the screen they are non-zero. This is throwing off some of my text positions in the PDF. Is there a general w