OOXML defines a Structured Document Tag element. The tag normally
contains two children, one contains the properties, the other is the
content to display. Content controls often use SDTs to present the
information. Visually, SDTs are often marked in Word 2007 as the blue
bounding boxes with extra options (convert to static text, ...) that
appear around some parts of the text. What I want to do is access
*ALL* SDTs in my document and check the type. And then based on the
type, do something with the content.
As said, I want to check *ALL* SDTs, not only the content controls.
Hence, ActiveDocument.ContentControls is of no use to me.
Is it actually possible to access the XML part of the document? I'm
not talking custom xml, just the main document. If so, I could iterate
over all nodes till I find a <w:sdt> and then change its children in
the way I want.
Yves