[iText-questions] How to make the table cell opaque

2009-06-16 Thread Shashikant Kulkarni
Hi, I am trying to make a table cell opaque using a background color but I am still able to see the text which is behind the cell. I want to move the cell to a absolute position and want to hide anything behind it. I tried the following but still I can see the line behind the cell Can anyone

Re: [iText-questions] iText Java Projekt Help needed - URGENT

2009-06-16 Thread Andreas Kuehne
Hi Markus, sounds like your seeing the problems while parsing the XML. That may not relate to iText ... Could you please uncover some more details ? Greetings Andreas From: "pri...@samea.de" To: Post all your questions about iText here Sent: Tuesday, June

Re: [iText-questions] Filling PDF date field question

2009-06-16 Thread 1T3XT info
Steve Ho wrote: > Hi, > > I’m using iText to fill in a PDF and I encountered a problem when > setting a value to a date field. The date field in the PDF have a mask > on it like this __/__/. When I set put a date value (06/12/2009) > into that date field, the date appear off center. I

Re: [iText-questions] iText Java Projekt Help needed - URGENT

2009-06-16 Thread 1T3XT info
pri...@samea.de wrote: > I have a problem with iText and SAX. > But I think the problem is to komplex to > discust this in this forum. Then please hire somebody to help you: http://itextsoftware.com/customdev.shtml I see that samea.de has a series of PDF products. Do they include iText? Did you m

Re: [iText-questions] iText Document to Graphics2D

2009-06-16 Thread 1T3XT info
Dan Dubois wrote: > Hi All, > > Is it possible to paint an iText Document to a Graphics2D object? I > want to send the Graphics2D object to the Java printing services. No, that's not possible. iText doesn't "render" PDF. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www

[iText-questions] iText Java Projekt Help needed - URGENT

2009-06-16 Thread privat
Hello, I have a problem with iText and SAX. But I think the problem is to komplex to discust this in this forum. I try to parse xml to generate Tables, but all the time I get the message java.lang.ClassCastException Maybe somebody can help me with this stuff. Thanks Markus --

[iText-questions] Filling PDF date field question

2009-06-16 Thread Steve Ho
Hi, I'm using iText to fill in a PDF and I encountered a problem when setting a value to a date field. The date field in the PDF have a mask on it like this __/__/. When I set put a date value (06/12/2009) into that date field, the date appear off center. I need the date to appear insid

[iText-questions] iText Document to Graphics2D

2009-06-16 Thread Dan Dubois
Hi All, Is it possible to paint an iText Document to a Graphics2D object? I want to send the Graphics2D object to the Java printing services. Best wishes, Dan -- Crystal Reports - New Free Runtime and 30 Day Trial Check

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread 1T3XT info
Sawan Jain wrote: > Also I’m able to apply the style on other controls like textboxes, so > why not on buttons? Because buttons are different. Have you tried replacePushbuttonField? http://1t3xt.be/?X4b http://1t3xt.be/?X0d -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ -

Re: [iText-questions] Invalid save/restore save

2009-06-16 Thread Mark Storer
Sounds like you're not calling "dispose()" on your G2D object. It handles some cleanup tasks, including any necessary restoreState() calls. --Mark Storer Senior Software Engineer Cardiff.com #include typedef std::Disclaimer DisCard; ---

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Paulo Soares
Buttons are a lot more complicated than other fields, you'll have to rebuild the button. Paulo > -Original Message- > From: Sawan Jain [mailto:sawan.j...@thedigitalgroup.net] > Sent: Tuesday, June 16, 2009 11:08 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-quest

Re: [iText-questions] iText 2.1.6 has been released

2009-06-16 Thread Bruno Lowagie
glen.ha...@auricnet.ca wrote: > > Rowspan YAY Bruno you're Awesome!!! Actually it was Jean-Philippe Gravel who provided some code that worked in some, but not all cases. I've spent a couple of weekends on it, and Jean-Philippe tested my work. I hope you'll give me feedback and good exam

Re: [iText-questions] iText 2.1.6 has been released

2009-06-16 Thread glen . hamel
Rowspan YAY Bruno you're Awesome!!! Glen Hamel Lead Programmer / Technician Auric Networks Canada, Inc. 570 Orwell Street, Unit 1 Mississauga, Ontario L5A 3V7 Phone 905.361.7621 Fax 905.274.3912 http://www.auricnet.ca From: Bruno Lowagie To: Post all your questions about iText here

[iText-questions] iText 2.1.6 has been released

2009-06-16 Thread Bruno Lowagie
Hello all, I've just release iText 2.1.6. This release includes a lot of bug fixes posted in the last three months. It also brings new OCSP and timestamping functionality; support for rowspan in PdfPTable; and a lot more. You can find the changelog here: http://1t3xt.be/?Z000ac3 best regards, Bru

Re: [iText-questions] generate rtf file

2009-06-16 Thread Luís Tiago Rico
Don't think so! I'm new with RTF... But as I could see, tables in RTF don’t work like tables in PDF. Maybe Howard can give us a better explanation. br, Rico -Original Message- From: pickm [mailto:picke...@hotmail.com] Sent: terça-feira, 16 de Junho de 2009 16:04 To: itext-questions@lis

