[iText-questions] Excel to PDF

2004-01-12 Thread NITISH
Hello Every Body My problem is that I want ot convert the Excel file to PDF as it is .IS this possible with iText.If so what should be the approach and if possible could any one send me the sample code for that. Hope to see some solution. nitish

[iText-questions] Passing File Name in Paragraph

2004-01-12 Thread NITISH
Hi How could we pass a exesting file in the Paragraph. eg In the Article "Dynamically Creating PDFs in a Web Application" i have seen a program in which "Hello World " is passed in the Paragraph "document.add(new Paragraph("Hello World"));".This Hello Wrold is printed in the PDF thus

[iText-questions] about copyright

2004-01-12 Thread Reiko Sato
Hello This is Reiko Sato. I'm editor of JavaWorld Magagine which is very famous magagine about Java in Japan. I'll write about your class library on my article. So,Please let me know the copyright of a library. nice regards - IDG Japan, Inc [EMAIL PROTECTED]

Re: [iText-questions] about copyright

2004-01-12 Thread Bruno
Quoting Reiko Sato [EMAIL PROTECTED]: Hello This is Reiko Sato. I'm editor of JavaWorld Magagine which is very famous magagine about Java in Japan. I'll write about your class library on my article. Thanks! I often visit sites with articles on iText. I don't always understand what is

Re: [iText-questions] Passing File Name in Paragraph

2004-01-12 Thread Bruno
Quoting NITISH [EMAIL PROTECTED]: Hi How could we pass a exesting file in the Paragraph. eg In the Article Dynamically Creating PDFs in a Web Application i have seen a program in which Hello World is passed in the Paragraph document.add(new Paragraph(Hello World));.This Hello Wrold is

Re: [iText-questions] Excel to PDF

2004-01-12 Thread Bruno
Quoting NITISH [EMAIL PROTECTED]: Hello Every Body My problem is that I want ot convert the Excel file to PDF as it is .IS this possible with iText. You would need another library (such as POI) to parse the binary XLS file first if you want to do it with iText. If so what should be the

RE: [iText-questions] Problem in getting dimensions of PDF file

2004-01-12 Thread Paulo Soares
Title: RE: [iText-questions] Problem in getting dimensions of PDF file That's right. You need the crop box by calling PdfReader.getCropBox(). Best Regard, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Leonard Rosenthol Sent:

RE: [iText-questions] multipage display on one page of PDF document

2004-01-12 Thread Paulo Soares
Title: RE: [iText-questions] multipage display on one page of PDF document You have a bit of work ahead, not with the clipping and rotating the pages, but with the layout if the pages have different sizes. The methods you'll need are: PdfWriter.getImportedPage() - to get the page from other

RE: [iText-questions] multipage display on one page of PDF document

2004-01-12 Thread Paulo Soares
Title: RE: [iText-questions] multipage display on one page of PDF document This is a totally different case. It all depends on what classes you use to do it, the kind of data, etc. More detail is needed. You probably won't need templates and do all the work with ColumnText and PdfPTable.

Re: [iText-questions] multipage display on one page of PDF document

2004-01-12 Thread Neil Taylor
I currently create a new Document and get the Writer. Each mini-page can contain Graphic items (lines, ellipses and rectangles), Image items and text. Graphic and Image items are added using the document.add() method. The fonts are written by calling writer.getDirectContent() and then writing to

[iText-questions] Acrobat 3

