Re: [iText-questions] Re: [iText-questions] Re: [iText-questions] File 'ap026478.fdf' format not supported?? Does not start with %PDF??

2006-05-03 Thread Bruno Lowagie
Kai Hemme-Unger wrote: Thanks for that hint. Yes, I already use contentLength. Now, I will add: response.addHeader("Content-Disposition", "attachment;filename=" + tempFile.getName()); I found out that the problem is solved by an update to Acrobat Reader 7.0.7. That's not an expla

[iText-questions] Insert images into forms using PdfStamper?

2006-05-03 Thread Bear Giles
I'm reading blank PDF documents with PdfStamper, populating the form fields, and passing the resulting PDF documents to various parties. Fine so far... but now they want to replace a graphic with hand-drawn annotations (on the physical paper) with uploaded photographs. I can put images into a

[iText-questions] Re: How to split a PDF A3 page into 2 PDF A4 pages

2006-05-03 Thread Carsten Hammer
Hi Fred, should be possible: use the handouts or the nup plugin as start and change it to write out the input page twice. The attached example plugin reverts the effect of the NUp plugin by placing the two pages not side by side but on two different pages. To do what you want you just have to i

Re: [iText-questions] Support for PDF forms created using Adobe Forms Designer 7.0 or higher

2006-05-03 Thread Paulo Soares
Set/get fields in static forms will soon be supported. Paulo - Original Message - From: "Dilip Ladhani" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 03, 2006 9:53 PM Subject: [iText-questions] Support for PDF forms created using Adobe Forms Designer 7.0 or higher Hey guys, I am t

[iText-questions] Support for PDF forms created using Adobe Forms Designer 7.0 or higher

2006-05-03 Thread Dilip Ladhani
Hey guys,   I am trying to modify a pdf created in Adobe Designer 7.0 using itext. I am trying to use PDFStamper and AcroFields for this purpose. However this is not working without flattening, which I can't afford to do.   On browsing this list I found that Adobe Forms Designer 7.0 or higher is n

RE: [iText-questions] iText and AcroForms

2006-05-03 Thread Mark Storer
To answer #1: You may be running into one of the limits of iText. It won't build appearances for buttons of any kind out of the box. This has several effects: 1) You can't flatten a button, checkbox, or radio button. 2) You need to set the "needsAppearances" flag when writing out the PDF so A

[iText-questions] Re: [iText-questions] Re: [iText-questions] File 'ap02 6478.fdf' format not supported?? Does not start wi th %PDF??

2006-05-03 Thread Kai Hemme-Unger
Thanks for that hint. Yes, I already use contentLength. Now, I will add: response.addHeader("Content-Disposition", "attachment;filename=" + tempFile.getName()); I found out that the problem is solved by an update to Acrobat Reader 7.0.7. That's not an explanation but at least some ki

Re: [iText-questions] fonts in pdfptable

2006-05-03 Thread Paulo Soares
A Phrase is created for every cell, you have nothing to gain there. Paulo - Original Message - From: "Marc Fick" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 03, 2006 3:21 PM Subject: [iText-questions] fonts in pdfptable Is there really no way to set the font for an entire table o

[iText-questions] fonts in pdfptable

2006-05-03 Thread Marc Fick
Is there really no way to set the font for an entire table or document in iText? It would seem that setting the font on the default cell would make sense, but I don't see any way to do that. I'm using this to build a large table and it would seem inefficient to create a paragraph or phrase objec

Re: [iText-questions] iText and AcroForms

2006-05-03 Thread Rakesh Patel
Thanks for the reply. I'm going to try and load the file and see if it looks in the classpath. if that fails, i'll go with your approach. BTW, the checkboxes work (something to do with how the AcroForm was designed was the problem). Cheers Rakesh Hicks, Shaun wrote: You can definitely c

RE: [iText-questions] iText and AcroForms

