Re: [iText-questions] Changing submit button URL

2009-02-04 Thread Roopa Bethi
thanks for your reply.I came to know that itext code only works on AcroForms. while my form is generated from Adobe Live cycle designer which generates XFA form. itext code does not work on XFA forms. we are trying alternatives like get the XML of the pdf form change it and again insert .Hope it

Re: [iText-questions] Changing submit button URL

2009-02-04 Thread lambmj
Roopa -- I had a similar problem to the one you described. I solved the problem as follows using PdfName.AA. I am an iText noob so there may be pitfalls with this solution but it works for me. Note that our 'Submit' buttons are labeled 'Save' (and 'Save1', 'Save2', etc.) so that's the reason f

Re: [iText-questions] iText programmer wanted

2009-02-04 Thread kpenner
Thanks so much for posting this. The post talks about starting from scratch and building it up. There is about 12 months of work in this Livecycle PDF and I don't see an easy path to migrate our existing work. I understand from Leonard R. "If it's a Dynamic PDF created by LiveCycle Designer, a

Re: [iText-questions] Avoiding page-breaks when using PdfStamper with multiple PDFs

2009-02-04 Thread Priya
hai, i am also having same problem what you discuss here. if you find any solution, pls let me. i am also searching for the same. Thanks in advance Priya.R 1T3XT info wrote: > Stephen Bacon wrote: >> Hello again, >> >>I do _not_ intend to insert one PDF (or text, etc) inside of another

[iText-questions] HTMLWorker.startElement : IMG w/o align treated far differently than with align

2009-02-04 Thread Steve Carrow
Here's the offending auto-generated snippet, part of what I'm trying to convert:   The thing is, if I add a (deprecated) "align" attribute to the IMG, then the image shows in the document; without that align, it does not. When I check out the startElement method in HTMLWorker.java, it seems tha

[iText-questions] Any info on interfaceProps for HtmlWorker?

2009-02-04 Thread Steve Carrow
I need to get images into my PDF doc from HTML and it looks like setting some interface properties is the ticket. Problem is, my Googling hasn't dispensed insights as to what the property names are or what they represent. I can and am burrowing through the code, but if there are docs out there,

[iText-questions] HTML to PDF: div with line height attribute value of normal

2009-02-04 Thread Steve Carrow
Just to get this into the archives: the response was correct in that parseLength returns 0 if the argument does not start with a number. For "line-height: normal" this behavior clearly breaks things. I posted a bug report at: https://sourceforge.net/tracker2/?func=detail&atid=115255&aid=2556177

Re: [iText-questions] Avoiding page-breaks when using PdfStamper with multiple PDFs

2009-02-04 Thread Stephen Bacon
1T3XT info wrote: > Stephen Bacon wrote: >> Hello again, >> >>I do _not_ intend to insert one PDF (or text, etc) inside of another >> PDF and have it reflow. > > Same difference. Ahh - OK. > > Define "stacked on top of each other". > To me, that sounds like "superimposed". > Superimposing

Re: [iText-questions] Avoiding page-breaks when using PdfStamper with multiple PDFs

2009-02-04 Thread 1T3XT info
Stephen Bacon wrote: > Hello again, > >I do _not_ intend to insert one PDF (or text, etc) inside of another > PDF and have it reflow. Same difference. > I want create a new PDF by appending small PDFs > together, each one after the next. What I'm getting now is each small > PDF on a page

Re: [iText-questions] Avoiding page-breaks when using PdfStamper with multiple PDFs

2009-02-04 Thread Stephen Bacon
Hello again, I do _not_ intend to insert one PDF (or text, etc) inside of another PDF and have it reflow. I want create a new PDF by appending small PDFs together, each one after the next. What I'm getting now is each small PDF on a page all by itself, instead of stacked on top of each other

Re: [iText-questions] iText programmer wanted

2009-02-04 Thread wasegraves
-- Original message -- From: wasegra...@bellsouth.net > > Check out this thread: > > http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg39304.html > and this example: http://www.1t3xt.info/examples/browse/?page=example&id=348 > Cheers, > Bill Se

Re: [iText-questions] iText programmer wanted

2009-02-04 Thread wasegraves
Check out this thread: http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg39304.html Cheers, Bill Segraves -- Original message -- From: kpenner > > > How about I start this off by offering $200 USD via paypal for a solution. > > I am unsure how

Re: [iText-questions] Opening a new browser page redirecting after acroform submit

2009-02-04 Thread Subhrajyoti Moitra
Hi, Thanks again for clarifying all these. Yes it does accept a external PDF content, something like http://localhost:8080/pdfapp-extension/ServePdfServlet?docId=10&sessionId=blahblah as long as the response to this is set to "application/pdf". So i think the bottom line is that as long as the con

[iText-questions] jaype...@yahoo.com

2009-02-04 Thread Howard Shank
I did a similar project for a client in the past. They were not using a Livecycle pdf though. I have not worked with a Livecycle document, so I do not know if the same process applies. I would be willing to experiment with your document template to see if it is possible without charge. If it is

Re: [iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread Leonard Rosenthol
Yes - most definitely! Check out the PdfImportedPage (I think that's what it is called) class. Leonard On 2/4/09 2:02 PM, "pri...@samea.de" wrote: Dear Leonard, is it possible to have the content of a pdf treaded as a Image? That means placing the content in a new PDF like an image. br Mar

Re: [iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread 1T3XT info
pri...@samea.de wrote: > Dear Leonard, > > is it possible to have the content of a pdf treaded as a Image? That means > placing the content in a new PDF like an image. I think the terminology you are looking for is "Form XObject". -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ -

Re: [iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread 1T3XT info
pri...@samea.de wrote: > I have vectors in my PDF-Source. And if you have text, glyphs could be presented as vectors too. If not, you can't just copy the PDF syntax from one PDF to another, because you also have to copy plenty of resources (a font program for instance). Honestly: your design is

Re: [iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread privat
Dear Leonard, is it possible to have the content of a pdf treaded as a Image? That means placing the content in a new PDF like an image. br Markus - Original Message - From: "Leonard Rosenthol" To: "Post all your questions about iText here" Sent: Wednesday, February 04, 2009 2:40 PM

Re: [iText-questions] find the number of pages of a pdf file

2009-02-04 Thread 1T3XT info
Diego Marconato wrote: > > Hi All, > > I need to find the number of pages in a pdf, there is a way in which > libraries itext input accepts a pdf file and as a result returns a > number representing the number of pages in the pdf? > > Thanks in advance. Go to http://itextsoftware.com/chap2

Re: [iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread privat
I have vectors in my PDF-Source. - Original Message - From: "Leonard Rosenthol" To: "Post all your questions about iText here" Sent: Wednesday, February 04, 2009 2:40 PM Subject: Re: [iText-questions] Extracting Drawings from a PDF and storing it to another > Batik can produce both

[iText-questions] find the number of pages of a pdf file

2009-02-04 Thread Diego Marconato
Hi All, I need to find the number of pages in a pdf, there is a way in which libraries itext input accepts a pdf file and as a result returns a number representing the number of pages in the pdf? Thanks in advanced. _ 2

Re: [iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread Leonard Rosenthol
Batik can produce both raster-based and vector-based images in PDF. It also, unfortunately, doesn't mark off it's areas so that it's difficult to find where that stops and other content begins :(. Leonard On 2/4/09 1:21 PM, "pri...@samea.de" wrote: It's a Drwaing made from a svg done with b

Re: [iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread privat
It's a Drwaing made from a svg done with batik. .. very deep Thanks Markus - Original Message - From: "1T3XT info" To: "Post all your questions about iText here" Sent: Wednesday, February 04, 2009 2:14 PM Subject: Re: [iText-questions] Extracting Drawings from a PDF and storing it to

Re: [iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread 1T3XT info
pri...@samea.de wrote: > Hello, > > Does anybody know how to exract a drawing form an existing pdf? > Further putting it to an other. This is a typical "How deep is blue?" question. You're not telling us if the drawing is an image (vector or raster). Or if the drawing is made using pure PDF syn

[iText-questions] Extracting Drawings from a PDF and storing it to another

2009-02-04 Thread privat
Hello, Does anybody know how to exract a drawing form an existing pdf? Further putting it to an other. Thanks for your help. best regards Markus -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)A

[iText-questions] RTF merge problem - resulted file is the superimposed sources

2009-02-04 Thread Dan M.
I am trying to merge 2 RTF files using the following code : public class MergeRTF { static String location="D:/servers/bea92MP2/user_projects/domains/iden15-exploded/offline/storage/"; static String filenames[]={ "TotalUsageCharges_20090203_145337.rtf",

Re: [iText-questions] What is tagmap and how xml data handled using SAXmyHandler

2009-02-04 Thread 1T3XT info
Cool The Breezer wrote: > If the XML data file is complex and same tag names should be processed > differently based on context, > then whether it would be possible to define the processing in tagmap? My first instinct is to say no: it's not possible to define context to tagmap, the way you woul

Re: [iText-questions] Opening a new browser page redirecting after acroform submit

2009-02-04 Thread 1T3XT info
Subhrajyoti Moitra wrote: > I was talking only about PDF. Send back PDF UI elements like textfields > with font/size etc info to get rendered on the client side(client reader). > "disabled"=> i would like to disable a particular acroform textfield. > > So from the user perspective it will be like

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-02-04 Thread 1T3XT info
Leonard Rosenthol wrote: > Yes. Capitalization matters. OK, thanks! The change is uploaded to SVN. > Actually, no. According to ISO 32000, the values in XMP take precedence over > DocInfo > when present (and when the mod dates match). As such, Acrobat pulls the > values from XMP > (and has d

Re: [iText-questions] customer

2009-02-04 Thread 1T3XT info
Sergey Sedelnikov wrote: > Hello Your mail was almost referred to the Trash bin, and your mail address was almost blocked, because 1) you aren't subscribed to the mailing list, and 2) your Subject line is similar to a subject line used by SPAMmers. To my knowledge you are an iText USER, not a pay

Re: [iText-questions] What is tagmap and how xml data handled using SAXmyHandler

2009-02-04 Thread Cool The Breezer
Maybe I could not able to ask it properly. - Tagmap contains processing instruction of how to process xml tags in a XML file. - SAXmyHandler is used to provide data to iText for updating pdf document. If the XML data file is complex and same tag names should be processed differently based on c

Re: [iText-questions] Opening a new browser page redirecting after acroform submit

2009-02-04 Thread Subhrajyoti Moitra
I was talking only about PDF. Send back PDF UI elements like textfields with font/size etc info to get rendered on the client side(client reader). "disabled"=> i would like to disable a particular acroform textfield. So from the user perspective it will be like, he submits the pdf form and then th

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-02-04 Thread Leonard Rosenthol
Yes. Capitalization matters. Actually, no. According to ISO 32000, the values in XMP take precedence over DocInfo when present (and when the mod dates match). As such, Acrobat pulls the values from XMP (and has done so since version 6). Leonard On 2/4/09 9:18 AM, "1T3XT info" wrote: Leon

[iText-questions] customer

2009-02-04 Thread Sergey Sedelnikov
Hello Question about iTextSharp How to extract images from PDF document using iTextSharp and c#? byte[] bytes = PdfReader.GetStreamBytesRaw((PRStream)pdfStream); Image img = Image.GetInstance(new MemoryStream(bytes)); This is not working, any ideas? Sergey Sedelnikov,

Re: [iText-questions] Opening a new browser page redirecting after acroform submit

2009-02-04 Thread 1T3XT info
Subhrajyoti Moitra wrote: > Is it possible to send back UI data like a text field with new data from > the server as well as getting disabled. Please explain the above sentence. Things I don't understand are "UI data like a text field"; are you talking HTML or PDF? And what does "getting disabled

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-02-04 Thread 1T3XT info
Leonard Rosenthol wrote: > Because the XMP is wrong :(. > > pdf:Keywords isn't where that stuff goes. The document you added says: Document information dictionary; Entry: Keywords (text string) has its equivalent in the XMP; Property: pdf:keywords The only difference I see is the fact that iText

Re: [iText-questions] Opening a new browser page redirecting after acroform submit

2009-02-04 Thread Subhrajyoti Moitra
yes i think you are right. This is indeed a HTML/HTTP issue and not really a PDF issue. Is it possible to send back UI data like a text field with new data from the server as well as getting disabled. Currently i use the FDFWriter to just set the field values and return the contents to the user. I

Re: [iText-questions] Opening a new browser page redirecting after acroform submit

2009-02-04 Thread 1T3XT info
Subhrajyoti Moitra wrote: > Hi, > > I have a acroform, which submits to a Servlet. The servlet responds > currently with FDF content. This is part is fine. > What I want to do is that the response should open a new browser > page/redirect to a new page, instead of filling in the forms. > Is this

Re: [iText-questions] iText bug on PdfString encoding

2009-02-04 Thread 1T3XT info
Yu Chen wrote: > In com.lowagie.text.pdf.PdfString.getBytes( ) method, iText first checks > if the characters in a string are contained in PdfDocEncoding character > set, if so, iText will not use the specified encoding but > TEXT_PDFDOCENCODING. This will cause applying wrong encoding to some

Re: [iText-questions] What is tagmap and how xml data handled using SAXmyHandler

2009-02-04 Thread 1T3XT info
Cool The Breezer wrote: > Anybody helps me to understand this. I don't understand the question. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Create and Deploy Rich Internet Ap

Re: [iText-questions] Problem with Chunk underline

2009-02-04 Thread 1T3XT info
mister bean wrote: > The basic problem is that currently the font style attributes are OR'd on. > (Bold, italic, underline, etc.) And that goes against the philosophy of a setter. That's why I'll probably change this in the near future. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.co

Re: [iText-questions] iText Capabilities

2009-02-04 Thread 1T3XT info
Harvey C wrote: > Does iText have the ability to work with scanned OCR PDF files with underlying > text? You're talking about existing PDF files. > I know it can't really work with text in general, but what about adding > Pages #s? You can add page numbers to existing PDF files. > Does it even

[iText-questions] Opening a new browser page redirecting after acroform submit

2009-02-04 Thread Subhrajyoti Moitra
Hi, I have a acroform, which submits to a Servlet. The servlet responds currently with FDF content. This is part is fine. What I want to do is that the response should open a new browser page/redirect to a new page, instead of filling in the forms. Is this possible using PDF? Thanks, Subhro.

Re: [iText-questions] Avoiding page-breaks when using PdfStamper with multiple PDFs

2009-02-04 Thread Alexis Pigeon
Hi Stephen, On 03/02/2009, Stephen Bacon wrote: > > Hello, > >I'm trying to combine multiple PDFs (each containing fields) into a > single PDF. I've been working with the code from Chapter 2 of "iText in > Action" and it's all very straightforward. Except I want to avoid the > page-breaks bet

Re: [iText-questions] iText bug on PdfString encoding

2009-02-04 Thread Leonard Rosenthol
I haven’t looked at the code, but since a PDF string is either in PDDocEncoding OR in UTF16-BE, there is no reason to guess. If the string begins with FFFE (Unicode COM) then it’s already in UTF16BE OTHERWISE it’s in PDDocEncoding. PERIOD. Leonard On 2/4/09 6:37 AM, "Yu Chen" wrote: In co