InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ScriptInfo::EngineContext Class Reference

#include <RequestContext.h>

Inheritance diagram for ScriptInfo::EngineContext:
ScriptInfo::RequestContext

Public Types

typedef object_type data_type
 
- Public Types inherited from ScriptInfo::RequestContext
typedef object_type data_type
 

Public Member Functions

 EngineContext (const IScriptManager *client, const ScriptVersion &version, const PMLocaleId &locale, const IScriptEngine *engine=nil)
 
 EngineContext (const EngineContext &other)
 
IScriptEngineQueryScriptEngine () const
 
EngineContextoperator= (const EngineContext &)
 
bool16 operator== (const EngineContext &other) const
 
bool16 operator!= (const EngineContext &other) const
 
- Public Member Functions inherited from ScriptInfo::RequestContext
 RequestContext (const IScriptManager *client, const ScriptVersion &version, const PMLocaleId &locale)
 
 RequestContext (const RequestContext &other)
 
const PMLocaleIdGetLocale () const
 
const ScriptVersionGetVersion () const
 
const ScriptClientGetClient () const
 
IScriptManagerQueryScriptManager () const
 
RequestContextoperator= (const RequestContext &)
 
bool16 operator== (const RequestContext &other) const
 
bool16 operator!= (const RequestContext &other) const
 
void ReadWrite (IPMStream *s)
 

Detailed Description

The context for a scripting request determines the content of the scripting document object model (DOM) that is used to process the request. It also determines how a request is handled based on preferences in the client's implementation of IScriptManager and IScriptPreferences.

Member Function Documentation

IScriptEngine* ScriptInfo::EngineContext::QueryScriptEngine () const

Query the script engine for this context. If none is set, returns the script manager's default engine.