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

Free Support Forum - aspose.com

SDT MarkupLevel

Hi,


I have found this information about Structured Document Tags and their MarkupLevels on the forum:

StructuredDocumentTag can occur in a document in the following places:

Inline-level - Among inline content inside, as a child of a Paragraph.
Block-level - Among paragraphs and tables, as a child of a Body,
HeaderFooter, Comment, Footnote or a Shape node.
Row-level - Among rows in a table, as a child of a Table node.
Cell-level - Among cells in a table row, as a child of a Row node.
Nested inside another StructuredDocumentTag.

However, when I try to create Combo Box or Drop Down List at MarkupLevel.ROW, I get this exception:
Can not create such SdtType at this level.

I have two questions:

1. Which MarkupLevels can Combo Box and Drop Down List be at?
2. As a child of which nodes can these two SDTs occur?

Thank you,
Zeljko

Hi Tahir,


Thank you very much for the answer.

One more question. When I come across a Drop Down List or Combo Box which are at MarkupLevel.BLOCK, which nodes can be their parent nodes? All of these (Body, HeaderFooter, Comment, Footnote, Shape) or just some of them?

Regards,
Zeljko

Hi Zeljko,


Thanks for your inquiry. Yes, Body, HeaderFooter, Comment, Footnote and Shape can be parent node of content control (Drop Down list). Please read about Composition Diagrams from here:

Composition Diagrams

You may also add Drop Down or ComboBox content controls as a child node of Paragraph. Please let us know if you have any more queries.

Thanks, Tahir,


You helped me a lot.

Regards,
Zeljko