Re: [iText-questions] generate XML from PDF

2009-02-24 Thread Alexis Pigeon
Hi Sweta, 2009/2/24 Sweta Pandya sweta.pan...@tcs.com Hi I am generated PDF by using iText (through Java). Now i want to generate XML (click of one button user can save that locally). how can i proceed in that? Why would you use iText to generate an XML file? Cheers, alexis

Re: [iText-questions] generate XML from PDF

2009-02-24 Thread Sweta Pandya
Hi I am facing two different problems when generating XML by two different method of AcroJS. 1) when using XMLData.parse() x.saveXML(\pretty\);Its give me XML data in string format. Now problem is that how user save this xml data locally. 2) if i am using exportAsXFDF exportXFAData for

Re: [iText-questions] alternative to Batik for SVG images

2009-02-24 Thread Cool The Breezer
image.scaleToFit(PageSize.A4.getWidth(), PageSize.A4.getHeight()); That's not correct: you didn't take into account the page margins, you didn't take into account the space taken by the image title. You are right, when I reduced scale to 400, 400, image and its title appeared in one

Re: [iText-questions] alternative to Batik for SVG images

2009-02-24 Thread 1T3XT info
Cool The Breezer wrote: - Always ensure that even if the image appears in a new page, but the texts should appear properly i.e. texts that are supposed to appear after image, are appearing after image page. writer.setStrictImageSequence(true); - How can I know whether Image can be fit

Re: [iText-questions] PDF generation problem

2009-02-24 Thread mister bean
You'll probably get more response to this query if you provide more info. To wit, PDF reader, iText version, exact error message, and a copy of a failing PDF. I can't help with this, but anyone who can will need at least this information. ---mr. bean Steve Weston wrote: I've been

Re: [iText-questions] generate XML from PDF

2009-02-24 Thread 1T3XT info
Sweta Pandya wrote: 1) when using XMLData.parse() x.saveXML(\pretty\);Its give me XML data in string format. Now problem is that how user save this xml data locally. This is not possible with Adobe Reader. You need to post the XML to a server. The EULA of Adobe Reader forbids you to have

Re: [iText-questions] PHP port in the works

2009-02-24 Thread 1T3XT info
Pancho Sünderhauf wrote: So I'm asking both you and Paulo as well as any other experienced iText contributor, whether you would be ready to help me file an application and support me during GSoC. I've answered this mail privately. More info will follow. -- This answer is provided by 1T3XT

Re: [iText-questions] alternative to Batik for SVG images

2009-02-24 Thread Cool The Breezer
Thanks for help. I think I solved image problem wrt page. But the when Image appears in a new page, the image title also appears in a new page too. Any suggestion to make sure that title and image appear in the same page. - RB --- On Tue, 2/24/09, 1T3XT info i...@1t3xt.info wrote: From:

Re: [iText-questions] generate XML from PDF

2009-02-24 Thread Sweta Pandya
Hi How is it possible for a PDF created by a PDF writer to allow saving data(in reader) on local system? Regards, Sweta Hasmukhray Pandya Government Industry Solutions Unit (ISU) Tata Consultancy Services Cell:- 09979759490 Mailto: sweta.pan...@tcs.com Website: http://www.tcs.com

Re: [iText-questions] iText-questions Digest, Vol 33, Issue 73

2009-02-24 Thread JKT
itext-questions-requ...@lists.sourceforge.net wrote: Message: 2 Date: Mon, 23 Feb 2009 16:55:54 +0100 From: 1T3XT info i...@1t3xt.info Subject: Re: [iText-questions] iText-questions Digest, Vol 33, Issue 69 To: Post all your questions about iText here

Re: [iText-questions] alternative to Batik for SVG images

2009-02-24 Thread 1T3XT info
Cool The Breezer wrote: Thanks for help. I think I solved image problem wrt page. But the when Image appears in a new page, the image title also appears in a new page too. Any suggestion to make sure that title and image appear in the same page. Let me repeat the best solution: With

Re: [iText-questions] generate XML from PDF

