InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
WRCParagraphComposerServiceProvider Class Reference
Inheritance diagram for WRCParagraphComposerServiceProvider:
CServiceProviderIK2ServiceProviderIPMUnknown

Public Member Functions

 WRCParagraphComposerServiceProvider (IPMUnknown *boss)
 
virtual void GetName (PMString *pName)
 
virtual ServiceID GetServiceID (void)
 
virtual bool16 HasMultipleIDs (void) const
 
virtual void GetServiceIDs (K2Vector< ServiceID > &serviceIDs)
 
virtual bool16 IsDefaultServiceProvider (void)
 
virtual
IK2ServiceProvider::InstancePerX 
GetInstantiationPolicy (void)
 
virtual IPlugIn::ThreadingPolicy GetThreadingPolicy () const
 
- Public Member Functions inherited from CServiceProvider
 CServiceProvider (IPMUnknown *boss)
 

Additional Inherited Members

- Public Types inherited from IK2ServiceProvider
enum  { kDefaultIID = IID_IK2SERVICEPROVIDER }
 
enum  InstancePerX { kInstancePerSession, kInstancePerUse, kInstancePerSessionPreload, kInstancePerSessionNoPurge }
 
- Protected Member Functions inherited from CServiceProvider
void InitThreadingPolicy (PMIID whichIID=IID_IK2SERVICEPROVIDER)
 
- Protected Attributes inherited from CServiceProvider
IPlugIn::ThreadingPolicy fThreadingPolicy
 

Member Function Documentation

virtual IK2ServiceProvider::InstancePerX WRCParagraphComposerServiceProvider::GetInstantiationPolicy (void )
inlinevirtual
Returns
kInstancePerSession.

Reimplemented from CServiceProvider.

virtual void WRCParagraphComposerServiceProvider::GetName (PMStringpName)
inlinevirtual

A service may optionally have a name. The service registry does not use this name in any way.

Reimplemented from CServiceProvider.

virtual ServiceID WRCParagraphComposerServiceProvider::GetServiceID (void )
inlinevirtual

Each type of service is identified by a ServiceID. This function returns the ServiceID that this service implements.

Implements IK2ServiceProvider.

virtual void WRCParagraphComposerServiceProvider::GetServiceIDs (K2Vector< ServiceID > & serviceIDs)
inlinevirtual

If the service supports more than on ServiceID, return a list of services supported.

Returns
K2Vector<ServiceID> all supported services

Reimplemented from CServiceProvider.

virtual IPlugIn::ThreadingPolicy WRCParagraphComposerServiceProvider::GetThreadingPolicy () const
inlinevirtual

By default the base class will return the threading policy of the plugin where the service provider is defined. Service providers can override this if they reside in a model plugin but want to operate only in the main thread.

Reimplemented from CServiceProvider.

virtual bool16 WRCParagraphComposerServiceProvider::HasMultipleIDs (void ) const
inlinevirtual

Support for multiple Service ID's A single service provider may support multiple service IDs. This is a most frequently used for dialog panels that appear in multiple dialogs. If a service does support multiple service ID's and is instance per session, one instance is created per service ID.

Returns
kTrue if this service supports multiple ServiceIDs

Reimplemented from CServiceProvider.

virtual bool16 WRCParagraphComposerServiceProvider::IsDefaultServiceProvider (void )
inlinevirtual
Returns
kFalse, the composer is not the default IParagraphComposer service.

Reimplemented from CServiceProvider.