Re: [iText-questions] generate rtf file

2009-06-16 Thread pickm
Is it possible to use memory management techniques when writing RTFs, like is mentioned in section 6.1.5 ("Working with Large Tables") of the iText book? Can the larger components be broken up and written incrementally? Ana Heitor-2 wrote: > > > I forced to write the file to disk > >

Re: [iText-questions] generate rtf file

2009-06-16 Thread Ana Heitor
I forced to write the file to disk RtfWriter2 rtfWriter2 = RtfWriter2.getInstance(document, out); rtfWriter2.getDocumentSettings().setDataCacheStyle(RtfDataCache.CACHE_DISK); The version I'm using is 1.5.4 and not 1.4.5, as I was said yesterday Mike Marchywka wrote: > > > >

Re: [iText-questions] Help on Persian Text - 3

2009-06-16 Thread 1T3XT info
Ebrahim Pasbani wrote: > Hi chief. > I read your answer and I must tell, I can not use PdfPCell. > Please tell me, what is the right table? PdfPTable or Table? PdfPTable. See http://1t3xt.be/?X000228 cell.setRunDirection(PdfWriter.RUN_DIRECTION_RTL); -- This answer is provided by 1T3XT BVBA http:

Re: [iText-questions] Help on Persian Text - 3

2009-06-16 Thread Alexis Pigeon
Hi Ebrahim, 2009/6/16 Ebrahim Pasbani > Hi chief. > I read your answer and I must tell, I can not use PdfPCell. > Please tell me, what is the right table? PdfPTable or Table? > Table is deprecated, you should use PdfPTable. Cheers, alexis ---

[iText-questions] Help on Persian Text - 2

2009-06-16 Thread Ebrahim Pasbani
Hi. I use below style : Note that when i write this email, I don't have IDE, and I write this code via my memory. And I try to remember the right syntax. MultiColumnText mct = new MultiColumnText(); mct.setArabicOptions(Ar_ComposedTashkeel); mct.setRunDirection(RUN_RTL); mct.add(new Chunk(unicodeS

[iText-questions] Help on Persian Text - 3

2009-06-16 Thread Ebrahim Pasbani
Hi chief. I read your answer and I must tell, I can not use PdfPCell. Please tell me, what is the right table? PdfPTable or Table? Thanks Ebrahim Pasbani -- Crystal Reports - New Free Runtime and 30 Day Trial Check out th

Re: [iText-questions] Null pointer exception when adding cell to table

2009-06-16 Thread Mike Marchywka
> Date: Tue, 16 Jun 2009 09:24:44 -0400 > From: Steven.Weston * compuware.com > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Null pointer exception when adding cell to table > > This is a strange error that I have not been able to f

Re: [iText-questions] iText question

2009-06-16 Thread 1T3XT info
SHASHIKANT.KULKARNI wrote: > I understood that it's not possible "Out-of-the-box" but can you point me to > some sample code or can you share some sample code? No. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread 1T3XT info
Sawan Jain wrote: > Hi, > > The form which I’m using is AcroForm. > Type of button is Push button. But when I tried to do GetFields, it > returned empty string. > pdfForm.GetFieldType("Save"); // Returning 1 means its a Push button > string abc = pdfForm.GetField("Save"); // Returning empty stri

[iText-questions] Null pointer exception when adding cell to table

2009-06-16 Thread Weston, Steven
This is a strange error that I have not been able to figure out. I'm hoping that maybe some fresh eyes will quickly see my error and point it out. I have been looking through the book as well as the mailing lists and just general Google searches and so far I'm not finding anything (maybe I just h

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Bruno Lowagie
Sawan Jain wrote: > Hi, > > The form which I’m using is AcroForm. > > Type of button is Push button. But when I tried to do GetFields, it > returned empty string. > > pdfForm.GetFieldType("Save"); // Returning 1 means its a Push button > string abc = pdfForm.GetField("Save"); // Returning empt

Re: [iText-questions] Help on Persian Text

2009-06-16 Thread 1T3XT info
Ebrahim Pasbani wrote: > Hi. > I use MultiTextColumn and can write persian in pdf. > But I want write a table in Persian in pdf. And now I can not do that. > Please Help me to write a table in Persian in pdf file. MultiColumnText is a special type of ColumnText, just as PdfPCell is a special type

Re: [iText-questions] concatenated files coming up as multiple packages?

2009-06-16 Thread pickm
Well your disbelief is reasonable. After a little more research it appears that the first file I receive (from a user in a document upload) is a single PDF file containing a single package. So when i concatentate a PDF generated in iText to it, i get that "multiple files..." message, but i c

Re: [iText-questions] iText question

2009-06-16 Thread SHASHIKANT.KULKARNI
I understood that it's not possible "Out-of-the-box" but can you point me to some sample code or can you share some sample code? Thanks Shashikant 1T3XT info wrote: > > SHASHIKANT.KULKARNI wrote: >> Hi, >> >> Thanks for the reply. Sorry for creating confusion. Now I have updated >> the >> att

[iText-questions] Help on Persian Text

2009-06-16 Thread Ebrahim Pasbani
Hi. I use MultiTextColumn and can write persian in pdf. But I want write a table in Persian in pdf. And now I can not do that. Please Help me to write a table in Persian in pdf file. Thanks Ebrahim Pasbani -- Crystal Repo

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Sawan Jain
Hi, The form which I'm using is AcroForm. Type of button is Push button. But when I tried to do GetFields, it returned empty string. pdfForm.GetFieldType("Save"); // Returning 1 means its a Push button string abc = pdfForm.GetField("Save"); // Returning empty string. Regards, Sa

Re: [iText-questions] generate rtf file

2009-06-16 Thread Mike Marchywka
> Date: Tue, 16 Jun 2009 04:35:54 -0700 > From: hgshank > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] generate rtf file > > > Increase your JVM memory. Alt, it may be more helpful to run the java heap analysis tool,

