[iText-questions] XMLWorker parse HTML image

2013-03-19 Thread z.ren
I'm using iText 5.4.0 and XMLWorker 1.2.1, and tried to parse HTML string from rich text editor to PDF. With image in HTML, it worked fine with static src path. But my image store in cloud and need to be accessed by secure web service. Which means I need to override some code from ImageProvider o

[iText-questions] XMLWorkerHelper performance bad compared to HTMLWorker

2013-03-19 Thread Chandra Shekar
Hi, I am using itext 5.3 in java to generate PDF. I was using HTMLWorker.parseToList(Reader, StyleSheet) to convert part to String which contains HTML tags like Bold, Italic, href etc to PDF. For example, strings like "This is test * bold * text" to convert part of text to be bold. Th

Re: [iText-questions] Differences btw text extraction from iText and Acrobat Reader?

2013-03-19 Thread wwkloo
mkl wrote > wwkloo, > wwkloo wrote >> I have a PDF with Asian font >> iTextExtract_W.pdf >> >> >> >> When I extract the text from it through TextRenderInfo.GetText() inside >> RenderText() of an implemented ITextExtra

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Leonard Rosenthol
If the RTF converter is recognizing that, then you'll get a new page in the PDF. From: Aitor Ramoneda mailto:ramoneda1...@gmail.com>> Reply-To: Post here mailto:itext-questions@lists.sourceforge.net>> Date: Tuesday, March 19, 2013 5:39 PM To: Post here mailto:itext-questions@lists.sourceforge.ne

Re: [iText-questions] Write timestamp in log

2013-03-19 Thread ardamose123
Getting the timestamps' dates can be done using the getAcroFields() method of the PdfReader. ...ArrayList names = pdf_reader.getAcroFields().getSignatureNames();// Then select the signature name you want from those "names". // I'll suppose you'll keep it in "signature_name".String signature_name =

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Aitor Ramoneda
Hi Leonard, \page indicates newPage. Is it in PDF? Aitor 2013/3/19 Leonard Rosenthol > ASSUMING that \tab in RTF is the equivalent of ASCII 0x09, then yes, you > would not find that in the PDF. > > I don't know what \page means. > > Leonard > > From: Aitor Ramoneda > Reply-To: Post here > Da

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Leonard Rosenthol
ASSUMING that \tab in RTF is the equivalent of ASCII 0x09, then yes, you would not find that in the PDF. I don't know what \page means. Leonard From: Aitor Ramoneda mailto:ramoneda1...@gmail.com>> Reply-To: Post here mailto:itext-questions@lists.sourceforge.net>> Date: Tuesday, March 19, 2013

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Aitor Ramoneda
Hi Leonard, Maybe these don't be spaces... Are you saying that characters "\tab" and "\page" of the original content can't be included in the final PDF? Best regards, Aitor 2013/3/19 Leonard Rosenthol > What do you mean they are "converted to spaces"? How are you determining > that? > > Rem

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Leonard Rosenthol
What do you mean they are "converted to spaces"? How are you determining that? Remember that in PDF, there is no concept of "white space characters" (in the content portion)…so if you had a tab in your original content, that is (pretty much) NEVER incorporated into the final PDF. Leonard From

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Aitor Ramoneda
Hi Alexis, We have tried to construct the PDF using POI + itext without using the methods of RTF, and we have the same problem. The characters \tab and \page of the WORD or RTF are converted to spaces. I think that is a general problem of "PdfWriter.getInstance(document, new FileOutputStream("FIL

[iText-questions] [SPAM] Re: Differences btw text extraction from iText and Acrobat Reader?

2013-03-19 Thread mkl
wwkloo, wwkloo wrote > I have a PDF with Asian font > iTextExtract_W.pdf > > > > When I extract the text from it through TextRenderInfo.GetText() inside > RenderText() of an implemented ITextExtractionStrategy by cal

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Alexis Pigeon
Hi Aitor, On 19 March 2013 14:30, Aitor Ramoneda wrote: > Hi Alexis, > > Is there any way to achieve support of iText 4.2.0? > Maybe by purchasing a license from iText, which would entitle you to premium support [1] However, you must understand that using pre-5.0.0 versions of iText might put y

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Aitor Ramoneda
Hi Alexis, Is there any way to achieve support of iText 4.2.0? Then, the new releases of itext doesn't have utilities to convert RTF to PDF, has they? Thanks, Aitor Ramoneda 2013/3/19 Alexis Pigeon > Hi Aitor, > > On 19 March 2013 11:56, Aitor Ramoneda wrote: > >> Hi, >> >> I'm using the me

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Alexis Pigeon
Hi Aitor, On 19 March 2013 11:56, Aitor Ramoneda wrote: > Hi, > > I'm using the method convertRtfDocument from itext to convert a rtf > document to a pdf. The problem is that the characters "\tab" and "\page" > contained in rtf document are converted to spaces in pdf document. > > Is there some

[iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Aitor Ramoneda
Hi, I'm using the method convertRtfDocument from itext to convert a rtf document to a pdf. The problem is that the characters "\tab" and "\page" contained in rtf document are converted to spaces in pdf document. Is there some method at RTFParser to do it? Thanks a lot, Aitor ---

[iText-questions] Write timestamp in log

2013-03-19 Thread Ainur
I have already signed my pdf with a digital signature and a timestamp server. Now what I need to do is write to a log some trace of timestamp. Anyone know how I can do? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Write-timestamp-in-log-tp4657838.html Sent from t

Re: [iText-questions] [SPAM] Re: Insert Revisions Programmatically In A PDF File

2013-03-19 Thread kgk
> First of all, I hope you are aware that AcroFields.ExtractRevision() does > not allow access to arbitrary revisions of a document, merely to all > signed > revisions. Thus, unless you apply signatures, you won't have anything to > extract with that method. Yes Michael, I'm aware of that. > Tha