2009-02-24 Thread 1T3XT info
Sweta Pandya wrote: Hi How is it possible for a PDF created by a PDF writer to allow saving data(in reader) on local system? This is IMPOSSIBLE when using Adobe Reader. Except if you create the PDF with an Adobe product. This is ONLY possible if the end user uses another viewer, such as

Re: [iText-questions] PHP port in the works

2009-02-24 Thread 1T3XT info
Pancho Sünderhauf wrote: If my progress is fast enough, it might be even possible to do some integration work with CMS's and other projects, or modularize iText, which both would kickstart adoption in the PHP community. I'm brainstorming here, so sorry in advance if I send you too much mail. I

Re: [iText-questions] PHP port in the works

2009-02-24 Thread 1T3XT info
1T3XT info wrote: Pancho Sünderhauf wrote: If my progress is fast enough, it might be even possible to do some integration work with CMS's and other projects, or modularize iText, which both would kickstart adoption in the PHP community. I'm brainstorming here, so sorry in advance if I

Re: [iText-questions] iText memory issue

2009-02-24 Thread CraigBo
I see that this fix has been applied to version 2.1.5. Is that version still on track to be released this month? (February 2009.) Craig I've added Deflater.end() just in case the GC is slow to call finalize(). You can get it from the SVN. Paulo -- View this message in context:

[iText-questions] iText Pdf version problem

2009-02-24 Thread starmahrshi
hello all.. for generate pdf i am using jar iText-2.1.4 , java 1.6 , Adobe Reader 9 , eclipse for server machine now pdf is generating in server machine .. no problem server sending this pdf to client machine by byte array.. and client machine also save this pdf file but if client

[iText-questions] UTF-8 compatible tooltips on annotations

2009-02-24 Thread Mike Musa
Hi, I'm using iText for Java to add annotations to existing pdf files via PdfStamper. Everything works fine until someone tried to add chinese letters, coded via UTF-8, as tooltip. Acrobat Reader displays only some of them. Letters it can't display shows the reader as square, followed by a

[iText-questions] Difference in encoding between Windows XP and iSeries OS/400

2009-02-24 Thread Van der Auwera Bernard
Hi, I encountered some difference in behaviour between the encoding in Windows and OS/400. I use iText for filling in pdf documents by means of acrofields. My proof of concept works fine on Windows, but when I transfer it to iseries it creates the pdf but no fields are filled. I

[iText-questions] TOC generation - input PDF has no bookmarks

2009-02-24 Thread Viraf Karai
I've read most of the messages in this forum with regard to TOC generation as well as looked at the examples in chapter 14 of IText In Action, but none of the examples are useful to me for what I am trying to accomplish. Essentially, I want to read in an input PDF file using IText and generate a

[iText-questions] ITEXT SOLARIS-x86

2009-02-24 Thread murakami
Hello. I am a systems engineer in Japan. Can ITEXT be used with x86 of Solaris? Good-bye. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source:

Re: [iText-questions] iText memory issue

2009-02-24 Thread 1T3XT info
CraigBo wrote: I see that this fix has been applied to version 2.1.5. Is that version still on track to be released this month? (February 2009.) Either it will be ready on Friday, or one week later. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] iText Pdf version problem

2009-02-24 Thread 1T3XT info
starmahrshi wrote: hello all.. for generate pdf i am using jar iText-2.1.4 , java 1.6 , Adobe Reader 9 , eclipse for server machine now pdf is generating in server machine .. no problem server sending this pdf to client machine by byte array.. and client machine also save this pdf

Re: [iText-questions] TOC generation - input PDF has no bookmarks

2009-02-24 Thread 1T3XT info
Viraf Karai wrote: I've read most of the messages in this forum with regard to TOC generation as well as looked at the examples in chapter 14 of IText In Action, but none of the examples are useful to me for what I am trying to accomplish. Essentially, I want to read in an input PDF file

Re: [iText-questions] ITEXT SOLARIS-x86

2009-02-24 Thread 1T3XT info
murakami wrote: Hello. I am a systems engineer in Japan. Can ITEXT be used with x86 of Solaris? Do you have a JVM on that system? If so, then yes. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

