[iText-questions] Hello, I can not toi create PDF on the fly using iText library, can you help me, please?

2005-07-19 Thread LEOS CAMARILLO, ANGELICA
Hello i am using jsp file, it show a report Html format, but how can I convert it in PDF format, I analized iText library, but I find I have to add every element to the document object (document.add(new Paragraph(Hello World)) alwas i want it apper in the web page in PDF format. My

[iText-questions] xml parsing

2005-07-19 Thread Roberto \Tasso\
Hi what's the xml tag (or tags) to insert a black page in a pdf document? Roberto Tasso HMD Staff ___ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it

[iText-questions] Background Color of Paragraphs

2005-07-19 Thread thmarx
Hi. Is it possible to set the backgroundcolor for a paragraph? I only find examples to add backgroundcolor to chunks. cheers --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow

[iText-questions] Converting XML to PDF

2005-07-19 Thread Rebecca
I have used sgml to convert my html document into xml, hoping that I will be able to convert this into pdf. Surprise...it didn't work. So I scaled down. I then converted Chap0701.xml into pdf which worked fine. I can also convert the Shakespeare play with custom tags using TagMap, works

RE: [iText-questions] Re: Signing a Certified document having a signature field

2005-07-19 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wahaj Khan Sent: Tuesday, July 19, 2005 10:57 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Re: Signing a Certified document having a signature field OK I have tried

[iText-questions] RE:itext support writing javax.swing.text.Document directly to the pdf file?

2005-07-19 Thread agletfan agletfan
itext developer: Hi! I write some code about the editor in java and I want to export the edited text to the pdf file. javax.swing.JEditorPane or javax.swing.JTextPane, you know, support the StyledDocument and offer a API getDocument() which they extends from the

RE: [iText-questions] Invalid PDF generated

2005-07-19 Thread Paulo Soares
Works for me in GS and Acrobat. Note that you have javascript in the pdf to print and that's what is causing the message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Wilson Sent: Monday, July 18, 2005 10:33 PM To:

[iText-questions] visual tool for itext, filling pdf forms

2005-07-19 Thread Nadrai Tamás
Hi! I'd like to ask some questions. does a visual tool exist for iText, where i can create a pdf file like in Adobe Acrobat, and get the iText code? or something like this, for example, a tool that converts an existing pdf document to iText code? I used pdf forms in a web applicatin but i

[iText-questions] How do I know when to move onto the next page?

2005-07-19 Thread John M. Gabriele
I'm using iText to create a nicely formatted doc using mostly Paragraphs (some just containing newlines for spacing purposes) and PdfPTables (letting iText decide where this stuff lands on the page). My doc happens to also have some text *manually* placed near the bottom of the doc. That text

RE: [iText-questions] visual tool for itext, filling pdf forms

2005-07-19 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nadrai Tamás Sent: Tuesday, July 19, 2005 5:11 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] visual tool for itext, filling pdf forms Hi! I'd like to ask some

Re: [iText-questions] visual tool for itext, filling pdf forms

2005-07-19 Thread Leonard Rosenthol
At 12:11 PM 7/19/2005, =?ISO-8859-2?Q?Nadrai_Tam=E1s?= wrote: I used pdf forms in a web applicatin but i couldt send hungarian characters to from fields. (because adobe didnt embedd the hungarian fonts to the form fields only to the normal text of the document) Acrobat 5 and later

[iText-questions] iText generated PDF wont open directly in Adobe

2005-07-19 Thread Less, Doug
We have been using iText to generate PDF files as a reporting solution. This works great in Windows 2000 with Adobe 7.0 installed, however in Windows XP (with Adobe 7.0) all iText generated PDF documents are intercepted by Windows XP as 'corrupt' or 'of the wrong file type' and wont open

[iText-questions] webdav urls in Image.getInstance(URL url)

