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

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) | |
| IScriptEngine * | QueryScriptEngine () const |
| EngineContext & | operator= (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 PMLocaleId & | GetLocale () const |
| const ScriptVersion & | GetVersion () const |
| const ScriptClient & | GetClient () const |
| IScriptManager * | QueryScriptManager () const |
| RequestContext & | operator= (const RequestContext &) |
| bool16 | operator== (const RequestContext &other) const |
| bool16 | operator!= (const RequestContext &other) const |
| void | ReadWrite (IPMStream *s) |
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.
| IScriptEngine* ScriptInfo::EngineContext::QueryScriptEngine | ( | ) | const |
Query the script engine for this context. If none is set, returns the script manager's default engine.