[iText-questions] HELP NEEDED - printing pdf on unix machine

2009-02-24 Thread Sathesh Kumar Sundara Raj
Hi, I'm new iText using for past 2 days. My requirement is to generate PDF and sent to network printer (silent print) on AIX machine. I have done with generating pdf file. When I explored net as well IText in Action book, it says that itext dostn't support platform-dependent printing

Re: [iText-questions] generate XML from PDF

2009-02-24 Thread Leonard Rosenthol
Just to clarify this a bit... You can CREATE the PDF with iText - no problem there. HOWEVER, in order to have it enabled for saving with Adobe Reader, you need to add some secret sauce to the PDF. The only server-based product that can do this is Adobe LiveCycle Reader Extensions Server.

Re: [iText-questions] Adding Images with Transparency

2009-02-24 Thread Leonard Rosenthol
I thought this got answered yesterday... Did you not like the answer(s)? Leonard -Original Message- From: jhart [mailto:jhartd...@gmail.com] Sent: Monday, February 23, 2009 1:51 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Adding Images with Transparency

Re: [iText-questions] UTF-8 compatible tooltips on annotations

2009-02-24 Thread Leonard Rosenthol
Two pieces of information 1) ToolTips don't use embedded fonts - they use OS fonts. 2) Text in ToolTips is either in PDDocEncoding (ISO Latin 1) _OR_ UTF16BE. I would check that the UTF8-UTF16BE conversion is happening correctly. Leonard -Original Message- From: Mike Musa

Re: [iText-questions] Adding Images with Transparency

2009-02-24 Thread Bruno Lowagie
Leonard Rosenthol wrote: I thought this got answered yesterday... Did you not like the answer(s)? Sorry, that's my bad. I think this question was posted before the mail you've answered. The thing is: plenty of people don't register before sending a mail to

Re: [iText-questions] Adding Images with Transparency

2009-02-24 Thread jhart
I apologize for all the confusion -- I didn't realize you needed to be a subscriber to the list when I posted the first time. I then got a message stating that fact and subscribed / re-submitted. I appreciate the information and will give it a go this morning with a BW BMP exported from the

[iText-questions] Antwort: Re: Adding Images with Transparency

2009-02-24 Thread Benjamin Rein
Maybe the text about the mailing list should be enhanced stating the fact that mails from not registered addresses first have to be approved by an admin. At the moment it could be unclear if not read carefully. iText has a very active mailing-list. If you don't want to register rightaway, you

[iText-questions] Creating closed bookmarks/outlines

2009-02-24 Thread Danno6000
I'm trying to create a closed bookmark with iText and not having much luck. The PDF spec says that to do this you just need to specify the Count as a negative number. I did experiment with a raw PDF file and this in fact does work. ( You change the Count, of an existing bookmark that has

[iText-questions] JavaScript action after a signature field is signed

2009-02-24 Thread Huang, Ming
I want to use iText to add some dynamic JavaScript which will be executed after a signature is signed. I can add the static JavaScript using Acrobat Profession. Can iText API do that? Thanks Ming Xun Huang --

[iText-questions] XML error when trying to watermark PDF/A document

2009-02-24 Thread ek1975
Hello List, Environment is iText 2.1.4 / RAD 7 / Windows XP. I am able to watermark ordinary PDF's and a PDF/A image I created using Adobe Professional. But when I try to update a scanned PDF/A (non-OCR) image I get the following error: [Fatal Error] :27:2: The markup in the document following

Re: [iText-questions] JavaScript action after a signature field is signed

2009-02-24 Thread 1T3XT info
Huang, Ming wrote: I want to use iText to add some dynamic JavaScript which will be executed after a signature is signed. I can add the static JavaScript using Acrobat Profession. Can iText API do that? iText can add JavaScript; see for instance:

Re: [iText-questions] Creating closed bookmarks/outlines

