Page 1 of 1

To add annotation XmlRootElement in SdtRun

PostPosted: Fri Mar 26, 2010 7:56 am
by rockym
Hi Jason,

Could you please help to add the following annotation to SdtRun (just like the one in SdtBlock) so that I can use TextUtils.extractText(,) to extract the content? Or there is any concern not having it?

@XmlRootElement(name = "sdt")


Thanks,
Rocky

Re: To add annotation XmlRootElement in SdtRun

PostPosted: Sat Mar 27, 2010 10:36 am
by jason
Hi Rocky

Please see http://dev.plutext.org/trac/docx4j/changeset/1106

I've also added a method to TextUtils which can be used for an element lacking the annotation.

cheers .. Jason