Re: [iText-questions] highlighting text when converting HTML to PDF not working

2012-04-04 Thread Victor Marquez
ight > would remain and they wouldn’t be able to easily remove it. > > ** ** > > *From:* Victor Marquez [mailto:vmarq...@emetric.net] > *Sent:* Wednesday, April 04, 2012 4:36 PM > *To:* itext-questions@lists.sourceforge.net > *Subject:* [iText-questions] highlighting te

Re: [iText-questions] highlighting text when converting HTML to PDF not working

2012-04-04 Thread Edward W. Rouse
remain and they wouldn't be able to easily remove it. From: Victor Marquez [mailto:vmarq...@emetric.net] Sent: Wednesday, April 04, 2012 4:36 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] highlighting text when converting HTML to PDF not working Hi, I

[iText-questions] highlighting text when converting HTML to PDF not working

2012-04-04 Thread Victor Marquez
Hi, I have been using itextsharp for a while. At this time I am working on a project that requires to convert html to pdf and this html have some highlighted sections. I could not find any references on how to make highlighting text to work in itextsharp documentation. What I am trying to accomp

Re: [iText-questions] highlighting text parts

2012-02-16 Thread marlborino
I've reached a solution and it works with this sample code: public prova(String filePath) throws IOException, DocumentException{ Document document = new Document(PageSize.A4); File f = new File("C:\\tempPDF_GDF.pdf"); FileOutputStream

Re: [iText-questions] highlighting text parts

2012-02-16 Thread marlborino
Thanks a lot, you've brought me to the right way. I've got just one more question. Is there an option in ColumnText object to avoid to start a new line text everytime I call the go() method? After the call of go() method I would write the next text block on the same line. -- View this message in c

Re: [iText-questions] highlighting text parts

2012-02-15 Thread iText Info
Op 15/02/2012 18:35, marlborino schreef: > Into the layer I can insert the text only through the method > ColumnText.showTextAligned() (am I wrong?) Yes. If you want the text to wrap, you shouldn't use the static methods of ColumnText. You should create a ColumnText object, add content and then us

Re: [iText-questions] highlighting text parts

2012-02-15 Thread marlborino
I tried this solution but I found an issue. Into the layer I can insert the text only through the method ColumnText.showTextAligned() (am I wrong?) which need to set the absolute position of the text. This method doesn't handle the lenght of the text and so it doesn't change the line if the text is

Re: [iText-questions] highlighting text parts

2012-02-15 Thread Leonard Rosenthol
. Leonard -Original Message- From: marlborino [mailto:p.d.somej...@gmail.com] Sent: Wednesday, February 15, 2012 11:52 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] highlighting text parts Hi all, I work with iText and I need to create a pdf which highlights some

[iText-questions] highlighting text parts

2012-02-15 Thread marlborino
Hi all, I work with iText and I need to create a pdf which highlights some text parts dynamically. In detail, I've got a text which contains some interesting parts. I would highlight this parts after any event triggered, like a click over a button or a selection of a checkbox or anything else. In o

Re: [iText-questions] Highlighting text

2011-04-13 Thread Lasse L
t; and "page dictionary" versions). >> Quite trivial, but you actually need to know the correct PdfName constant to >> use. >> >> --Mark Storer >> Senior Software Engineer >> Cardiff.com >> >> import legalese.Disclaimer; >> Disclaimer DisCard = null; >> >> >

Re: [iText-questions] Highlighting text

2011-04-13 Thread Lasse L
se.Disclaimer; > Disclaimer DisCard = null; > > > > -- > *From:* Lasse L [mailto:lasse.lindga...@gmail.com] > *Sent:* Tuesday, April 12, 2011 3:32 AM > *To:* Post all your questions about iText here > *Subject:* Re: [iText-ques

Re: [iText-questions] Highlighting text

2011-04-12 Thread Mark Storer
y, April 08, 2011 1:48 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Highlighting text Hi all,

Re: [iText-questions] Highlighting text

2011-04-12 Thread 1T3XT BVBA
Op 12/04/2011 12:31, Lasse L schreef: I have trouble getting PdfContentStreamProcessor to read my PDF (as attached earlier in this tread). I get a NPE Does every PDF give an NPE or only your specific PDF. Can you extract the text from that PDF using the code in the book? Maybe there are some r

Re: [iText-questions] Highlighting text

2011-04-12 Thread Lasse L
t legalese.Disclaimer; >> Disclaimer DisCard = null; >> >> >> >> ------ >> *From:* Lasse L [mailto:lasse.lindga...@gmail.com] >> *Sent:* Friday, April 08, 2011 1:48 AM >> *To:* itext-questions@lists.sourceforge.net >> *Sub

Re: [iText-questions] Highlighting text

2011-04-11 Thread Lasse L
--- > *From:* Lasse L [mailto:lasse.lindga...@gmail.com] > *Sent:* Friday, April 08, 2011 1:48 AM > *To:* itext-questions@lists.sourceforge.net > *Subject:* [iText-questions] Highlighting text > > Hi all, > > Basically I am trying to find text and highlight it i

Re: [iText-questions] Highlighting text

2011-04-08 Thread Mark Storer
__ From: Lasse L [mailto:lasse.lindga...@gmail.com] Sent: Friday, April 08, 2011 1:48 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Highlighting text Hi all, Basically I am trying to find text and high

[iText-questions] Highlighting text

2011-04-08 Thread Lasse L
Hi all, Basically I am trying to find text and highlight it in some scanned PDF's with OCR data layered in. With Adobe Reader I can see that the OCR software has done a decent job, and I am able to select text with the mouse and do a good enough mark with the mouse where I select the hidden OCR t