2009-02-24 Thread 1T3XT info
Danno6000 wrote: I'm trying to create a closed bookmark with iText and not having much luck. See page 409 of the book: PdfOutline out1 = new PdfOutline(root, d1, root, true); (7) PdfOutline out2 = new PdfOutline(out1, d2, sub 1, false); (8) Then, you add an opened root outline (7), a closed

Re: [iText-questions] Difference in encoding between Windows XP andiSeries OS/400

2009-02-24 Thread Paulo Soares
UnicodeBig is supposed to exist in all Javas but you can use Unicode if it works for you (you'll have to recompile iText). Paulo - Original Message - From: Van der Auwera Bernard bernard.vanderauw...@cosmosworldwide.com To: itext-questions@lists.sourceforge.net Sent: Tuesday, February

Re: [iText-questions] Creating closed bookmarks/outlines

2009-02-24 Thread Danno6000
That would work, but I'm not using PdfOutline. I'm trying to add bookmarks during the process of appending documents together. I'm doing this via the available example, Concatenate.java', that merges the bookmarks of appended docs. I haven't figured out a way to to inject a bookmark into

Re: [iText-questions] New corrupt PDF detection issue

2009-02-24 Thread Prasanna D
Hi, I know this post is very old, but I am facing similar issue so wanted to check if you ever got any solution. I am using iText Library and a lot of custom code above it to create HTML to PDF. The conversion works generally well, but recently I am getting errors A Drawing Error Occurred

[iText-questions] Multiple signatures, When i try to update the form field content thru PdfStamper it removes old signatures

2009-02-24 Thread Usman Shaik
Hi, For signatures we are using SAPI (Cosign). the PDF can accept multiple signatures. Once i open the PDF document using PdfStamper then loop thru the Acro Fields to update the content its removing the previous signatures. Please help. i have used PdfStamper with append mode. This is

Re: [iText-questions] PDF generation problem

2009-02-24 Thread Steve Weston
thanks mr. bean, yes I should have added at least that. The reader is Adobe 8.1.2, but we are opening in a browser window (I have IE 7). We are using an older version of iText, but we are using it in several apps and this is the only place where we seem to be having any issues. The

Re: [iText-questions] JavaScript action after a signature field is signed

2009-02-24 Thread mingxun
Is there event for signature field is signed? Or is there PDFName for signature is signed? so that I can associate javascript with that event? Thanks for your help Ming Xun Huang 1T3XT info wrote: Huang, Ming wrote: I want to use iText to add some dynamic JavaScript which will be

Re: [iText-questions] JavaScript action after a signature field is signed

2009-02-24 Thread Leonard Rosenthol
Details are in the PDF Reference/ISO 32000. Leonard -Original Message- From: mingxun [mailto:ming.hu...@eds.com] Sent: Tuesday, February 24, 2009 3:19 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] JavaScript action after a signature field is signed Is

Re: [iText-questions] PDF generation problem

2009-02-24 Thread Kevin Brown
Steve: You say This file is being generated on the fly, then being sent to a browser window. ... I believe you mean the bytestream is generated and sent to the browser. If it is a file and you are redirecting the browser to that file, then you should be able to get the file. If you are

[iText-questions] Cannot get Readonly Field to display

2009-02-24 Thread Kevin Brown
All: We are using the latest version of iTextSharp and have an issue that is perplexing us. We are generating an Acroform with some fields ... all kinds of fields. See attached example of one sample generated PDF. The problem exists only in fields marked as read only and further the problem

[iText-questions] A question about Jasper Compatibility with iText

2009-02-24 Thread Anand HS
Hi All, I have a question about choosing an appropriate version of iText library along with a specific version of jasper. My project currently uses jasper 0.6 and iText 1.1.4. I am trying to bump the jasper version to 3.1.3. It appears that iText 1.1.4 does not work with jasper 3.1.3 due to

Re: [iText-questions] Cannot get Readonly Field to display

2009-02-24 Thread Leonard Rosenthol
Of course it doesn't draw - it has no appearance (/AP). Acrobat/Reader is correct - your PDF is wrong. I am GUESSING that for some reason iTextSharp isn't generating an appearance for the read_only field...Check the code. Leonard -Original Message- From: Kevin Brown