InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Facade::IConditionalTextFacade Class Referenceabstract

#include <IConditionalTextFacade.h>

Inheritance diagram for Facade::IConditionalTextFacade:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICONDITIONALTEXTFACADE }
 
typedef std::pair< UID, bool > ConditionSetElement
 
typedef std::vector
< ConditionSetElement
ConditionSetElementList
 

Public Member Functions

virtual ErrorCode CreateCondition (IWorkspace *ws, UID *newConditionUID=nil, const WideString &name=WideString(""), UID colorUID=kInvalidUID, IConditionTag::IndicatorMethod method=IConditionTag::kUnderline, IConditionTag::UnderlineIndicatorAppearance appearance=IConditionTag::kSingleWavy, bool16 visibleState=kTrue)=0
 
virtual ErrorCode DeleteConditions (const UIDList &conditionsToDelete, UID conditionToReplaceWith=kInvalidUID)=0
 
virtual ErrorCode SetConditionName (const UIDRef &conditionRef, const WideString &name)=0
 
virtual ErrorCode GetConditionName (const UIDRef &conditionRef, WideString &name) const =0
 
virtual ErrorCode SetConditionColor (const UIDRef &conditionRef, UID colorUID)=0
 
virtual ErrorCode GetConditionColor (const UIDRef &conditionRef, UID &colorUID) const =0
 
virtual ErrorCode SetConditionMethod (const UIDRef &conditionRef, IConditionTag::IndicatorMethod newMethod)=0
 
virtual ErrorCode GetConditionMethod (const UIDRef &conditionRef, IConditionTag::IndicatorMethod &method) const =0
 
virtual ErrorCode SetConditionAppearance (const UIDRef &conditionRef, IConditionTag::UnderlineIndicatorAppearance newAppearance)=0
 
virtual ErrorCode GetConditionAppearance (const UIDRef &conditionRef, IConditionTag::UnderlineIndicatorAppearance &appearance) const =0
 
virtual ErrorCode SetConditionOptions (const UIDRef &conditionRef, const WideString &newName, UID newColorUID, IConditionTag::IndicatorMethod newMethod, IConditionTag::UnderlineIndicatorAppearance newAppearance)=0
 
virtual ErrorCode GetConditionOptions (const UIDRef &conditionRef, WideString &name, UID &colorUID, IConditionTag::IndicatorMethod &method, IConditionTag::UnderlineIndicatorAppearance &appearance) const =0
 
virtual ErrorCode SetConditionVisibleState (const UIDRef &conditionRef, bool16 visibleState)=0
 
virtual ErrorCode GetConditionVisibleState (const UIDRef &conditionRef, bool16 &visibleState) const =0
 
virtual ErrorCode ApplyConditionsToText (const UIDRef &textModelRef, TextIndex start, int32 len, const K2Vector< UID > &conditionsToApply, bool16 removeExisting=kFalse)=0
 
virtual ErrorCode RemoveConditionsFromText (const UIDRef &textModelRef, TextIndex start, int32 len, const K2Vector< UID > &conditionsToRemove)=0
 
virtual K2Vector< UIDGetAppliedConditions (const UIDRef &textModelRef, TextIndex startPosition, TextIndex endPosition, int32 *length=nil)=0
 
virtual ErrorCode GetAppliedConditions (const UIDRef &textModelRef, const RangeData &rangeData, UIDList &appliedToAllChars, UIDList &appliedToSomeChars, bool16 *rangeHasUnconditionalChars=nil)=0
 
virtual void GetFirstAvailableDefaultConditionName (IWorkspace *ws, WideString &newName)=0
 
virtual void GetNextDefaultConditionColor (IWorkspace *ws, UID &newColor)=0
 
virtual ErrorCode FindCondition (IWorkspace *ws, const WideString &name, UID &conditionUID)=0
 
virtual IConditionTagListQueryActiveConditionList (IActiveContext *ac)=0
 
virtual IConditionTagListQueryConditionList (IDataBase *db)=0
 
virtual ErrorCode SetShowConditionIndicators (IWorkspace *ws, IConditionalTextOptions::ConditionIndicatorsMode showIndicatorsMode)=0
 
virtual ErrorCode ShowAllConditions (IWorkspace *ws, bool16 showConditions)=0
 