2005-07-19 Thread Cédric REYMANN
Hello, In order to generate my pdf, I need to instanciate an Image from a webdav directory with an URL of the form https://mywebserver.com/webdav/; It seems that the webdav is accessed as the guest user. Of coures, it's absolutely logical but the problem is that I need authentication so that we

[iText-questions] iText, iTextSharp, iTextDotNet

2005-07-19 Thread Rebecca
I have just found these projects within the last few days, and I am getting extremely confused. Which should I be using? There does not appear to be a published api for all the projects, and they are different. I can't use the api for iText on iTextSharp, it gives me errors. All I want to

RE: [iText-questions] webdav urls in Image.getInstance(URL url)

2005-07-19 Thread Bill Ensley
Can you access the webdav using java alone? if you can, get the image as a byte[] and then pass it to iText -Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Cédric REYMANN Sent: Tuesday, July 19, 2005 7:59 AM To:

RE: [iText-questions] iText generated PDF wont open directly in Adobe

2005-07-19 Thread Paulo Soares
iText is innocent, look for the butler or IE. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Less, Doug Sent: Tuesday, July 19, 2005 3:29 PM To: 'itext-questions@lists.sourceforge.net' Subject: [iText-questions] iText generated PDF wont open

RE: [iText-questions] webdav urls in Image.getInstance(URL url)

2005-07-19 Thread Paulo Soares
iText has nothing to do with webdav or any other authentication, it uses what is provided by Java. If you need anything special read the image to a byte array using whatever authentication method you like. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [iText-questions] iText generated PDF wont open directly in Adobe

2005-07-19 Thread Paulo Soares
If you generate the file to disk, does it work? If it doesn't, post the file. -Original Message- From: Less, Doug [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 7:41 PM To: Paulo Soares; Less, Doug; itext-questions@lists.sourceforge.net Subject: RE: [iText-questions] iText

RE: [iText-questions] iText, iTextSharp, iTextDotNet

2005-07-19 Thread Paulo Soares
Let's see what we have: iText - the original, in Java itextdotnet - a port to J# itextsharp - a port to C# with some API changes (just the name or property replacing function) to make it more C# look and feel and to solve some conflicts it had with VB.NET Both ports are up-to-date. Whatever

[iText-questions] Unreadable RTF

2005-07-19 Thread Bhasker Konakanchi
Hi, I have this ColdFusion web application that generates RTF Documents using IText 1.3 This application was working great until a week ago. But now I try to generate this RTF document it is dumping all the meta information in the generated file. I don't remember changing any of this code in

RE: [iText-questions] iText, iTextSharp, iTextDotNet

2005-07-19 Thread Francisco Carvalho
Hey Paulo, I've tried to use iTextSharp instead of iTextDotNet, but the event onEndPage() stops working. my class inherits from PdfPageEventHelper. What am I doing wrong? Francisco Paulo Soares [EMAIL PROTECTED] 07/19/05 11:50 AM Let's see what we have: iText - the original, in Java

Re: [iText-questions] Hello, I can not toi create PDF on the fly using iText library, can you help me, please?

