![]() | InDesign SDK 20.5 |
#include <IXMLMrkSuite.h>

Public Types | |
| enum | { kDefaultIID = IID_IXMLMrkSUITE } |
Public Member Functions | |
| virtual bool16 | CanMakeTable () const =0 |
| virtual ErrorCode | MakeTable (bool16 hasHeaderRow)=0 |
| virtual bool16 | CanMakeKeywordSet () const =0 |
| virtual ErrorCode | MakeKeywordSet ()=0 |
| virtual bool16 | CanMakeItemizedList () const =0 |
| virtual ErrorCode | MakeItemizedList ()=0 |
| virtual bool16 | CanMakeSectionComposite () const =0 |
| virtual ErrorCode | MakeSectionComposite ()=0 |
| virtual bool16 | CanMakeMediaObject () const =0 |
| virtual ErrorCode | MakeMediaObject ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
From SDK sample; abstract suite to allow marking up text selection as one of a variety of different XML based sub-trees. For example, the informaltable sub-tree (from DocBook XML)can consist of:
<informaltable>
<tgroup>
<tbody>
<row>
<entry>
...
</row>
....
</tbody>
</tgroup>
</informaltable>
To create such a rich sub-tree by hand is relatively difficult and tedious within the user-interface. The use of this plug-in would be when the content is already within InDesign and the objective is to mark up the content automatically and as quickly and accurately as possible, rather than relying on manual cutting and pasting into an empty structured template.
See XMLMrkConstants for more detail on the different elements and for references to the Web based documentation about the XML language that these elements were drawn from.
| anonymous enum |
kDefaultIID
| pure virtual |
Determine if abstract selection supports making an itemizedlist sub-tree with listitem/para dependents.
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
Determine if abstract selection supports making a keywordset sub-tree with keyword dependents.
| none |
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
Determine if abstract selection supports making a mediaobject sub-tree indicated.
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
Determine if abstract selection supports making a section sub-tree with title/para dependents.
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
Determine if abstract selection supports making a informaltable sub-tree.
| none |
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
If CanMakeItemizedList returned true, then proceed to make the itemizedlist subtree.
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
If CanMakeKeywordSet returned true, then proceed to make the keywordset subtree.
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
If CanMakeMediaObject returned true, then proceed to make the mediaobject subtree.
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
If CanMakeSectionComposite returned true, then proceed to make the section subtree.
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.
| pure virtual |
If CanMakeTable returned true, then proceed to make the informaltable subtree.
| hasHeaderRow | kTrue to make an informaltable with a thead row, kFalse otherwise |
Implemented in XMLMrkSuiteTextCSB, and XMLMrkSuiteASB.