Re: [iText-questions] Are header/footer XML tags created by XmlWriter

2002-06-27 Thread Bruno
Quoting Chris Ward <[EMAIL PROTECTED]>: > I am creating a document that contains a header and a footer, but if I use > XmlWriter, there are no tags that look like a header or footer. (they do show > up using PdfWriter) > > Could someone verify for me if iText can create these tags as XML? Also,

Re: RES: [iText-questions] Img in the Header

2002-06-27 Thread Bruno
Quoting Glauco Cesar de Castro <[EMAIL PROTECTED]>: > Hi Bruno. Thanks for the help, but I still have some questions. > > 1) When I use the HeaderFooter-object, I don’t need to worry about > positioning the text, or whatever I will put there. And if I use de > onEndPage method, it seems I have t

Re: [iText-questions] change Text color, rotating text, and outline text

2002-06-27 Thread Bruno
Quoting Work WorkOnly <[EMAIL PROTECTED]>: > I look through the tutorial, I only see the instruction on how to change the > Font size. So, I'm wondering if anyone can show me where I could look it > up on the tutorial or show me the class that can do all the above. You must think of character

[iText-questions] change Text color, rotating text, and outline text

2002-06-27 Thread Work WorkOnly
Hi all, First of all, thanks Bruno for the quick reply on the watermark problem. Using his instruction quickly solve one of my problem. But unfortunately I got another problem. Can I use iText to do outline of the text, change text color and rotating the text? I look through the tutorial,

RES: [iText-questions] Img in the Header

2002-06-27 Thread Glauco Cesar de Castro
Hi Bruno. Thanks for the help, but I still have some questions. 1) When I use the HeaderFooter-object, I don’t need to worry about positioning the text, or whatever I will put there. And if I use de onEndPage method, it seems I have to tell the Pdf where to put my object, write? 2) With HeaderFo

[iText-questions] Line Break

2002-06-27 Thread Glauco Cesar de Castro
Title: Mensagem Hello again.   How can i break a line with iText?  I have a paragraph and i just want to make a line break in the middle, without inserting a new paragraph.   I have tried to use \n, \r, \n\r but it seems iText ignores it.   Thanks again.   Glauco --- Outgoing mail is cer

[iText-questions] Help on change text style and color

2002-06-27 Thread Work WorkOnly
Hi all, I'm trying to put a text "Pre-Release" into every page of my pdf file, and that's not a problem after Bruno gave me some instrution. But now I want to make the word "pre-Release" to be Outline in style and change its color to red. I have couple question that I come across when I'm do

[iText-questions] Are header/footer XML tags created by XmlWriter

2002-06-27 Thread Chris Ward
I am creating a document that contains a header and a footer, but if I use XmlWriter, there are no tags that look like a header or footer. (they do show up using PdfWriter) Could someone verify for me if iText can create these tags as XML? Also, even if that is not true, is there a tag for head

[iText-questions] Gzip - pdf

2002-06-27 Thread Anis h
Hello, I create pdf using iText and I wanted zip it and send it to the browser.. this is what i did javax.servlet.ServletOutputStream servletOutputStream = response.getOutputStream(); response.setContentType("application/pdf"); response.setHeader("Content-Encoding", "gzip"); PrintStream

Re: [iText-questions] printing pdf - URGENT

2002-06-27 Thread Cyril Rognon
Hi, I think this has nothing to do with iText ... it is a RunTime.exec problem. You should find ALL your answers here : http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html Cyril At 18:29 27/06/2002 +0800, you wrote: >I use the code pasted below to send a pdf document directly to

[iText-questions] printing pdf - URGENT

