Re: [iText-questions] Any reason the com.lowagie.text.Document isnot serializable?

2002-09-30 Thread Bruno Lowagie
Ramakrishna Kuppa wrote: > Is there any reason for the Document object not being Serializable? > Embedded Fonts. --- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own serve

RE: [iText-questions] varying border widths for a single cell

2002-09-30 Thread Richard Unger
Oh, that's a shame. I can't use PdfPTables for this because I'm setting rowspans on the cells (Cell has a setRowspan method, but PdfPCell does not). Ah well. Rich > -Original Message- > From: Paulo Soares [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 28, 2002 12:48 AM > To: R

[iText-questions] Any reason the com.lowagie.text.Document is not serializable?

2002-09-30 Thread Ramakrishna Kuppa
Title: Any reason the com.lowagie.text.Document is not serializable? Is there any reason for the Document object not being Serializable? Thanks

[iText-questions] printing pdf

2002-09-30 Thread Eduardo B. Santilli - SICREDI Serviços
 Someone know how to print a pdf file on java???   Eduardo    

[iText-questions] PDF cannot open because of no page, lab1

2002-09-30 Thread Brahim Machkour
Hello, Correction, the exact code was the one of the lab : Document document = new Document(); PdfWriter.getInstance(document, new FileOutputStream("testfile.pdf")); document.open(); document.add(new Paragraph("Hello World")); document.close(); Regards

[iText-questions] PDF cannot open because of no page, lab1

2002-09-30 Thread Brahim Machkour
Hello, I'm using iText java classes to generate PDF files on the fly from a servlet. I downloaded the iText source files from your site, compiled it successfully and compiled also my objects to implement lab1 of your tutorial to create a simple pdf file with Hello World text content... The

[iText-questions] Re: deleting the file

2002-09-30 Thread Bruno
What is 'out' in you catch-phrase? Is it a PrintWriter you got like this: PrintWriter out = response.getPrintWriter() Calling getOutputStream() after calling getPrintWriter() is illegal. That is what I tried to explain in an earlier mail... Get rid of this PrintWriter and your code will work. (O

[iText-questions] printing pdf

2002-09-30 Thread Eduardo B. Santilli - SICREDI Serviços
i have a problem with pdf on linux. i can view the pdf on linux, but when i try to print the file, it does not work. And when i try to print o windows, it works.   any one have an idea???   thanks!!!     Eduardo B. Santilli Tecnologia - ProgramadorSicredi ServiçosTelefone: (51) 3358-4700

[iText-questions] deleting the file

2002-09-30 Thread sundardba
I tried as below try { response.setContentType("application/pdf"); //out.println("First Line"); Document document=null; ByteArrayOutputStream ba =null; document = new Document(); ba = new ByteArrayOutpu

RE: [iText-questions] Using ttf-fonts in *.war files

2002-09-30 Thread Paulo Soares
> -Original Message- > From: Matthias Rueggeberg [SMTP:[EMAIL PROTECTED]] > Sent: Monday, September 30, 2002 14:38 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Using ttf-fonts in *.war files > > Hi, > > I'm trying to use a ttf-font that is included into a war-file. > Un

[iText-questions] Using ttf-fonts in *.war files

2002-09-30 Thread Matthias Rueggeberg
Hi, I'm trying to use a ttf-font that is included into a war-file. Unfortunately all methods of the itext-library expect a file name to the ttf-font on a real file system. Is there a known way to read fonts that are included into a war-file? Thanks, Matthias -

RE: [iText-questions] Rounded corners

2002-09-30 Thread Paulo Soares
Only with a PdfPTableEvent. Best Regards, Paulo Soares > -Original Message- > From: Tóth József [SMTP:[EMAIL PROTECTED]] > Sent: Monday, September 30, 2002 11:48 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Rounded corners > > Hi, > > I'm using PdfPTable in the page hea

[iText-questions] Rounded corners

2002-09-30 Thread Tóth József
Hi,   I'm using PdfPTable in the page header with border:           header.getDefaultCell().setBorderWidth(1);    header.getDefaultCell().setBorder(15);   Is it  possible to make rounded corners arround the header?   Joe

[iText-questions] Columns with Image

2002-09-30 Thread Thomas Kübler
hallo,   i wan't to put a Image in a column. so i add a chunk with a image to the column. now i wan't that the text-leading grows with the image-dimension. is there also any chance to wrap the text around the image?   thanks   thomas kübler

[iText-questions] Re:

2002-09-30 Thread Bruno
Quoting [EMAIL PROTECTED]: > Thanks bruno > > Is it possible to send response to the user directly as > > PdfWriter.getInstance(document, response.getOutputStream()); Yes, but you risk having a lot of browser problems see http://www.lowagie.com/iText/faq.html#msie > > When I use this I a

[iText-questions] deleting the file

2002-09-30 Thread sundardba
Thanks bruno Is it possible to send response to the user directly as PdfWriter.getInstance(document, response.getOutputStream()); When I use this I am getting the error as illegal state exception [EMAIL PROTECTED] wrote Quoting [EMAIL PROTECTED]: > I tried this method. After I create the