[iText-questions] Re: Check if Form is Submittable Online

2005-10-10 Thread Neil Robertson-Ravo
hmm...interesting. Anyone know of any working examples? Surely this isnt the first time this has been asked ;-) Leonard Rosenthol wrote: At 04:37 PM 10/10/2005, Neil Robertson-Ravo wrote: Well, I already have a set of all the fields in any PDF; I was thinking based on your original co

[iText-questions] Can we Insert Java Script programmatically into an existing PDF document using iText

2005-10-10 Thread Khasim Rafiuddin Lodge
Hi Can we insert Java script into an existing PDF document using iText PDF library. If so how can we do that? We have tried the following but are not successful to do so on an existing PDF document. We are evaluating iText to fill existing PDF forms in our project. Currently our task is to in

[iText-questions] Re: Check if Form is Submittable Online

2005-10-10 Thread Neil Robertson-Ravo
Well, I already have a set of all the fields in any PDF; I was thinking based on your original comments there were standard way of finding if a form is submittable but it looks like you have to introspect each field itself to find out? Leonard Rosenthol wrote: At 04:12 PM 10/10/2005, Ne

Re: [iText-questions] Check if Form is Submittable Online

2005-10-10 Thread Neil Robertson-Ravo
Well, yeah we can dicate the Adobe Reader required. >> Well, you can certainly tell if a PDF has an action associated with it that is a "Submit Form" action - which is the simple & historical way for form submission. This is well defined and not too difficult to develop a test for (either

Re: [iText-questions] Check if Form is Submittable Online

2005-10-10 Thread Neil Robertson-Ravo
Hey Leonard, Well, in essence the PDF's will be agency created and may or may not be allowed to be submitted online (this is on Windows, they could be viewed standalone or in browser). I am basically trying to fathom if I can tell if the PDF can be submitted online (to a CGI script or alike).

Re: [iText-questions] re: input stream

2005-10-10 Thread Bruno Lowagie
Dilan wrote: PdfStamper stamper = new PdfStamper(reader,fout,'\0'); What is that '\0' doing? Have you tried removing it? br, bruno --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussio

[iText-questions] How to draw thin lines?

2005-10-10 Thread Gabriel Cristian Ditu
Hi, I'm trying to create a PDF document with some music content for my PhD thesis via iText. The music characters come from a music font and will be individually placed. The font that I am using does not have a staff character, nor does it have simple note stems, so I'm trying to draw the

[iText-questions] re: input stream

2005-10-10 Thread Dilan
Hello, I have this simple java code, public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { Try { OutputStream out = response.getOutputStream(); String CONTENT_TYPE = "applica

[iText-questions] Re: Check if Form is Submittable Online

2005-10-10 Thread Leonard Rosenthol
At 04:37 PM 10/10/2005, Neil Robertson-Ravo wrote: Well, I already have a set of all the fields in any PDF; I was thinking based on your original comments there were standard way of finding if a form is submittable but it looks like you have to introspect each field itself to find out?

Re: [iText-questions] Check if Form is Submittable Online

2005-10-10 Thread Leonard Rosenthol
At 04:12 PM 10/10/2005, Neil Robertson-Ravo wrote: Well, yeah we can dicate the Adobe Reader required. >> Well, you can certainly tell if a PDF has an action associated with it that is a "Submit Form" action - which is the simple & historical way for form submission. This is well defined a

Re: [iText-questions] Check if Form is Submittable Online

2005-10-10 Thread Leonard Rosenthol
At 03:48 PM 10/10/2005, Neil Robertson-Ravo wrote: Well, in essence the PDF's will be agency created and may or may not be allowed to be submitted online (this is on Windows, they could be viewed standalone or in browser). Not allowed by some rules/policy outside the programming system

Re: [iText-questions] PdfReader and layers

2005-10-10 Thread Paulo Soares
Your page has probably a big white rectangle that obscures the text placed behind. Try to place the text over to check it out. - Original Message - From: "Brent Vaughn" <[EMAIL PROTECTED]> To: Sent: Monday, October 10, 2005 3:17 PM Subject: RE: [iText-questions] PdfReader and layers I'

Re: [iText-questions] Check if Form is Submittable Online

2005-10-10 Thread Leonard Rosenthol
At 09:33 AM 10/10/2005, Neil Robertson-Ravo wrote: Is it possible to check if a PDF is submittable online? i.e can you detect its form action or if you can post your form entries to the web? What is it that you are really trying to achieve here? I ask, because there is a LOT m

[iText-questions] Check if Form is Submittable Online

2005-10-10 Thread Neil Robertson-Ravo
Is it possible to check if a PDF is submittable online? i.e can you detect its form action or if you can post your form entries to the web? TIA Neil --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content,

RE: [iText-questions] first setPageSize doesn't work

2005-10-10 Thread Josep Miquel Garcia Rodriguez
Thanks for the fast reply, the problem was that you pointed, I have to do the document.open() after setPageSize() Thanks for the great work!! -Original Message- From: Bruno Lowagie [mailto:[EMAIL PROTECTED] Sent: lunes, 10 de octubre de 2005 14:30 To: Josep Miquel Garcia Rodriguez Cc: i

Re: [iText-questions] Page breaks for RTF files

2005-10-10 Thread Mark Hall
On Monday 10 October 2005 09:22, Ravindran Rabindran wrote: > For the page breaks, I have used document.newPage() > for boths instances. Is there a way I could force the > {/page} RTF codes into the output stream, or is there > another method() I should be using? I've tested this here and document.

RE: [iText-questions] PdfReader and layers

2005-10-10 Thread Brent Vaughn
I'm not sure what you mean by "blacked out" text. I am trying to write to the UnderContent layer of an existing PDF that I read into a PDFReader. Here is the code: ByteArrayOutputStream baos = new ByteArrayOutputStream(); PdfReader reader = new PdfReader("C:/Dev/TestPDFs/36CH5002.pdf"); PdfS

Re: [iText-questions] first setPageSize doesn't work

2005-10-10 Thread Bruno Lowagie
Josep Miquel Garcia Rodriguez wrote: I know that you can do: Document document = new Document(PageSize.A4.rotate()); and then it works well. But in my case I can't use tha way. I didn't understand the question. It is as Gustaf says: newPage doesn't trigger a new page if the page is

Re: [iText-questions] first setPageSize doesn't work

2005-10-10 Thread Gustaf Andersson
Gustaf Andersson wrote: >I haven't confirmed this (no time) but I think u have to do this instead: > >// step 3: we open the document >document.open(); >document.setPageSize(PageSize.A4.rotate()); > >// step 4: we add some content >

Re: [iText-questions] first setPageSize doesn't work

2005-10-10 Thread Gustaf Andersson
I haven't confirmed this (no time) but I think u have to do this instead: // step 3: we open the document document.open(); document.setPageSize(PageSize.A4.rotate()); // step 4: we add some content document.add(new Paragraph("

RE: [iText-questions] FullCompression and signing

2005-10-10 Thread Paulo Soares
PdfReader.isNewXrefType() > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Robert Esterer > Sent: Monday, October 10, 2005 12:36 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] FullCompression and signing > > Hello, >

[iText-questions] FullCompression and signing

2005-10-10 Thread Robert Esterer
Hello, I have a question about detecting 1.5 Compression in iText. I noticed that the compression is lost after signing so I wanted to keep it by manually calling "setFullCompression()" on my stamper. It basically works, the only problem is that I don't know if the original PDF was compressed or n

[iText-questions] first setPageSize doesn't work

2005-10-10 Thread Josep Miquel Garcia Rodriguez
Hi all,   I'm new in this list, after searching a litle in archives I can't find anything about that.   I think this is a bug. Here the code:   Document document = new Document();        try {        // step 2:    // we create a writer that lis

[iText-questions] Adding combo-box elements programmatically

2005-10-10 Thread Nitin Tomer
Hi,       I am new to iText forum and thi sis my first post. We use PDF forms in a business process. The form is created manually using Adobe Acrobat professional. In this form I want to populate elements in a  combo box programmatically. Please suggest some way to do that.   Regards   Nitin

[iText-questions] Table border

2005-10-10 Thread Daniel Łaś
Hi What is smallest possible PdfPCell border width? It seems, that there is no difference between 0.5 and 0.1. How can make table border smaller than this? Regards -- Daniel Łaś <[EMAIL PROTECTED]> e-direct Polska sp. z o.o. ul. 1-go Maja 9 45-068 Opole tel. +48 77 44 17 868 --

[iText-questions] Page breaks for RTF files

2005-10-10 Thread Ravindran Rabindran
Hello all, I have an application written in JSP that generates output in either PDF or RTF format. Everything seems to turn up well for both formats except for the page breaks. The page breaks are ok in PDF but they don't appear in RTF. When scanning thru the RTF codes within the RTF file, I not

[iText-questions] How to reduce pdf file size

2005-10-10 Thread Reddy, Damodar
Hi,     We used iText to fill the acrobat pdf template file dynamically, which has fields. iText is very good option for us. Everything is fine except my file become too large (1 MB) after the generation. I would like to know how to compress the generated file. I would like to kno