Thanks Mark,

The problem is that unlike other elements in the apache poi, the XWPFSDT
object doesn't give me back the CT classes!

How can I get these classes out of the XWPFSDT element so I can modify them?

On 2016-11-15 15:09 (+0200), "Murphy, Mark" <[email protected]> wrote:
> It depends on where the SDT is. You are going to have to use the CT
classes to do it though. The SDT part of XWPF is pretty much read only at
the moment. You can find the spec here
http://www.ecma-international.org/publications/standards/Ecma-376.htm.
POI uses the 1st edition. Parts 3, and 4 will likely be the most
informative. You should be able to get to the CT classes from most of the
document parts that can contain an SDT, but you can't get there from
XWPFSDT.>;
>
>  >
>
> -----Original Message----->
>
> From: Nadav Benedek [mailto:[email protected]] >
>
> Sent: Tuesday, November 15, 2016 6:42 AM>
>
> To: POI Users List <[email protected]>>
>
> Subject: XWPFSDT>
>
>
>
> Hi team,>
>
>
>
> Do you know how can I change the content of XWPFSDT?>
>
>
>
> When I do XWPFSDT.getContent() and I get a XWPFSDTContent object, all the
paragraphs and runs in it are private...>
>
>
>
> Thanks,>
>
> Nadav.>
>
>

Reply via email to