virtual ErrorCode LoadConditions (IWorkspace *ws, const IDFile &sourceFile, bool16 loadConditionSets)=0
 
virtual ErrorCode CreateConditionSet (IWorkspace *ws, const WideString &name, const ConditionSetElementList &conditionSetElements, UID *newConditionSetUID)=0
 
virtual ErrorCode DeleteConditionSet (const UIDRef &conditionSetRef)=0
 
virtual ErrorCode GetAllConditionSets (IWorkspace *ws, UIDList *conditionSets)=0
 
virtual ErrorCode GetActiveConditionSet (IWorkspace *ws, UID &activeConditionSetUID)=0
 
virtual ErrorCode SetActiveConditionSet (IWorkspace *ws, UID activeConditionSetUID)=0
 
virtual ErrorCode GetConditionsInConditionSet (const UIDRef &conditionSetRef, ConditionSetElementList &conditionSetElements)=0
 
virtual ErrorCode RedefineConditionSet (const UIDRef &conditionSetRef, const ConditionSetElementList &conditionSetElements)=0
 
virtual ErrorCode SetConditionSetName (const UIDRef &conditionSetRef, const WideString &name)=0
 
virtual ErrorCode GetConditionSetName (const UIDRef &conditionSetRef, WideString &name)=0
 
virtual ErrorCode FindConditionSet (IWorkspace *ws, const WideString &name, UID &conditionSetUID)=0
 
virtual ErrorCode GetFirstAvailableDefaultConditionSetName (IWorkspace *ws, WideString &newName)=0
 
virtual IConditionTagSetListQueryActiveConditionSetList (IActiveContext *ac)=0
 
virtual IConditionTagSetListQueryConditionSetList (IDataBase *db)=0
 
virtual ErrorCode LoadConditions (IWorkspace *ws, const std::string &sourceFile, bool16 loadConditionTagSets)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

The IConditionalTextFacade provides high-level access to conditions, condition sets and conditional text operations. Please use the IConditionalTextFacade directly via the UtilsBoss if possible, see Utils.h: Utils<Facade::IConditionalTextFacade>()->method( params,... );

Conditions are UID based objects that have a name, drawing options, and visibility sate. They are maintained in a list on the application and document workspaces respectively. They can be applied to text ranges and are represented as a style override, see for kConditionalTextAttributeBoss. Multiple conditions may be applied to the same text.

When a condition's visible state is changed to false, text with that condition applied is hidden if there are no other conditions applied that are visible. Likewise, when a condition's visible state is change to true, hidden text with that condition applied is shown. Hidden text is not searchable.

Condition sets are UID based objects that capture visibility states for each condition. These are maintained in lists on the application and document workspaces. Visibilities for condition(s) created after a set is created do not change when a set is made active. A set may be redefined to capture the visibilites for those conditions.

Settings for conditional text options that are maintained at the document and application workspace include show/hide condition indicators on the text and the active set.

Member Typedef Documentation

Typedef defining a condition set element, the first item in the pair is a UID of the condition and second item is the condition's saved visible state.

Typedef of a vector of ConditionSetElement(s).

Member Function Documentation

virtual ErrorCode Facade::IConditionalTextFacade::ApplyConditionsToText (const UIDReftextModelRef,
TextIndex start,
int32 len,
const K2Vector< UID > & conditionsToApply,
bool16 removeExisting = kFalse 
)
pure virtual

Apply the condition to the specified text range. Conditions already applied are replaced unless otherwise specified. All applied conditions can be removed by passing an empty list of condition UIDs.

Parameters
textModelRefIN The text model containing the text to apply the condition.
startIN The text index for the start of the text range.
lenIN The length of the text range.
conditionsToApplyIN The list of condition UIDs to apply to the text range.
removeExistingIN Whether or not conditions already applied are removed.
Returns
ErrorCode kSuccess if the condition(s) were applied successfully.
virtual ErrorCode Facade::IConditionalTextFacade::CreateCondition (IWorkspacews,
UIDnewConditionUID = nil,
const WideStringname = WideString(""),
UID colorUID = kInvalidUID,
IConditionTag::IndicatorMethod method = IConditionTag::kUnderline,
IConditionTag::UnderlineIndicatorAppearance appearance = IConditionTag::kSingleWavy,
bool16 visibleState = kTrue 
)
pure virtual