2002-06-27 Thread SandeeSuzeth . Co
Hi, I use the code pasted below to send a pdf document directly to the printer. It works fine with Acrobat Reader 4 but in Reader 5, the reader is still launched even with the /p /h. Only /h works, that is, the print dialog box is hidden. For Windows 95 : Runtime.getRuntime().exec(command.com /

Re: [iText-questions] How can I include (Raw-) Images > 64 kb?

2002-06-27 Thread Paulo Soares
You must get back to your java books. An int in java is 32 bits. A byte array (in the iText case) can be 2G long. Best Regards, Paulo Soares - Original Message - From: "Jan Hill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 27, 2002 8:27 Subject: [iText-questions] How

Re: [iText-questions] Unable to display TIFF in PDF

2002-06-27 Thread Paulo Soares
I don't think there's any problem here. You must convert the resulting image to a colorspace that iText understands (8 bit ARGB). JAI has lot of tools to do that transformation. Ask for help in the JAI mailing list. Best Regards, Paulo Soares - Original Message - From: "Padmanabhan, Shob

RE: [iText-questions] Error to generate pdf document

2002-06-27 Thread Bruno
Quoting David Pereira Torres <[EMAIL PROTECTED]>: > Hello. > I'm trying store in ByteArrayOutputstream but IExplorer show the source > code > of document. Don't open de Acrobat Reader. This isn't an iText related problem. This is MSIE not being able to resolve the MIME-TYPE of the PDF file. What

Re: [iText-questions] Error to generate pdf document

2002-06-27 Thread Bruno
Quoting David Pereira Torres <[EMAIL PROTECTED]>: > Hello. > > I'm trying to open a pdf document from jsp page and weblogic 5.1 with SP11 > and weblogic throws this exception: > > java.net.ProtocolException: Didn't meet stated Content-Length for URI : > /sedra/errores/paginaError.jsp, wrote: '1

[iText-questions] Error to generate pdf document

2002-06-27 Thread David Pereira Torres
Hello. I'm trying to open a pdf document from jsp page and weblogic 5.1 with SP11 and weblogic throws this exception: java.net.ProtocolException: Didn't meet stated Content-Length for URI : /sedra/errores/paginaError.jsp, wrote: '1251' bytes instead of stated: '1563' bytes. when I use: PdfWrite

[iText-questions] Printing in PDF - Windows 2000 platform - URGENT

2002-06-27 Thread JasperIan . Guela
Hi ! When sending the pdf document directly to the printer by using the command Runtime.getRuntime().exec("start acrord32 /p /h" + ReportName) works well for WIndows 95 and 98 platform. But when using it in Windows 2000 platform it does not send the document to the printer. Please see the code

Re: [iText-questions] question on watermark function.

2002-06-27 Thread Bruno
Quoting "Ho, Waymon (AZ76)" <[EMAIL PROTECTED]>: > Hi all, > > I'm writing a program which require putting a watermark onto a pdf file. I > went through the watermark tutorial, and I know it allow me to put an image > onto each page. But I'm wondering instead of putting an image, can I > inser

Re: [iText-questions] Searchable mailing list archives

2002-06-27 Thread Bruno
Quoting Doug Poland <[EMAIL PROTECTED]>: > Does this list have a searchable archive? Yes, go to: http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/ Bruno --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/

[iText-questions] How can I include (Raw-) Images > 64 kb?

2002-06-27 Thread Jan Hill
Hello, how can I include (RAW-) Images in a PDF which are bigger than "byte[int]". I have so called Bacon files. Bacon has a Haeder 256 Byte and Data encoded Tiff. If the files smaller then 64 kb it is no Problem byt I have also Files bigger than 64kb (70/75kb). How can I solve this Problem.

Re: [iText-questions] Problem in generation PDF with JDBC calls for IE

2002-06-27 Thread Bruno
Quoting Aspert Edison <[EMAIL PROTECTED]>: > While I generate the document, I make a JDBC call to so some data to be > included as part of the PDF document > ResultSet info = Utility.getInfoForPDF("Select * from emp"); > //This is the JDBC call > out = res.getOutputStream(); > res.setContentTy

Re: [iText-questions] Img in the Header

2002-06-27 Thread Bruno
Quoting Glauco Cesar de Castro <[EMAIL PROTECTED]>: > Hi everyone. Is it possible to add an image to the header of a PDF using > iText? If so, how? Don't use the HeaderFooter-object. I should deprecate it and remove it from the tutorial. Use PageEvents as described in Chapter 12 of the tutorial.