2004-01-12 Thread David Thielen
Hi; Can Acrobat 3 read pdf files created by iText? (I was asked this by a user and I can't find a copy of Acrobat 3 to test with.) thanks - dave

[iText-questions] Re: Why is my table so compact?

2004-01-12 Thread kg84
When I use setLeading(), setVerticalAlignment() is not effective for cell, in this case text is always bottom aligned no matter what type of alignment you set. cell.setLeading(30) ; cell.setVerticalAlignment(Cell.ALIGN_MIDDLE);

Re: [iText-questions] Acrobat 3

2004-01-12 Thread Leonard Rosenthol
At 7:15 AM -0700 1/12/04, David Thielen wrote: Can Acrobat 3 read pdf files created by iText? (I was asked this by a user and I can't find a copy of Acrobat 3 to test with.) Provided you don't use any of the newer features of PDF (of which there are MANY), yes, it should be OK... But you

RE: [iText-questions] Printing pdf files

2004-01-12 Thread Tony . L . Reller
Not sure what specific printing problem you are having, but I have already posted a problem with Adobe 6.0. Follow the link to see the issue: http://www.adobeforums.com/cgi-bin/[EMAIL PROTECTED]@.2cce7577/2 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of

RE: [iText-questions] Acrobat 3

2004-01-12 Thread Paulo Soares
Title: RE: [iText-questions] Acrobat 3 I use it with OS/2 (in a bank, where else could it be?) without any problems. Things to watch out: use only T1 fonts, preferably the built in ones; don't use TT fonts; set the version to 1.2 in the writer; transparent images may not work. Best Regards,

RE: [iText-questions] multipage display on one page of PDF document

2004-01-12 Thread Paulo Soares
Title: RE: [iText-questions] multipage display on one page of PDF document You can't use Document.add(). This is only a problem with Graphic but in any case you have the same in PdfContentByte. Add the images with PdfContentByte.addImage(). To set a clipping area: PdfContentByte cb =

Re: [iText-questions] Acrobat 3

2004-01-12 Thread David Thielen
Title: RE: [iText-questions] Acrobat 3 Yep - this case is a bank too g. Do you know why God could create the world in only 7 days? No installed base. - Original Message - From: Paulo Soares To: Leonard Rosenthol ; David Thielen ; itext Sent: Monday, January 12,

[iText-questions] RE: stamped.java example /Merging PDF files

2004-01-12 Thread Paulo Soares
Title: RE: stamped.java example /Merging PDF files There no automated ways to find the boxes. You need to open the pdf in full Acrobat and add the form fields on top of the boxes. Best Regards, Paulo Soares -Original Message- From: Gao, Ping [SMTP:[EMAIL PROTECTED] Sent: Monday,

Re: [iText-questions] Re: Why is my table so compact?

2004-01-12 Thread Sterling Bates
A couple options: 1. Put carriage returns above and below. If you find the CRs are too large, try using a smaller font for them. 2. Use cellpadding on the table and/or cell. Sterling - Original Message - From: [EMAIL PROTECTED] To: Bruno [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

[iText-questions] Question about watermark

2004-01-12 Thread Kalpana Sundaram
Hello, I am a Java/J2EE developer in Parsippany, NJ. I am trying to make a watermark be displayed on every page of a PDF file instead of just on the first page. The following are the lines of code that I am using to achieve this: String templateFolder = (String) htHeader.get("TEMPLATE_FOLDER");

[iText-questions] Question about overlaying a PDF on another PDF

2004-01-12 Thread Kalpana Sundaram
Hello, I am a Java/J2EE developer in Parsippany, NJ. I am trying to overlay an existingPDF over another existing PDF. I would like only the cropped portion of the first PDF, instead of the entirePDF,to be overlaid over the second PDF. Is there a way in iText to do it? Can someone please send me

FW: [iText-questions] HTML to PDF Question...

2004-01-12 Thread Dunstall, Christopher
Title: Message Anyone? :) Pretty Please? ;) ~~ Chris Dunstall Analyst Programmer Admin Computing Bathurst Campus Charles Sturt University E-Mail: [EMAIL PROTECTED] Phone: +61 2 63384818 Fax: +61 2 63384181 Mobile: +61 0438 324 180

Re: FW: [iText-questions] HTML to PDF Question...

2004-01-12 Thread Matt Benson
It might help if you gave us at least an approximation of the full block of HTML that was being parsed. -Matt --- Dunstall, Christopher [EMAIL PROTECTED] wrote: Anyone? :) Pretty Please? ;) ~~ Chris Dunstall Analyst Programmer Admin Computing

RE: FW: [iText-questions] HTML to PDF Question...

2004-01-12 Thread Matt Benson
That's it? I figured that was just a fragment... -Matt --- Dunstall, Christopher [EMAIL PROTECTED] wrote: It's in the error message, sorry if it wasn't obvious... PSTRONGRelated course structure/STRONGBRThe quick brown fox jumps overBRThe quick pink fish jumps over the dolphin's nose/P

RE: FW: [iText-questions] HTML to PDF Question...

2004-01-12 Thread Matt Benson
The problem appears to be something in that Oracle XML parser you're using. You might try using a different one just for verification, then take it up with Oracle? -Matt P.S. keep the list copied on stuff so everyone benefits from any discussions... --- Dunstall, Christopher [EMAIL PROTECTED]

RE: FW: [iText-questions] HTML to PDF Question...

2004-01-12 Thread Matt Benson
I would be suspicious of your CLASSPATH and anything else strange in your environment, including the little man in the hat behind you... just kidding about that last part. -Matt --- Dunstall, Christopher [EMAIL PROTECTED] wrote: I'm not even using an Oracle XML parser... That's what I don't

[iText-questions] Please unsubscribe me.

2004-01-12 Thread Yazdani, Flora
--- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval!

[iText-questions] Excel to PDF

2004-01-12 Thread for_nitish
Hi every body I want to generate a PDF file from an Excel file.The condition is that the PDF thus generated should be in same format ie hyperlink,color,Font etc that of source Excel .how to solve this problem,Could any one send me the code sample for this. Any type of advise is well come. Thanks

[iText-questions] pdf.jsp

2004-01-12 Thread Ujjwala Kadam
I executed this example on my side and got the error saying, Servlet Error: : com.ibm.servlet.engine.srt.WriteBeyondContentLengthException I just downloaded the code and executed it on my app server (Websphere) Where am I going wrong? Thanks and regards Ujjwala Do you Yahoo!? Yahoo! Hotjobs: