Re: [iText-questions] Designer RadioButton work-around?

2007-07-06 Thread sseif
OK, I have made some progress but still not quite where I would like. I have discovered you need to do the following: Document xfaDoc = acroFields.getXfa().getDomDocument(); /* Add entry node below to appropriate forms */

Re: [iText-questions] Designer RadioButton work-around?

2007-07-05 Thread sseif
Sorry it's been awhile since I've addressed this issue. I actually was going to use my work around for the short term (i.e. use PdfCopyFields to downgrade form) with some JavaScript flipping the RadioButtons. This however has produced unwanted resorted fields in the resulting PDF. So given

Re: [iText-questions] Designer RadioButton work-around?

2007-06-13 Thread sseif
Thanks guys, I will see what I can do and if I come up with a fair solution, I will post it back here. Also, last night I was thinking about an alternate method to tackle the issue. You know how I said that if I copied the fields first (via PdfCopyFields), everything worked fine if I

Re: [iText-questions] Designer RadioButton work-around?

2007-06-12 Thread sseif
So let me rehash what you're saying to be clear. You are recommending the solution around the Expected a name object error is to not use the PdfCopyFields process because it probably doesn't work with Designer Forms because it is converting the form to an AcroForm (hence the reason it shrunk

Re: [iText-questions] Designer RadioButton work-around?

2007-06-12 Thread sseif
So let me rehash what you're saying to be clear. You are recommending the solution around the Expected a name object error is to not use the PdfCopyFields process because it probably doesn't work with Designer Forms because it is converting the form to an AcroForm (hence the reason it shrunk

[iText-questions] Designer RadioButton work-around?

2007-06-08 Thread sseif
I know by default iText is not working completely with Designer designed forms. My current client is using Designer for which I have little control and for everything but radiobuttons, iText is working fine. Basically a user requests a form from the server and using iText I prefill the data.

Re: [iText-questions] Designer RadioButton work-around?

2007-06-08 Thread sseif
I have attached the source and sample PDF. I have two rendering methods producing different results. The first (renderTestPdfByteWise) is close to what we are doing today in the Web Application (dealing with bytes and such). The second is smaller (renderTestPdf) which doesn't actually seem

[iText-questions] Absolute Position of Word or Phrase

2007-05-10 Thread sseif
Within Adobe Acrobat Reader, an individual can enter a search string and then Reader highlights a word in an existing document I do not control. Is it possible with iText to open an existing document and retrieve the x,y position of a given word or string? Bottom line is I want to add a

[iText-questions] Copy DocA to DocB with on change

2007-03-26 Thread sseif
OK, I know the answer is probably no, can't be done but figured I would give it a try nevertheless. I know you can copy one document to another page by page and when you have forms, you can modify them. My problem is that I need to exchange a table with blank content and replace it with one