2005-07-19 Thread Philip Newton
On 7/18/05, LEOS CAMARILLO, ANGELICA [EMAIL PROTECTED] wrote: Hello i am using jsp file, it show a report Html format, but how can I convert it in PDF format, I analized iText library, but I find I have to add every element to the document object (document.add(new Paragraph(Hello

RE: [iText-questions] Invalid PDF generated (fwd)

2005-07-19 Thread Chris Wilson
(sorry, sent with wrong source address, resending) Hi Paulo, Works for me in GS and Acrobat. Note that you have javascript in the pdf to print and that's what is causing the message. Thanks for the quick response. Now I can't reproduce the GS crash by changing the code back :-( but the

Re: [iText-questions] rectangle, table to a position

2005-07-19 Thread Philip Newton
On 7/19/05, Nadrai Tamás [EMAIL PROTECTED] wrote: 1. I'd like to ask if I can draw a rounded rectangle, like those two in this example. You can certainly do it Direct Content -- see part 4 of the tutorial ( http://itextdocs.lowagie.com/tutorial/#part4 ). That would require you to draw them

Re: [iText-questions] How do I know when to move onto the next page?

2005-07-19 Thread John M. Gabriele
--- I [EMAIL PROTECTED] wrote: [snip] While I'm adding text to this page (to big PdfPCell in a PdfPTable in the middle of the page), what I need is a way to add a new page once the text I'm adding reaches a certain point down the page. The only way I can figure to do that is to count

Re: [iText-questions] concatenating a large number of pdf files

2005-07-19 Thread R K
try this PdfCopyFields copy = new PdfCopyFields(new FileOutputStream(outputFile)); PdfReader reader = null; for (int i = 0; i pages.size(); i++) { reader = new PdfReader(filePath + pages.get(i)); copy.addDocument(reader); } copy.close(); On

[iText-questions] Help with OnEndPage

2005-07-19 Thread Francisco Carvalho
I'm not able to get the OnEndPage to fireup what am I doing wrong? using System.IO; using iTextSharp.text; using iTextSharp.text.pdf; .. private void button1_Click(object sender, System.EventArgs e) { Document document = new Document(PageSize.LETTER,40,10,10,60); PdfWriter

Re: [iText-questions] Help with OnEndPage

2005-07-19 Thread Francisco Carvalho
Figured it out, just in case anyone wonder: public class Letter : PdfPageEventHelper { public void write() { Document document = new Document(PageSize.LETTER,40,10,10,60); PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(hello.pdf,

Re: [iText-questions] iText generated PDF wont open directly in Adobe

2005-07-19 Thread Bear Giles
I may have a related problem. My boss says that he's getting damaged file warning when he opens the documents I produce with 1.3.1. This is happening with both files generated from scratch and an Adobe created document where I filled in multiple form fields. His details: Windows Version 5.1

RE: [iText-questions] Invalid PDF generated

2005-07-19 Thread Chris Wilson
Hi Paulo, Works for me in GS and Acrobat. Note that you have javascript in the pdf to print and that's what is causing the message. Thanks for the quick response. Now I can't reproduce the GS crash by changing the code back :-( but the table cell containing the image doesn't display at all.

Re: [iText-questions] Invalid PDF generated

2005-07-19 Thread Paulo Soares
I don't know if you noticed but your GS version is really old. - Original Message - From: Chris Wilson [EMAIL PROTECTED] To: Paulo Soares [EMAIL PROTECTED] Cc: itext-questions@lists.sourceforge.net Sent: Tuesday, July 19, 2005 8:56 PM Subject: RE: [iText-questions] Invalid PDF generated

Re: [iText-questions] iText generated PDF wont open directly in Adobe

2005-07-19 Thread Paulo Soares
Show me the damaged files. - Original Message - From: Bear Giles [EMAIL PROTECTED] To: Less, Doug [EMAIL PROTECTED] Cc: itext-questions@lists.sourceforge.net Sent: Tuesday, July 19, 2005 11:05 PM Subject: Re: [iText-questions] iText generated PDF wont open directly in Adobe I may have

Re: [iText-questions] Invalid PDF generated

2005-07-19 Thread Chris Wilson
Hi Paulo, I don't know if you noticed but your GS version is really old. I hadn't noticed, thanks for pointing it out. I tried with GS 8.14 and it doesn't crash, so it does indeed appear to be a bug in the old Ghostscript. (shame that 8.x is non-Free). Also, I was following the advice on

Re: [iText-questions] How do I know when to move onto the next page?

2005-07-19 Thread Philip Newton
On 7/19/05, John M. Gabriele [EMAIL PROTECTED] wrote: BaseFont bf = BaseFont.createFont( BaseFont.HELVETICA, BaseFont.CP1252, BaseFont.NOT_EMBEDDED ); // No idea what that CP1252 means. Code page 1252 -- the Windows Western code page used for most Western European languages. Basically says