Re: [iText-questions] RtfMapper problem mapping a table cell with a image paragraph

2009-06-16 Thread Howard Shank
I'm glad you got it to work. The RTF code needs some work to get it up to par with the rest of iText library. I haven't had much time to work on it over the last few months. Regards, Howard Shank From: Luís Tiago Rico To: Post all your questions about iText

Re: [iText-questions] iText question

2009-06-16 Thread 1T3XT info
SHASHIKANT.KULKARNI wrote: > Hi, > > Thanks for the reply. Sorry for creating confusion. Now I have updated the > attached image. Please have a look at iText_Req_updated.jpg. Can you point > me to some sample code or can you share some sample code which I can try and > see. That's not possible "O

Re: [iText-questions] generate rtf file

2009-06-16 Thread Howard Shank
Increase your JVM memory. Howard Shank - Original Message From: Ana Heitor To: itext-questions@lists.sourceforge.net Sent: Monday, June 15, 2009 10:05:30 AM Subject: [iText-questions] generate rtf file Hi, when I try generate a .rtf file with much information, I get the following

Re: [iText-questions] iText question

2009-06-16 Thread SHASHIKANT.KULKARNI
Hi, Thanks for the reply. Sorry for creating confusion. Now I have updated the attached image. Please have a look at iText_Req_updated.jpg. Can you point me to some sample code or can you share some sample code which I can try and see. Thanks, Shashikant http://www.nabble.com/file/p24052063/iTex

Re: [iText-questions] PdfStamper doesn't respect anchors in document within ByteArrayOutputStream

2009-06-16 Thread Robert Morse
Thank you very much! The modified (and now working module) looks like this: public static void concatenateForms( List fileNames, File outputFile ) { if ( outputFile != null && fileNames != null && fileNames.size() > 0 ) { int pageOffset = 0; List> mast

Re: [iText-questions] iText question

2009-06-16 Thread 1T3XT info
Shashikant Kulkarni wrote: > Hi, > > I am new to iText and trying to use it. I am stuck at one place and > don't know how to proceed. I tried to google it did not get any answer. > Please see attached file for my requirement. How can I fulfill the > requirement? I don't understand the image.

[iText-questions] iText question

2009-06-16 Thread Shashikant Kulkarni
Hi, I am new to iText and trying to use it. I am stuck at one place and don't know how to proceed. I tried to google it did not get any answer. Please see attached file for my requirement. How can I fulfill the requirement? Any help would be greatly appreciated. Thanks and regards, Shashikant

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Sawan Jain
Hi, How to determine that the form is XFA forms. I'm able to modify the style of buttons using Adobe Profession 6.0. Also I'm able to apply the style on other controls like textboxes, so why not on buttons? Regards, Sawan --

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread 1T3XT info
Sawan Jain wrote: > Hi, > > The example which you have provided that works fine for me, but my PDF > form is already having some buttons on it, AcroForm or XFA style buttons? Because if you have an XFA form, it won't work! -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http:/

Re: [iText-questions] iText

2009-06-16 Thread Paulo Soares
You are right, I'll make the changes. Paulo > -Original Message- > From: Ludger Buenger [mailto:ludger.buen...@realobjects.com] > Sent: Tuesday, June 16, 2009 10:04 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] iText > > Hi everyone, > > I'd like to repor

[iText-questions] iText

2009-06-16 Thread Ludger Buenger
Hi everyone, I'd like to report what seems a mistake to me: As with iText svn revision 3953 there is a new class com.lowagie.text.pdf.TSAClientBouncyCastle. This class uses sun.misc.BASE64Encoder and -Decoder, two classes that are not guaranteed, to be available with all Java VMs. Since Itext

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Sawan Jain
Hi, The example which you have provided that works fine for me, but my PDF form is already having some buttons on it, which were added using Adobe Profession 6.0. I want to change the style of buttons which are already exist in PDF. Below is the sample code which I'm trying to make it work

Re: [iText-questions] RtfMapper problem mapping a table cell with a image paragraph

2009-06-16 Thread Luís Tiago Rico
Hi Howard, Many thanks for your tips! I managed to do it, replacing the PdfPTable with a Table object and not using chunks! Seems to me that the chunk object is causing this ClassCastException when converting tables. Again, many thanks! Rico PS: here is how I did it: Table tab