1T3XT info wrote:
> 
> Julian2 wrote:
>> So, im attaching the original PDF and the resulting one.
>> http://old.nabble.com/file/p28099416/terminadoF01.pdf terminadoF01.pdf 
> 
> This is a PDF that has an AcroForm entry in the root object,
> but the AcroForm doesn't have any fields.
> In other words: this is not a form.
> 
>> http://old.nabble.com/file/p28099416/F01.pdf F01.pdf 
> 
> This is a PDF that has the two technologies:
> - it has an AcroForm that can be filled out and flattened with iText.
> - it has an XFA form that can be filled out with iText, but that can't 
> be flattened.
> 
> XFA is more recent technology than AcroForm technology.
> 
> For instance: the field "otra parte" in AcroForms has the following 
> coordinates: [56.542 540.017 558.129 591.96] and that's it.
> 
> In XFA, the same field is described as:
> <field h="18.3243mm" name="otra_parte" w="176.9488mm" x="19.9468mm" 
> y="70.5697mm">
> <ui>
> <textEdit hScrollPolicy="off" multiLine="1" vScrollPolicy="off">
> <border hand="right" presence="hidden"><?templateDesigner StyleID 
> aped0?></border>
> <margin/>
> </textEdit>
> </ui>
> 
> <para lineHeight="16.875pt" textIndent="21.6pt"/>
> <assist>
> <toolTip>ADMINISTRADORA" quien constituye domicilio legal en calle San 
> Lorenzo 1657 de la ciudad de Rosario, por una parte, y por la</toolTip>
> </assist>
> </field>
> 
> Stuff like "textIndent" didn't exist in AcroForms. If you fill the 
> AcroForm with iText "the AcroForm way", the indentation will be ignored 
> (because it's not present in the AcroForm).
> 
> iText can fill out pure XFA forms, BUT: iText can't change the 
> properties of an XFA form, nor can iText flatten an XFA form. Changing 
> the properties of fields and/or flatten the form can only be done for 
> AcroForms with iText.
> 
> You could have know all this if you had read chapter 8 of the second 
> edition of "iText in Action" (the MEAP version).
> 

Thanks!, u really followed me all the way. And i have one more question,i
cant change properties of my form (if i remain doing the same things im
doing ofc), do you by chance know a way (any way without iText) that i can
manage to disable edition or make it read only?  

Im sorry that i asked something that was documented but ive gathered more
info in forums and mail lists than in the documents ive found. I will try to
find "iText in Action" (the MEAP version) to see what else im ignoring, hope
it covers iText 4th version and on.


-- 
View this message in context: 
http://old.nabble.com/itextsharp-flatten-xfa-filled-document-not-working-tp28044204p28107786.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to