2006-05-03 Thread Hicks, Shaun
You can definitely create it via a ByteArrayOutputStream. We're doing it now from Tomcat for many different reports based on itext and JasperReports. I just use a web.xml parameter to define the "home" for the PDFs and reference it from the servlet generating the content. Example: (Inside the

RE: [iText-questions] Consideration to Use iText

2006-05-03 Thread Bill Ensley
Also, don't forget that this list is listened to by many many competent programmers that only pipe in when They have an answer for you. You'll be pleasantly surprised by how much support you will find once You start posting specific questions. -Bill Ensley Bear Printing -Original Message---

[iText-questions] How to split a PDF A3 page into 2 PDF A4 pages

2006-05-03 Thread Fred Stoopendaal
I have an PDF file with A3 and A4 pages. I like to split the A3 page into 2 A4 pages. Is this possible with itext. and if so how can I do that.  

[iText-questions] iText and AcroForms

2006-05-03 Thread Rakesh Patel
Hi all, trying to put it all the pieces together and generate pdfs in my web app but have run into some issues: 1. Inserting text into the pdf works but setting the checkboxes doesn't. I found a forum entry saying to set the checkbox to "1". Here's what I'm doing: form.setField("Frau", "1"

Re: [iText-questions] Re: [iText-questions] File 'ap026478.fdf' format not supported?? Does not start with %PDF??

2006-05-03 Thread Farid SALAH
Le 3 mai 06 à 14:14, Kai Hemme-Unger a écrit : Farid, IE names the file that it reads from the FileStream. So naming of the file is not in my scope. I have wondered why it names the file like *.fdf, too... BR, Kai Have you tried something like this ? I suppose that as you ask question

Re: [iText-questions] Field renaming trouble with a form created in Adobe Designer 7

2006-05-03 Thread Mika Majakorpi
Thanks for you quick response Paulo, although the answer was not quite what I was hoping for :)Can you give me an example of a way to convert a PDF with an XFA form to a "normal" one? I've tried the pdftk burst option which seems to give me a PDF 1.4 file but I still get the garbled field names af

[iText-questions] Re: [iText-questions] File 'ap026478.fdf' format not s upported?? Does not start with %PDF??

2006-05-03 Thread Kai Hemme-Unger
Farid, IE names the file that it reads from the FileStream. So naming of the file is not in my scope. I have wondered why it names the file like *.fdf, too... BR, Kai > -Ursprüngliche Nachricht- > Von: itext-questions@lists.sourceforge.net > Gesendet: 03.05.06 13:27:23 > An: itext-qu

Re: [iText-questions] File 'ap026478.fdf' format not supported?? Does not start with %PDF??

2006-05-03 Thread Farid SALAH
Kai Hemme-Unger a écrit : Hallo, here is the case: The servlet runs properly and I can download the PDF-Stream and display the document on my developer machine. When I try to open the stream in IE 5.5 on our test client I receive an alert which says something like "File 'ap026478.fdf' format u

[iText-questions] Re: [iText-questions] File 'ap026478.fdf' format not s upported?? Does not start with %PDF??

2006-05-03 Thread Kai Hemme-Unger
Bruno, thanks for your quick reply. I opened the file in notepad, here are the first lines: %PDF-1.4 %âãÏÓ 27 0 obj <>/Subtype/Image/Width 546>>stream xœíÝpÔõÇñ7ɰIܐt ",ˆB ƒl)–ŽÓ€PÒ©èuPZEgl'j¥Ö:ž„éuæ€öª¶7bGnÎà W®[2$h ”°ÁH~ æ×–d3É ÷ÇjîËþü~Ÿ»Ÿý~6>Ãìòý~÷Ìì+Ÿ_ïÏ5W®\ There has

RE: [iText-questions] Field renaming trouble with a form created in Adobe Designer 7

2006-05-03 Thread Paulo Soares
iText doesn't support forms created with Designer. If the form is originally XFA you'll have to recreate it by some other way as a "normal" form.   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mika MajakorpiSent: Wednesday, May 03, 2006 11:52 AMTo:

[iText-questions] Field renaming trouble with a form created in Adobe Designer 7

2006-05-03 Thread Mika Majakorpi
I'm trying to batch rename fields in PDFs created with Designer 7 but I get garbled field names. The fields are named like this by default: FormName[0].PageName[0].User_entered_field_name[0]. I'm trying to remove the last indexing construct ([0]) but I end up with field names having some asian char

Re: [iText-questions] File 'ap026478.fdf' format not supported?? Does not start with %PDF??

2006-05-03 Thread Bruno Lowagie
Kai Hemme-Unger wrote: Hallo, here is the case: The servlet runs properly and I can download the PDF-Stream and display the document on my developer machine. When I try to open the stream in IE 5.5 on our test client I receive an alert which says something like "File 'ap026478.fdf' format unk

[iText-questions] File 'ap026478.fdf' format not supported?? Does no t start with %PDF??

2006-05-03 Thread Kai Hemme-Unger
Hallo, here is the case: The servlet runs properly and I can download the PDF-Stream and display the document on my developer machine. When I try to open the stream in IE 5.5 on our test client I receive an alert which says something like "File 'ap026478.fdf' format unknown" or even somethin

RE: [iText-questions] Soft-Mask Dictionaries

2006-05-03 Thread Paulo Soares
Here it is a simple example. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Leonard Rosenthol > Sent: Thursday, April 27, 2006 8:27 PM > To: itext-questions@lists.sourceforge.net; > itext-questions@lists.sourceforge.net > Subject: Re: [

Re: [iText-questions] can i get only my desired pages from existing file using PdfStamper

2006-05-03 Thread bruno
abc xyz wrote: ** hi all i m trying to make changes in existing file. i want add only desired pages in new file, for example existing file has 10 pages but i need only page# 2,5,9. when i create PsfStamper instance all 10 pages are copied into new file . i know i can do

[iText-questions] can i get only my desired pages from existing file using PdfStamper

2006-05-03 Thread abc xyz
  hi all i m trying to make changes in existing file. i want add only desired pages in new file, for example existing file has 10 pages but i need only page# 2,5,9. when i create PsfStamper instance all 10 pages are copied into new file . i know i can do this by using PdfCopy. but i have to us

Re: [iText-questions] Splitting big tables

2006-05-03 Thread bruno
Miroslav Simudvarac wrote: Dear Sir, how can I define where on the Page a big Table should split. On a report I have to implement very large headers and footers with graphics and text, so the table has only about 30% place on the page. I tried setting margins and the spaceafter but the table a

[iText-questions] Splitting big tables

2006-05-03 Thread Miroslav Simudvarac
Dear Sir, how can I define where on the Page a big Table should split. On a report I have to implement very large headers and footers with graphics and text, so the table has only about 30% place on the page. I tried setting margins and the spaceafter but the table allways split on the same posit

Re: [iText-questions] XML and fonts

2006-05-03 Thread Amir Mechouk
bruno wrote: > Amir wrote: > >> Hi, i'm stuck :) >> >> I've been trying to create a pdf from XML but i'm stuck on trying to >> define the fonts. >> >> The xml looks something like this >> >> >> >> >> >> Header >> >> >> >> Some random text >> >> >> >>

Re: [iText-questions] XML and fonts

2006-05-03 Thread bruno
Amir wrote: Hi, i'm stuck :) I've been trying to create a pdf from XML but i'm stuck on trying to define the fonts. The xml looks something like this Header Some random text More random text To

Re: [iText-questions] Consideration to Use iText

2006-05-03 Thread Prince Soundararajan
Thank You very much Bruno. I have forwarded your findings and email to my managers and I am confident that they will take a decision to go ahead with the use of iText soon. I am amazed by the support provided from all of you Bruno, Paulo and Alan Keown for this product. It now makes me more con