Creates a new condition on the workspace provided with the options and visible state specified.

Parameters
wsIN Workspace where to create the condition.
newConditionUIDOUT The UID of newly created condition if successful.
nameIN The name of the new condition. If empty, uses next available name (i.e. Condition 1, Condition 2)
colorUIDIN The UID of the color for the new condition. If kInvalidUID, uses next available color.
methodIN The indicator method.
appearanceIN The underline indicator appearance.
visibleStateIN The visiblity for the new condition.
Returns
ErrorCode kSuccess if the condition was created successfully.
virtual ErrorCode Facade::IConditionalTextFacade::CreateConditionSet (IWorkspacews,
const WideStringname,
const ConditionSetElementListconditionSetElements,
UIDnewConditionSetUID 
)
pure virtual

Creates a new condition set on the workspace provided with the name specified.

Parameters
wsIN Workspace where to create the condition set.
nameIN The name of the new condition set.
conditionSetElementsIN A list of conditions and their visibility states to create a set from.
newConditionSetUIDOUT The UID of newly created condition set if successful.
Returns
ErrorCode kSuccess if the condition set was created successfully.
virtual ErrorCode Facade::IConditionalTextFacade::DeleteConditions (const UIDListconditionsToDelete,
UID conditionToReplaceWith = kInvalidUID 
)
pure virtual

Deletes a condition on the workspace provided and replace with the specified conditon (if any).

Parameters
conditionsToDeleteIN A UIDList of conditions to delete.
conditionToReplaceWithIN The UID of the condition to replace with.
Returns
ErrorCode kSuccess if the condition was deleted successfully.
virtual ErrorCode Facade::IConditionalTextFacade::DeleteConditionSet (const UIDRefconditionSetRef)
pure virtual

Deletes a condition set on the workspace provided.

Parameters
conditionSetRefIN The UIDRef of the condition set to delete.
Returns
ErrorCode kSuccess if the condition set was deleted successfully.
virtual ErrorCode Facade::IConditionalTextFacade::FindCondition (IWorkspacews,
const WideStringname,
UIDconditionUID 
)
pure virtual

Find the uid of a condition by the name.

Parameters
wsIN Workspace to get the name of the uid from.
nameIN name of the to find.
conditionUIDOUT The UID of the condition matching the name passed in.
Returns
ErrorCode kSuccess if the condition was found successfully.
virtual ErrorCode Facade::IConditionalTextFacade::FindConditionSet (IWorkspacews,
const WideStringname,
UIDconditionSetUID 
)
pure virtual

Find the uid of a condition set by the set name.

Parameters
wsIN Workspace to get the name of the condition set uid from.
nameIN name of the condition set to find.
conditionSetUIDOUT The UID of the condition set matching the name passed in.
Returns
ErrorCode kSuccess if the condition set was retrieved successfully.
virtual ErrorCode Facade::IConditionalTextFacade::GetActiveConditionSet (IWorkspacews,
UIDactiveConditionSetUID 
)
pure virtual

Get the condition set currently applied to the workspace provided

Parameters
wsIN Workspace where to get the active set from.
activeConditionSetUIDOUT UID of the active condition set or kInvalidUID if no set is active.
Returns
ErrorCode kSuccess if no errors were encountered getting the active condition set otherwise an error code.
virtual ErrorCode Facade::IConditionalTextFacade::GetAllConditionSets (IWorkspacews,
UIDListconditionSets 
)
pure virtual

Get a uid list of all condition sets in a specific workspace

Parameters
wsIN Workspace where to get the set list from.
conditionSetsOUT A UIDList of sets.
Returns
ErrorCode kSuccess if no errors were encountered getting the list otherwise an error code.
virtual K2Vector<UID> Facade::IConditionalTextFacade::GetAppliedConditions (const UIDReftextModelRef,
TextIndex startPosition,
TextIndex endPosition,
int32 * length = nil 
)
pure virtual

Get the condition(s) applied at startPosition. Will join runs when this attribute is unchanged until endPosition. See kConditionalTextAttributeBoss.

