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
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
Title: Any reason the com.lowagie.text.Document is not serializable?
Is there any reason for the Document object not being Serializable?
Thanks
Someone know how to print a pdf file on java???
Eduardo
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
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
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
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
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
> -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
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
-
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
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
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
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
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
16 matches
Mail list logo