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

Public Types | |
| enum | { kDefaultIID = IID_IXMLNODESELECTIONSUITE } |
Public Member Functions | |
| virtual void | SelectAttribute (const XMLAttributeReference &newItem, Selection::Action selectionMode)=0 |
| virtual void | SelectAttribute (const K2Vector< XMLAttributeReference > *newItems, Selection::Action selectionMode)=0 |
| virtual void | DeselectAttribute (const K2Vector< XMLAttributeReference > *itemsToDeselect)=0 |
| virtual void | SelectElement (const XMLReference &newItem, Selection::Action selectionMode)=0 |
| virtual void | SelectElement (const K2Vector< XMLReference > *newItems, Selection::Action selectionMode)=0 |
| virtual void | DeselectElement (const K2Vector< XMLReference > *itemsToDeselect)=0 |
| virtual void | Select (IPMUnknown *targetBoss, Selection::Action selectionMode)=0 |
| virtual void | DeselectAll (bool8 notifyofSelectionChange=true)=0 |
| virtual void | SelectAll (void)=0 |
| virtual bool16 | IsElementSelected (const XMLReference &itemNode)=0 |
| virtual bool16 | IsAttributeSelected (const XMLAttributeReference &itemNode)=0 |
| virtual bool16 | IsEmpty (void) const =0 |
| virtual bool16 | IsMixedSelection () const =0 |
| virtual bool16 | IsNonAttributeSelected () const =0 |
| virtual bool16 | IsNonAttributeSelected (const XMLReference &itemNode) const =0 |
| virtual bool16 | IsElementOnlySelection () const =0 |
| virtual bool16 | IsSingleElementSelection () const =0 |
| virtual bool16 | IsCommentOnlySelection () const =0 |
| virtual bool16 | IsSingleCommentSelection () const =0 |
| virtual bool16 | IsPIOnlySelection () const =0 |
| virtual bool16 | IsSinglePISelection () const =0 |
| virtual bool16 | IsAttributeOnlySelection () const =0 |
| virtual bool16 | IsSingleAttributeSelection () const =0 |
| virtual bool16 | AreAnyTextSnippetsSelected () const =0 |
| virtual bool16 | IsDocElementSelected () const =0 |
| virtual bool16 | IsRootElementSelected () const =0 |
| virtual bool16 | IsDOCTYPEElementSelected () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Methods to support selection on the structure view
| pure virtual |
Determine if there are text snippets in the selection
| pure virtual |
Deselect everything in the selection.
| notifyofSelectionChange | indicates whether to notify observers that the selection changed |
| pure virtual |
Deselect the specified attributes.
| itemsToDeselect | list of attributes to de-select |
| pure virtual |
Deselect the specified elements.
| itemsToDeselect | list of elements to be deslected |
| pure virtual |
Determine whether the selection only contains attributesI
| pure virtual |
Is the specified attribute part of this selection?
| itemNode | - The node to check for in the selection |
| pure virtual |
Determine whether the selection only contains comments
| pure virtual |
Determine whether the Document element is selected
| pure virtual |
Determine whether the DOCTYPE element is selected
| pure virtual |
Determine whether the selection only contains elements
| pure virtual |
Is the specified element part of this selection?
| itemNode | - The node to check for in the selection |
| pure virtual |
Determine if the selection is empty.
| pure virtual |
Determine whether the selection contains multiple XML types.
| pure virtual |
Determine whether a non-attribute object is selected.
| pure virtual |
Determine if the selection contains the given non-attribute
| itemNode | - The node to check for in the selection |
| pure virtual |
Determine whether the selection only contains PIs
| pure virtual |
Determine whether the Root element is selected
| pure virtual |
Determine whether the selection only contains a single attribute
| pure virtual |
Determine whether the selection only contains a single comment
| pure virtual |
Determine whether the selection only contains a single element
| pure virtual |
Determine whether the selection only contains a single PI
| pure virtual |
Select the specified items using the selectionMode.
| targetBoss | items to select (Must be on the same boss as IXMLNodeTarget) |
| selectionMode | specifies replace or add to existing selection |
| pure virtual |
Select everything in the selection.
| pure virtual |
Select the specified item using the selectionMode.
| newItem | item to be selected |
| selectionMode | specifies replace or add to existing selection |
| pure virtual |
Select the specified items using the selectionMode.
| newItems | items to be selected |
| selectionMode | specifies replace or add to existing selection |
| pure virtual |
Select the specified item using the selectionMode.
| newItem | specifies element to select |
| selectionMode | specifies replace or add to existing selection |
| pure virtual |
Select the specified items using the selectionMode.
| newItems | items to select |
| selectionMode | specifies replace or add to existing selection |