Parameters
textModelRefIN The text model to examine.
startPositionIN The initial text location to start from.
endPositionIN The text location to not bother looking beyond.
lengthOUT A pointer to value that will contain the number of characters after startPosition that share the same attribute value.
Returns
K2Vector<UID> The list of condition UIDs that are applied.
virtual ErrorCode Facade::IConditionalTextFacade::GetAppliedConditions (const UIDReftextModelRef,
const RangeDatarangeData,
UIDListappliedToAllChars,
UIDListappliedToSomeChars,
bool16 * rangeHasUnconditionalChars = nil 
)
pure virtual

Get the condition(s) applied for the range of text specified and return them in the specified lists. See kConditionalTextAttributeBoss.

Parameters
textModelRefIN The text model to examine.
rangeDataIN The range to get applied conditions for.
appliedToAllCharsOUT The conditions applied to all of the characters in the range specified.
appliedToSomeCharsOUT The conditions applied to some of the characters in the range specified.
rangeHasUnconditionalCharsOUT A pointer to bool for whether or not the range has characters that are unconditional.
Returns
ErrorCode kSuccess unless an error occurred.
virtual ErrorCode Facade::IConditionalTextFacade::GetConditionAppearance (const UIDRefconditionRef,
IConditionTag::UnderlineIndicatorAppearance & appearance 
) const
pure virtual

Gets the color for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition.
appearanceOUT The new underline indicator appearance for the condition.
Returns
ErrorCode kSuccess if the get value successfully.
virtual ErrorCode Facade::IConditionalTextFacade::GetConditionColor (const UIDRefconditionRef,
UIDcolorUID 
) const
pure virtual

Gets the color for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition.
colorUIDOUT The color UID for the condition.
Returns
ErrorCode kSuccess if the get value successfully.
virtual ErrorCode Facade::IConditionalTextFacade::GetConditionMethod (const UIDRefconditionRef,
IConditionTag::IndicatorMethod & method 
) const
pure virtual

Gets the indicator method for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition.
methodOUT The indicator method for the condition.
Returns
ErrorCode kSuccess if the get value successfully.
virtual ErrorCode Facade::IConditionalTextFacade::GetConditionName (const UIDRefconditionRef,
WideStringname 
) const
pure virtual

Gets the name for a condition on the workspace provided.

Parameters
wsIN Workspace where to find the condition.
conditionRefIN The UIDRef of the condition.
nameOUT The name condition.
Returns
ErrorCode kSuccess if the get value successfully.
virtual ErrorCode Facade::IConditionalTextFacade::GetConditionOptions (const UIDRefconditionRef,
WideStringname,
UIDcolorUID,
IConditionTag::IndicatorMethod & method,
IConditionTag::UnderlineIndicatorAppearance & appearance 
) const
pure virtual

Gets the options for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition.
nameIN The name for the condition.
colorUIDIN The color UID for the condition. IN The indicator method for the condition.
appearanceIN The underline indicator appearance for the condition.
Returns
ErrorCode kSuccess if the get was successfully.
virtual ErrorCode Facade::IConditionalTextFacade::GetConditionSetName (const UIDRefconditionSetRef,
WideStringname 
)
pure virtual

Sets the name for a condition set on the workspace provided.

Parameters
conditionSetRefIN The UIDRef of the condition set to get the name of.
nameOUT The name of the condition set.
Returns
ErrorCode kSuccess if the condition set name was retrieved successfully.
virtual ErrorCode Facade::IConditionalTextFacade::GetConditionsInConditionSet (const UIDRefconditionSetRef,
ConditionSetElementListconditionSetElements 
)
pure virtual

Given a single condition set uid this will return a list of all conditions within that set.

Parameters
conditionSetRefIN The UIDRef of the condition set to get individual conditions of.
conditionSetElementsOUT a list of conditions in the set and their associated visiblity states.
Returns
ErrorCode kSuccess if no errors were encountered getting the conditions otherwise an error code.
virtual ErrorCode Facade::IConditionalTextFacade::GetConditionVisibleState (const UIDRefconditionRef,
bool16 & visibleState 
) const
pure virtual

Gets the visible state for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition.
visibleStateOUT The visible state for the condition.
Returns
ErrorCode kSuccess if the get value successfully.
virtual void Facade::IConditionalTextFacade::GetFirstAvailableDefaultConditionName (IWorkspacews,
WideStringnewName 
)
pure virtual

