[iText-questions] underlined text problem

2009-05-19 Thread suresh patidar
Hello, sorry for my bad english. i want to write underlined text with PdfContentByte class. how can i do it. so please give some code for example. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new s

Re: [iText-questions] underlined text problem

2009-05-19 Thread 1T3XT info
suresh patidar wrote: > Hello, > > sorry for my bad english. > > i want to write underlined text with PdfContentByte class. > how can i do it. Either you draw the line yourself with moveTo(x1, y1); lineTo(x2, y2); stroke(); commands. Or you use Chunk.setUnderline in combination with ColumnText.

Re: [iText-questions] Images and textwrap in a MultiColumnText

2009-05-19 Thread 1T3XT info
Cesar Reyes wrote: > Hi Does someone knows how to solve this problem? I'd add the image at an absolute position and use irregular or adapted columns to add the rest. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

Re: [iText-questions] iText support for fast web view

2009-05-19 Thread 1T3XT info
Abhay Mujumdar wrote: > If I am reading it right, even if a PDF is Fast Web View enabled, once > we manipulate it using iText (merge data into it), it won't remain Fast > Web View enabled (we'll have to linearize again). Is that correct? Yes. You could of course manipulate the PDF in append mode

[iText-questions] The first offset of multilinetext in Acroforms.

2009-05-19 Thread slon
Hello, i am making a simple WYSIWYG-like tool for Acroforms, and need to draw Multilinetext from PDF "TextField" on the screen so, as it really is in PDF. I also need to draw baselines right, to show user how will it be in Acroform. All information i need, i can calculate from Font object. All

Re: [iText-questions] The first offset of multilinetext in Acroforms.

2009-05-19 Thread 1T3XT info
slon wrote: > Hello, i am making a simple WYSIWYG-like tool for Acroforms, and need to draw > Multilinetext from PDF "TextField" on the screen so, as it really is in PDF. > I also need to draw baselines right, to show user how will it be in Acroform. > All information i need, i can calculate fro

[iText-questions] Headers are not getting added properly in itext document.

2009-05-19 Thread Deepa Thakur
Hi, I am generating pdf in java using itext. I want to display the different headers on different pages. I'm using one single document and pages are getting added to it at run time. I have got 5 servlets written to generate the whole pdf. At start of every servlet i've written the code for header t

Re: [iText-questions] Headers are not getting added properly in itext document.

2009-05-19 Thread Paulo Soares
Use page events, HeaderFooter is not supported anymore. Paulo > -Original Message- > From: Deepa Thakur [mailto:deepathakur...@gmail.com] > Sent: Tuesday, May 19, 2009 12:49 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Headers are not getting added > prop

Re: [iText-questions] Headers are not getting added properly in itext document.

2009-05-19 Thread Alexis Pigeon
Hi Deepa, 2009/5/19 Deepa Thakur > Hi, > I am generating pdf in java using itext. I want to display the different > headers on different pages. I'm using one single document and pages are > getting added to it at run time. I have got 5 servlets written to generate > the whole pdf. At start of ev

Re: [iText-questions] iText support for fast web view

