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

Public Types | |
| enum | { kDefaultIID = IID_ISCRIPTMANAGER } |
Public Member Functions | |
| virtual ErrorCode | Install ()=0 |
| virtual ErrorCode | UnInstall ()=0 |
| virtual bool16 | IsScriptActive () const =0 |
| virtual uint32 | GetNumEngines () const =0 |
| virtual IScriptEngine * | QueryNthEngine (uint32 n) const =0 |
| virtual IScriptEngine * | QueryDefaultEngine () const =0 |
| virtual ErrorPolicy | GetErrorPolicy (ScriptID requestID=kInvalidScriptID) const =0 |
| virtual SetPropertiesOrderPolicy | GetSetPropertiesOrderPolicy () const =0 |
| virtual FormatNamePolicy | GetFormatNamePolicy (ScriptElementType element, const RequestContext &context) const =0 |
| virtual PMString | GetTypeAsString (const TypeInfo &ti, const ObjectScriptElement *pObjSI, int32 includeInfo) const =0 |
| virtual PMString | GetTypeAsString (const TypeInfo &ti, const RequestContext &context, int32 includeInfo) const =0 |
| virtual int32 | GetBaseIndex () const =0 |
| virtual ErrorCode | PublishDescription (const RequestContext &)=0 |
| virtual ScriptVersion | GetMinimumDOMVersion (const PMLocaleId &locale) const =0 |
| virtual ScriptVersion | GetMaximumDOMVersion (const PMLocaleId &locale) const =0 |
| virtual ScriptID | GetLanguageEnumerator () const =0 |
| virtual PMString | GetName () 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 |
Every scripting language supported by InDesign must implement this interface to provide basic information about support for the scripting language.
Most implementations will want to inherit from CScriptManager.
| pure virtual |
Implemented in CScriptManager.
| pure virtual |
Returns the policy for returning errors during a request
| requestID | the property or event ID for which the error policy is being requested (pass kInvalidScriptID to retrieve the default policy) |
Implemented in CScriptManager.
| pure virtual |
Access to policies for formatting the name of script elements
| element | is the element type for which the format name policies are being requested |
| context | for the policy |
Implemented in CScriptManager.
| pure virtual |
Implemented in CScriptManager.
| pure virtual |
Implemented in CScriptManager.
| pure virtual |
Implemented in CScriptManager.
| pure virtual |
Implemented in CScriptManager.
| pure virtual |
Get the number of engines for this client
Implemented in CScriptManager.
| pure virtual |
Returns the policy for the order to set properties when setting multiple properties at once
Implemented in CScriptManager.
| pure virtual |
Convert a script info type into a string representation. This is the preferred overload.
| ti | is the type info to convert |
| the | object context for the conversion (must not be nil) |
| includeInfo | options are defined in enum TypeFormattingInfo |
Implemented in CScriptManager.
| pure virtual |
Convert a script info type into a string representation. Use this overload only if no ObjectScriptElement is relevant.
| ti | is the type info to convert |
| context | for the conversion |
| includeInfo | options are defined in enum TypeFormattingInfo |
Implemented in CScriptManager.
| pure virtual |
Tells the script manager to install
Implemented in CScriptManager.
| pure virtual |
Determine whether a script is running under this manager
Implemented in CScriptManager.
| pure virtual |
Publish any information about the object model
Implemented in CScriptManager.
| pure virtual |
Query the default engine for this client
Implemented in CScriptManager.
| pure virtual |
Query the nth engine for this client
Implemented in CScriptManager.
| pure virtual |
Tells the script manager to uninstall
Implemented in CScriptManager.