Returns the first available default condition name (Condition 1, Condition 2, etc) on the workspace provided. This name is unique with respect to existing conditions' names and can be used to create a new condition with out conflict.

Parameters
wsIN Workspace where to create the condition.
newNameOUT The unique name generated.
virtual ErrorCode Facade::IConditionalTextFacade::GetFirstAvailableDefaultConditionSetName (IWorkspacews,
WideStringnewName 
)
pure virtual

Returns a default condition set name (Condition Set 1, Condition Set 2, etc) on the workspace provided that is unique.

Parameters
wsIN Workspace where to create the paragraph style.
newNameOUT The unique name generated.
virtual void Facade::IConditionalTextFacade::GetNextDefaultConditionColor (IWorkspacews,
UIDnewColor 
)
pure virtual

Returns the next default color to use for a new condition on the workspace provided. See .

Parameters
wsIN Workspace where to create the condition.
colorUIDOUT The color UID for the condition.
virtual ErrorCode Facade::IConditionalTextFacade::LoadConditions (IWorkspacews,
const IDFilesourceFile,
bool16 loadConditionSets 
)
pure virtual

Loads the conditions into the specified workspace from the specified file. Optionally, loads the condition sets.

Parameters
wsIN Workspace to load the conditions and optionally the sets to.
sourceFileIN The file to load the conditions from.
loadConditionSetsIN If kTrue then loads the condition sets; otherwise, only loads the conditions.
Returns
ErrorCode kSuccess if the conditions' visible states were edited successfully.
virtual ErrorCode Facade::IConditionalTextFacade::LoadConditions (IWorkspacews,
const std::string & sourceFile,
bool16 loadConditionTagSets 
)
pure virtual

Loads the condition from a cloud asset represented by sourceFile

Parameters
wsIN Workspace to get the name of the condition set uid from.
sourceFileIN cloud asset of the document.
loadConditionTagSetsIN If kTrue then loads the condition sets; otherwise, only loads the conditions.
Returns
ErrorCode kSuccess if no errors were encountered getting the conditions otherwise an error code.
virtual IConditionTagList* Facade::IConditionalTextFacade::QueryActiveConditionList (IActiveContextac)
pure virtual

Query for the list of conditions in the specified active context.

Parameters
acIN The active context to use.
Returns
IConditionTagList* The condition list associated with the context.
See Also
IConditionTagList
virtual IConditionTagSetList* Facade::IConditionalTextFacade::QueryActiveConditionSetList (IActiveContextac)
pure virtual

Query for the current active condition set list in the specified context.

Parameters
acIN The active context to use.
Returns
IConditionTagSetList* The condition set list associated with the context.
See Also
IConditionTagSetList
virtual IConditionTagList* Facade::IConditionalTextFacade::QueryConditionList (IDataBasedb)
pure virtual

Query for the list of conditions for the given database.

Parameters
dbIN The database to use.
Returns
IConditionTagList* The condition list associated with the database.
See Also
IConditionTagList
virtual IConditionTagSetList* Facade::IConditionalTextFacade::QueryConditionSetList (IDataBasedb)
pure virtual

Query for the condition set list of the given database.

Parameters
dbIN The database to use.
Returns
IConditionTagSetList* The condition set list associated with the database.
See Also
IConditionTagSetList
virtual ErrorCode Facade::IConditionalTextFacade::RedefineConditionSet (const UIDRefconditionSetRef,
const ConditionSetElementListconditionSetElements 
)
pure virtual

Given a single condition set uid this redefines the list of conditions of the set.

Parameters
conditionSetRefIN The UIDRef of the condition set to set individual conditions for.
conditionSetElementsIN a list of conditions to set and their associated visiblity states.
Returns
ErrorCode kSuccess if no errors were encountered setting the conditions otherwise an error code.
virtual ErrorCode Facade::IConditionalTextFacade::RemoveConditionsFromText (const UIDReftextModelRef,
TextIndex start,
int32 len,
const K2Vector< UID > & conditionsToRemove 
)
pure virtual

Remove the specified conditions from the specified text range.

Parameters
textModelRefIN The text model containing the text to apply the condition.
startIN The text index for the start of the text range.
lenIN The length of the text range.
conditionsToUnapplyIN The list of condition UIDs to remove from the text range.
Returns
ErrorCode kSuccess if the condition(s) were applied successfully.
virtual ErrorCode Facade::IConditionalTextFacade::SetActiveConditionSet (IWorkspacews,
UID activeConditionSetUID 
)
pure virtual

