InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PrnSelScriptProvider Class Reference
Inheritance diagram for PrnSelScriptProvider:
PrefsScriptProviderSingletonScriptProviderRepresentScriptProviderCScriptProviderCPMUnknown< IScriptProvider >IScriptProviderIPMUnknown

Public Member Functions

 PrnSelScriptProvider (IPMUnknown *boss)
 
 ~PrnSelScriptProvider ()
 
virtual ErrorCode AccessProperty (ScriptID propID, IScriptRequestData *data, IScript *parent)
 
- Public Member Functions inherited from PrefsScriptProvider
 PrefsScriptProvider (IPMUnknown *boss)
 
virtual ~PrefsScriptProvider ()
 

Additional Inherited Members

- Public Types inherited from PrefsScriptProvider
typedef SingletonScriptProvider Inherited
 
- Protected Types inherited from SingletonScriptProvider
typedef RepresentScriptProvider Inherited
 
- Protected Member Functions inherited from PrefsScriptProvider
virtual int32 GetNumObjects (const IScriptRequestData *data, IScript *parent)
 
virtual ErrorCode AppendNthObject (const IScriptRequestData *data, IScript *parent, int32 n, ScriptList &objectList)
 
virtual ErrorCode AppendAllObjects (const IScriptRequestData *data, IScript *parent, ScriptList &objectList)
 
void DefinePreference (const ScriptID &objectID, const ScriptID &propID, const ClassID &bossID=kBasePrefsScriptObjectBoss)
 
virtual ErrorCode AccessPreference (ScriptID propID, IScriptRequestData *data, IScript *parent)
 
virtual bool16 CanAccessPreference (ScriptID propID, IScript *parent) const
 
virtual IScriptQueryPrefScript (const IScriptRequestData *data, IScript *parent, const ScriptID &propID)
 
- Static Protected Member Functions inherited from PrefsScriptProvider
static IPMUnknownQueryPreferences (const IScriptRequestData *data, const IScript *prefsScript, const PMIID &prefInterfaceID)
 
- Protected Attributes inherited from CPMUnknown< IScriptProvider >
HelperInterface fHelperInterface
 

Detailed Description

Adds scripting support for the print selection preference object.

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * PrnSelScriptProvider::PrnSelScriptProvider (IPMUnknownboss)

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.
PrnSelScriptProvider::~PrnSelScriptProvider ()
inline

Destructor. Does nothing.

Member Function Documentation

ErrorCode PrnSelScriptProvider::AccessProperty (ScriptID propID,
IScriptRequestDatadata,
IScriptparent 
)
virtual

This method is called by the script manager if this provider can handle a specific property.

Parameters
propIDidentifies the ID of the property to handle.
dataidentifies an interface pointer used to extract data.
parentidentifies an interface pointer on the script object representing the parent of the current object.

Reimplemented from PrefsScriptProvider.