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

Public Types | |
| enum | SetDrawOptionsSetFlags { kSetSaveLocalOverrides = 0x01 } |
Public Member Functions | |
| virtual void | SetSet (DrawOptionsSet set, bool8 isDefault)=0 |
| virtual void | SetIgnore (bool8 ignoreOverrides)=0 |
| virtual void | SetSaveLocalOverrides (bool8 save)=0 |
| virtual bool8 | GetSet (DrawOptionsSet *set) const =0 |
| virtual bool8 | IsDefault (void) const =0 |
| virtual bool8 | DoIgnore (void) const =0 |
| virtual bool8 | DoSaveLocalOverrides () const =0 |
| virtual SetDrawOptionsSetFlags | GetSetFlags () 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 |
This class is used to apply or clear display option overrides on page items. Overrides can be persistent (not recommended) or non-persistent (recommended).
enum flags
| pure virtual |
Returns kTrue if local display setting overrides on page items should be ignored. That is, are we ignoring local overrides?
| pure virtual |
Returns whether we are persisting local overrides
| pure virtual |
| set | - IN: Pointer to a valid DrawOptionsSet. |
| pure virtual |
Obsolete. Serves no useful purpose.
| pure virtual |
Returns whether the set returned via GetSet the default view set.
| pure virtual |
SetIgnore Set the "Ignore Local Overrides" setting. When kTrue, local overrides (stored in a page item's IDrawOptionOverrides interface) will be ignored. Note: YOU MUST CALL THIS METHOD TO GUARANTEE THAT THE IGNOREOVERRIDES SETTINGS IS CORRECT.
| ignoreOverrides | - IN: kTrue to ignore local display overrides (set from the Object->Display Performance menu). |
| pure virtual |
| save | - IN: kTrue to persist local display overrides on page items. Not recommended as it can dramatically slow down the time it takes to open and navigate through a document. |
| pure virtual |
Add or replace a DrawOptionsSet to the list of DrawOptionsSets stored in the Session workspace. Note: CALLING THIS ROUTINE IS OPTIONAL IF ALL YOU WANT TO DO IS SET THE IGNORE FLAG.
| set | - IN: The new set of draw options. |
| isDefault | - IN: kTrue to use this set as the default set of draw options for new windows. |