We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Structured Document Tags

After a LOT of hunting around I managed to work out how to get access to a collection of Content Controls (Structured Document Tags) in my word template. I’ve been building documents with the OpenXML SDK and this makes Content Control manipulation trivial but I heard good things about Aspose. I am particularly interested in the way you guys handle table manipulation and that has proven much simpler. But my problems lie with trying to find a method of programatically establishing either the name or the tag of a Content Control.
If I quick watch one of the Structured Document Tag elements in my collection I can clearly see the tag string in there, but not in any publically accessible field. How far away is this feature? Being able to iterate through the collection and adjust the content is pretty much pointless without being able to ascertain precisely which Content Control I am manipulating!


Thanks for your inquiry. You are right, in the current version of Aspose.Words, StructuredDocumentTag nodes do not provide public methods and properties to access the properties of the content control. We will expose these properties and methods in one of future versions. I cannot promise you that they will be available in the next version, but I am sure they will be available very soon.
I linked your request to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,

I need a fix for this this week! some work around, some clues where I might be able to extract a list of the field names in use, anything to get me working this week… or I’m going to have to sit down and write the table manipulation code in my OpenXML controller, and I’ve been putting that off for MONTHS If I do that then I won’t have any need for Aspose.Words at all.

Hi Michael,

Thank you for additional information. Unfortunately, I cannot promise you that this feature will be available in a week.
However, I think, you can try the approach suggested by Alexey in the following thread to find names of SDT:
Hope this helps.
Best regards,

Hi Andrey, this is something that we’re very interested in as well.
We’re planning on developing a large application that will heavily use SDT’s / content controls. Any update on the timing for this feature?


Hi Shan,

Thank you for your interest in Aspose.Words. Currently, there is no timeline for this issue. But we will surely immediately let you know once the issue is resolved.
Best regards,

Hi Andrey, any update to the timing of this enhancement? Also, i s it difficult to do?

Hi Shan,
Thanks for your request. This feature is scheduled on the end of August 2011. You will be notified as soon as it is available.
Best regards,

So it’s now September 2011 - was this released?

Hi Todd,

Thanks for your inquiry.

I just talked to the developer responsible for implementing this functionality. He estimates that this issue will be fixed sometime around October-November.

I know that this seems a long time to fix a single issue, however you need to take a look at the bigger picture. This issue is a part of a vast number of improvements to the API for StructuredDocumentTags. For things to go smoothly all planning and work has to go into implementing these all at one time which is why the issue has been delayed until now.

We will inform you as soon as the issue is resolved.


I too am interested in this. Please post when it is available.

Thank you,

Hi John,
Thanks for your request. Sure, we will let you know once this feature is available.
Best regards,

The issues you have found earlier (filed as WORDSNET-3892) have been fixed in this .NET update and this Java update.