[iText-questions] Character Spacing in paragraph with ColumnText

2009-06-09 Thread suresh patidar
Hello, i am using ColumnText class to add paragraph in pdf file. i want to set Character Spacing in paragraph but Paragraph and ColumnText class has no method to set Character Spacing. so how can i do it. -- Crystal

Re: [iText-questions] Character Spacing in paragraph with ColumnText

2009-06-09 Thread 1T3XT info
suresh patidar wrote: Hello, i am using ColumnText class to add paragraph in pdf file. i want to set Character Spacing in paragraph but Paragraph and ColumnText class has no method to set Character Spacing. so how can i do it. You don't. Using the higher level objects, you can only

Re: [iText-questions] Replace XFA in a Acrobat form.

2009-06-09 Thread Marian Aldenhövel
Hi, But there must be something wrong with that data, I think so as well. We have started recreating the forms we're playing with from scratch and so far it works fine. Thank you very much for taking your time. If you choose to use iText for form filling, I think we should cooperate in

Re: [iText-questions] Replace XFA in a Acrobat form.

2009-06-09 Thread Bruno Lowagie
Marian Aldenhövel wrote: We are really just prototyping and demoing at this point. If this turns out to become a real project we'll definitely be back. We'll also know better what it is exactly we are trying to achieve and can formulate that into more formal requests. OK, there's much room

Re: [iText-questions] Character Spacing in paragraph with ColumnText

2009-06-09 Thread suresh patidar
Thanks can i write code like this ? PdfWriter writer = PdfWriter.getInstance(document, newFileOutputStream(RESULT+.pdf)); document.open(); PdfContentByte cb = writer.getDirectContent(); ColumnText ct = new ColumnText(cb);

[iText-questions] itext report as attachement in email

2009-06-09 Thread Gerardo Corro
Hi itext people, I was wondering how could I create a PDF report and send it as an email attachment. Is there a way to create the report in memory and attach it to an email? I mean, I would not like to create the report on disk and have the email reading the file system to attach the report.

[iText-questions] Checkbox issues

2009-06-09 Thread Javeed, Zeeshan
Hi, I have two kinds of Check Boxes in Pdf document. One check box display X (cross ) sign on click while the others dispaly ? ( right sign ). Itext report both as check boxes as field type. But only the earlier one ( with Cross Sign) are displayed on form as market when i set to 'On'.

Re: [iText-questions] Action Types

2009-06-09 Thread Tobias van Treeck
Hi, i have to check existing pdfs and if certain values does exist i have to remove them. The goal is to make them ISO PDF/A compatible. As defined in the ISO 19005 standard: The Launch, Sound, Movie, ResetForm, ImportData and JavaScript actions shall not be permitted. And since out there some

[iText-questions] PdfDictionary.isFont(), .isPages() etc.

2009-06-09 Thread Christian Kirchhoff
Hello, I want to use iText to examine existing pdf files, not to create new ones. While playing around with the ClimbTheTree example I had the feeling that the functions mentiones in the subject to not work as I would expect them to work. For example when I want to iterate through all

Re: [iText-questions] Checkbox issues

2009-06-09 Thread Paulo Soares
See AcroFields.getAppearanceStates(). Paulo -Original Message- From: Javeed, Zeeshan [mailto:zeeshan.jav...@qsc.de] Sent: Tuesday, June 09, 2009 11:46 AM To: iText-questions@lists.sourceforge.net Subject: [iText-questions] Checkbox issues Hi, I have two kinds of Check Boxes

Re: [iText-questions] PdfDictionary.isFont(), .isPages() etc.

2009-06-09 Thread Paulo Soares
-Original Message- From: Christian Kirchhoff [mailto:christian.kirchh...@editura.de] Sent: Tuesday, June 09, 2009 11:35 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] PdfDictionary.isFont(), .isPages() etc. But then what is the purpose of those

Re: [iText-questions] itext report as attachement in email

2009-06-09 Thread glen . hamel
That would be outside the scope of this mailing list.. Glen Hamel Lead Programmer / Technician Auric Networks Canada, Inc. 570 Orwell Street, Unit 1 Mississauga, Ontario L5A 3V7 Phone 905.361.7621 Fax 905.274.3912 http://www.auricnet.ca From: Gerardo Corro rob_gar_...@hotmail.com To:

Re: [iText-questions] Action Types

2009-06-09 Thread 1T3XT info
Tobias van Treeck wrote: Or is there another way to detect which pdf objects are in violation of the PDF/A standard (with iText)? You use iText to retrieve dictionaries, then you check certain keys of that dictionary. You probably check keys with a PdfName as value. OK, so far, so good, but

Re: [iText-questions] itext report as attachement in email

2009-06-09 Thread 1T3XT info
Gerardo Corro wrote: Hi itext people, I was wondering how could I create a PDF report and send it as an email attachment. Is there a way to create the report in memory and attach it to an email? I mean, I would not like to create the report on disk and have the email reading the file

