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

Public Types | |
| enum | { kDefaultIID = IID_ICONDITIONTAGSUITE } |
Public Member Functions | |
| virtual ErrorCode | GetAppliedConditionTags (UIDList &tagsAppliedToAllChars, UIDList &tagsAppliedToSomeChars, bool16 *rangeHasUnconditionalChars=nil)=0 |
| virtual ErrorCode | ApplyConditionTags (const K2Vector< UID > &tagsToApply, bool16 removeExisting)=0 |
| virtual bool16 | CanApplyConditionTags ()=0 |
| virtual ErrorCode | UnapplyConditionTags (const K2Vector< UID > &tagsToUnapply)=0 |
| virtual bool16 | CanUnapplyConditionTags ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Suite to manipulate condition tags for the current selection.
| pure virtual |
Applies the specified condition tag(s) to the current selection.
| tagsToApply | IN The condition tags to applied to the current selection. |
| removeExisting | IN Whether or not condition tags already applied are removed. |
| pure virtual |
Determine whether or not the current selection can have a condition tag applied.
| pure virtual |
Determine whether or not the current selection can have a condition tag unapplied.
| pure virtual |
This method gathers the condition tags that are applied to either all of the characters in the selection or that are applied to some of the characters in the selection. These are returned in lists passed in by the callers.
| tagsAppliedToAllChars | The condition tags applied to all of the characters. |
| tagsAppliedToSomeChars | The condition tags applied to some of the characters. |
| rangeHasUnconditionalChars | A pointer to bool for whether or not the range has characters that are unconditional (i.e. have no conditions applied). |
| pure virtual |
Removes the specified condition tag(s) from the current selection. Tags applied that are not in the specified list of condition tag(s) to be unapplied will remain applied.
| tagsToApply | IN The condition tags to remove from the current selection. |