get exData body of a static text

Avatar

Avatar

dariush1972

Avatar

dariush1972

dariush1972

02-11-2011

Hi experts,

I've got a static text as follow (xml source)

        <draw minH="20mm" name="Text" w="190mm" x="0.6477mm" y="201.971mm">

            <ui>

               <textEdit>

                  <margin/>

               </textEdit>

            </ui>

            <value>

               <exData contentType="text/html">

                  <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="2.5.6290.0"><p style="text-align:justify;font-family:Arial;text-decoration:none">Il sottoscritto<span style="xfa-spacerun:yes"> </span</body>

               </exData>

            </value>

         </draw>

I need to change the body formatting dynamically.

I've tried with exData.saveXML() function but this returns

<?xml version="1.0" encoding="UTF-8"?>

<exData contentType="text/html"/>

how can I get the body xml?

Best regards,

Dariush

View Entire Topic

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

03-11-2011

Sounds like it might have been a bug in version 8 that has since been fixed .....what if you used a textfield with no borders or background that was set to be locked so that it was not a tab stop for the user ..in this way you are turning it into a text object .

Paul