Re: [iText-questions] Action Types

2009-06-09 Thread Tobias van Treeck
My question/remark is that there are certain keys missing: For instance i can check wether the openaction contains javascript (code is shortened): root.get(PdfName.OPENACTION).get(PdfName.S).equals(PdfName.JAVASCRIPT) However i can not do the following because there are no such keys:

Re: [iText-questions] Action Types

2009-06-09 Thread Leonard Rosenthol
Add the keys yourself - they are just strings... Also, be aware that that check is ONLY checking document-level actions, but that PDF/A disallows those actions EVERYWHERE that Actions are allowed (of which there are many). Leonard On 6/9/09 4:07 PM, Tobias van Treeck tvtre...@nepatec.de

[iText-questions] umlaut problem in text

2009-06-09 Thread Javeed, Zeeshan
Hi, When I change acro fields using iText and place some special character ( Normal German characters ) like Köln , the spcial character does not appear on the form, but only, 'Kln'. But when I click on that filed, or as soon as that field got focus, it appears , Köln, and when you take

Re: [iText-questions] PdfDictionary.isFont(), .isPages() etc.

2009-06-09 Thread Leonard Rosenthol
This is the COMPLETELY WRONG WAY to find all fonts in a PDF. You need to navigate down the logical tree, starting at the /Catalog and then going through the /Pages tree, finding all content streams, checking their resources, etc. Leonard On 6/9/09 12:35 PM, Christian Kirchhoff

Re: [iText-questions] Checkbox issues

2009-06-09 Thread Leonard Rosenthol
Quick PDF explanation. First, there are two types of forms technologies in PDF, AcroForms and XFA. Each has a checkbox “type” Second, each form field “type” in PDF has a set of “appearances” associated with it – up, down, etc. These can look like ANYTHING YOU WANT. Third, the values of a

Re: [iText-questions] Action Types

2009-06-09 Thread Leonard Rosenthol
If you are trying to write a PDF/A validator using iText - let alone one that also corrects - you have a HUGE AMOUNT of work ahead of you. Things such as actions are trivial compared to the work you are going to have to do for colors, fonts and metadata... Leonard On 6/9/09 10:48 AM, Tobias

Re: [iText-questions] itext part of jboss crash

2009-06-09 Thread Adam Paeth
I realize I can't really complain too much because itext is a freely availble piece of software. However, out of all the libraries that we use with our software itext seems to be the only one that crashes jboss. All other libraries play nice and throw exceptions and allow our system to keep

Re: [iText-questions] Action Types

2009-06-09 Thread Tobias van Treeck
Hi Leonard, Also, be aware that that check is ONLY checking document-level actions, but that PDF/A disallows those actions EVERYWHERE that Actions are allowed (of which there are many). Yes i know. My intention is to specifically remove the document level actions. According to pdf spec i

Re: [iText-questions] itext part of jboss crash

2009-06-09 Thread Mike Marchywka
Date: Tue, 9 Jun 2009 10:00:30 -0500 From: apaeth To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] itext part of jboss crash I realize I can't really complain too much because itext is a freely availble piece of software.

Re: [iText-questions] Action Types

2009-06-09 Thread Leonard Rosenthol
You misunderstood my point... You are only looking at Actions that appear at the document level. But Actions can also appear at the Page level, the Annotation level, the Widget level, the Bookmark level, etc. You need to be looking for actions in each and every one of these places. I

Re: [iText-questions] Action Types

2009-06-09 Thread Tobias van Treeck
Hi Leonard, If you are trying to write a PDF/A validator using iText – let alone one that also corrects – you have a HUGE AMOUNT of work ahead of you.  Things such as actions are trivial compared to the work you are going to have to do for colors, fonts and metadata... As i already

Re: [iText-questions] umlaut problem in text

2009-06-09 Thread 1T3XT info
Javeed, Zeeshan wrote: any help ? This has been answered over and over and over again. Please read the documentation! The font you've specific for the form field (if any) doesn't have the glyph ö, you have to choose another font for the form field. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] Action Types

2009-06-09 Thread Tobias van Treeck
You misunderstood my point... No i didn't. Maybe i didn't explain it enough You are only looking at Actions that appear at the document level. That was my explicit intention! But Actions can also appear at the Page level, the Annotation level, the Widget level, the Bookmark level, etc.  

[iText-questions] Concatenating PDF Files

2009-06-09 Thread amar_m
I have a set of pdf files with links to other pdf files. I would like to concatenate all of them into one single pdf file. I am able to do this, and as expected the links are still pointing to the external PDF files. I need to be able to redirect the links to point to the current page within my

Re: [iText-questions] Re garding JSP to PDF Conversion

2009-06-09 Thread mister bean
Mike: If I read it correctly, Bruno's point is that what you're describing is *not* converting a JSP page to PDF. A JSP is a template with commands to the servlet engine, bits of HTML, etc. Why would anyone turn a JSP file into a PDF? As I read it, the OP's question (if not taken literally)