Set the active condition set for the workspace.

Parameters
wsIN Workspace where to set the active condition set on.
activeConditionSetUIDIN UID of the condition set to activate.
Returns
ErrorCode kSuccess if no errors were encountered setting the active condition set otherwise an error code.
virtual ErrorCode Facade::IConditionalTextFacade::SetConditionAppearance (const UIDRefconditionRef,
IConditionTag::UnderlineIndicatorAppearance newAppearance 
)
pure virtual

Sets the color for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition to edit.
newAppearanceIN The new underline indicator appearance for the condition.
Returns
ErrorCode kSuccess if the condition was edited successfully.
virtual ErrorCode Facade::IConditionalTextFacade::SetConditionColor (const UIDRefconditionRef,
UID colorUID 
)
pure virtual

Sets the color for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition to edit.
colorUIDIN The new color UID for the condition.
Returns
ErrorCode kSuccess if the condition was edited successfully.
virtual ErrorCode Facade::IConditionalTextFacade::SetConditionMethod (const UIDRefconditionRef,
IConditionTag::IndicatorMethod newMethod 
)
pure virtual

Sets the indicator method for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition to edit.
newMethodIN The new indicator method for the condition.
Returns
ErrorCode kSuccess if the condition was edited successfully.
virtual ErrorCode Facade::IConditionalTextFacade::SetConditionName (const UIDRefconditionRef,
const WideStringname 
)
pure virtual

Sets the name for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition to edit.
nameIN The new name condition.
Returns
ErrorCode kSuccess if the condition was edited successfully.
virtual ErrorCode Facade::IConditionalTextFacade::SetConditionOptions (const UIDRefconditionRef,
const WideStringnewName,
UID newColorUID,
IConditionTag::IndicatorMethod newMethod,
IConditionTag::UnderlineIndicatorAppearance newAppearance 
)
pure virtual

Sets the options for a condition on the workspace provided.

Parameters
conditionRefIN The UIDRef of the condition to edit.
newNameIN The new name condition.
newColorUIDIN The new color UID for the condition.
newMethodIN The new indicator method for the condition.
newAppearanceIN The new underline indicator appearance for the condition.
Returns
ErrorCode kSuccess if the condition was edited successfully.
virtual ErrorCode Facade::IConditionalTextFacade::SetConditionSetName (const UIDRefconditionSetRef,
const WideStringname 
)
pure virtual

Sets the name for a condition set on the workspace provided.

Parameters
conditionSetRefIN The UIDRef of the condition set to edit.
nameIN The new name condition set.
Returns
ErrorCode kSuccess if the condition set was edited successfully.
virtual ErrorCode Facade::IConditionalTextFacade::SetConditionVisibleState (const UIDRefconditionRef,
bool16 visibleState 
)
pure virtual

Sets the visible state for a condition on the workspace provided. Will hide or show conditional text appropriately.

Parameters
conditionRefIN The UIDRef of the condition to edit.
visibleStateIN The new visible state for the condition; kTrue to show or kFalse to hide.
Returns
ErrorCode kSuccess if the condition was edited successfully.
virtual ErrorCode Facade::IConditionalTextFacade::SetShowConditionIndicators (IWorkspacews,
IConditionalTextOptions::ConditionIndicatorsMode showIndicatorsMode 
)
pure virtual

Set the conditional text option for show condition indicators on the workspace provided.

Parameters
wsIN Workspace where to set the option.
showIndicatorsModeIN The new setting for the show condition indications option.
Returns
ErrorCode kSuccess if the option was edited successfully.
See Also
IConditionalTextOptions::ConditionIndicatorsMode
virtual ErrorCode Facade::IConditionalTextFacade::ShowAllConditions (IWorkspacews,
bool16 showConditions 
)
pure virtual

Shows or hides all of the conditions in the specified workspace based on the specified flag.

Parameters
wsIN Workspace containing the conditions to show/hide.
showConditionsIN The new setting for the conditions visible states; kTrue to show or kFalse to hide.
Returns
ErrorCode kSuccess if the conditions visible states were edited successfully.