2009-05-19 Thread Abhay Mujumdar
Thanks! Any recommendations for pure-Java, preferably open-source, libraries for linearization? On Tue, May 19, 2009 at 3:17 AM, 1T3XT info wrote: > Abhay Mujumdar wrote: > > If I am reading it right, even if a PDF is Fast Web View enabled, once > > we manipulate it using iText (merge data into

Re: [iText-questions] iText support for fast web view

2009-05-19 Thread Leonard Rosenthol
There are not any open source Java libraries that offer linearization. On 5/19/09 10:10 AM, "Abhay Mujumdar" wrote: Thanks! Any recommendations for pure-Java, preferably open-source, libraries for linearization? On Tue, May 19, 2009 at 3:17 AM, 1T3XT info wrote: Abhay Mujumdar wrote: > If I

[iText-questions] java.lang.ClassCastException: com.lowagie.text.Table

2009-05-19 Thread Emilien ARNAUD
Hi, I've got this error : "java.lang.ClassCastException: com.lowagie.text.Table" Here is the HTML I try to transform to PDF : http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en"> Ceci est un test ARNAUD et 123 et voilĂ  !

Re: [iText-questions] java.lang.ClassCastException: com.lowagie.text.Table

2009-05-19 Thread Emilien ARNAUD
I just forgot to say that the HTML as been XHTML 1.0 validated (I already checked this) -- View this message in context: http://www.nabble.com/java.lang.ClassCastException%3A-com.lowagie.text.Table-tp23619639p23619669.html Sent from the iText - General mailing list archive at Nabble.com. -

[iText-questions] Re ctangle.NO_BORDER is not working If table is created with "Table"

2009-05-19 Thread sushilmuppidi
Hi, Given code snippet is for not affecting the Rectangle.NO_BORDER Table t = new Table(2,1); t.setWidths(new int[] {13, 62}); t.getDefaultCell().setBorder(Rectangle.NO_BORDER); t.setBorderColor(Color.WHITE); Rt

[iText-questions] Signature PDF. How obtain Original PDF

2009-05-19 Thread Oscar P
Hi, i use iText to sign PDF, and i like get the original PDF, without the signatures field. I get revision, but revision 1 have the first signature field. It's posible??? Other question, about signature PDF I have a doubt. If you sign a document, modify and sign again, the modify would have to

Re: [iText-questions] Re ctangle.NO_BORDER is not working If table is created with "Table"

2009-05-19 Thread 1T3XT info
sushilmuppidi wrote: > Hi, > > Given code snippet is for not affecting the Rectangle.NO_BORDER Is this yet another one of these prank questions from people who don't know that tables in Word/RTF without borders PRINT without borders, but show borders when you look at the document on the screen?

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-19 Thread Paulo Soares
> -Original Message- > From: Oscar P [mailto:opasc...@gmail.com] > Sent: Tuesday, May 19, 2009 5:51 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Signature PDF. How obtain Original PDF > > Hi, > > i use iText to sign PDF, and i like get the original PDF,

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-19 Thread Leonard Rosenthol
Actually, Acrobat/Reader 9 "roll up" all of the various states of all signatures on the page into a single "status". Leonard On 5/19/09 12:22 PM, "Paulo Soares" wrote: > -Original Message- > From: Oscar P [mailto:opasc...@gmail.com] > Sent: Tuesday, May 19, 2009 5:51 PM > To: itext-

Re: [iText-questions] iText support for fast web view

2009-05-19 Thread Abhay Mujumdar
Thanks again! Any commercial pure Java recommendations? I have found http://big.faceless.org/products/pdf/ so far. More on - http://big.faceless.org/blog/2008/07/17/1216306371230.html On Tue, May 19, 2009 at 11:26 AM, Leonard Rosenthol wrote: > There are not any open source Java libraries that

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-19 Thread mkl
Oscar, Oscar P wrote: > > i use iText to sign PDF, and i like get the original PDF, without the > signatures field. I get revision, but revision 1 have the first signature > field. > > It's posible??? > If you signed creating a new revision (i.e. in append mode), you can retrieve the origin

Re: [iText-questions] Tagged PDF

2009-05-19 Thread dy2000
Up to today, iText doesn't seem to be able to set alternative text to an image that can be read out loud by AcrobatReader. image.setAlt() seems to be useless in generated PDF. Might it be a bug?? Thanks! David Paulo Soares wrote: > > The source of info is the pdf reference. iText provides th

[iText-questions] PDF combine

2009-05-19 Thread zoharat
We have a requirement where one would want to combine 2 PDF files. The PDF files being combined may or may not have forms on it. Would the following be recommended approach to handle this sort of requirement. 1. Check if the files contain PDF form field data. 2. If yes use PdfCopyFields if no

Re: [iText-questions] Tagged PDF

2009-05-19 Thread Leonard Rosenthol
Are you using "Read out Loud" in Reader OR are you using a proper screen reader such as Jaws or WindowEyez?? Leonard On 5/19/09 12:31 PM, "dy2000" wrote: Up to today, iText doesn't seem to be able to set alternative text to an image that can be read out loud by AcrobatReader. image.setAlt(

Re: [iText-questions] Tagged PDF

2009-05-19 Thread jmrrva
writer.getExtraCatalog().put(PdfName.LANG, new PdfString("es")); Image img; PdfContentByte cb = writer.getDirectContent(); PdfStructureElement eTop = new PdfStructureElement(root, new PdfName("MyDocumentTag"));