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

Public Types | |
| enum | { kDefaultIID = IID_ISCRIPTPREFERENCES } |
| enum | InteractionLevel { kNeverInteract = en_NeverInteract, kInteractWithAlerts = en_InteractWithAlerts, kInteractWithAll = en_InteractWithAll } |
Public Member Functions | |
| virtual const ScriptVersion & | GetVersion () const =0 |
| virtual void | SetVersion (const ScriptVersion &)=0 |
| virtual const PMLocaleId & | GetLocale () const =0 |
| virtual void | SetLocale (const PMLocaleId &)=0 |
| virtual InteractionLevel | GetInteractionLevel () const =0 |
| virtual void | SetInteractionLevel (InteractionLevel)=0 |
| virtual ClassID | GetUnitOfMeasure () const =0 |
| virtual void | SetUnitOfMeasure (const ClassID &bossId)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Preferences for the client when executing a script.
Levels of UI interaction with the user during script execution
| pure virtual |
Returns the current level of UI interaction
| pure virtual |
Returns the locale of the script info resources used for scripting requests
| pure virtual |
Gets the class id of the measurement system. e.g. kPointsBoss, kMillimetersBoss If the class id is valid, it is used when converting script data to/from unit type.
| pure virtual |
Returns the version of the script info resources used for scripting requests
| pure virtual |
Sets the level of UI interaction
| pure virtual |
Sets the locale of the script info resources used for scripting requests
| pure virtual |
Sets the class id of the measurement system. This is used when converting script data to/from unit type.
| bossId | - the classID of the measurement system. Pass in kInvalidClass to clear the unit. |
| pure virtual |
Sets the version of the script info resources used for scripting requests