InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SLCServiceProvider Class Reference
Inheritance diagram for SLCServiceProvider:
CPMUnknown< IK2ServiceProvider >IK2ServiceProviderIPMUnknown

Public Member Functions

 SLCServiceProvider (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 CPMUnknown< IK2ServiceProvider >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Public Types inherited from IK2ServiceProvider
enum  { kDefaultIID = IID_IK2SERVICEPROVIDER }
 
enum  InstancePerX { kInstancePerSession, kInstancePerUse, kInstancePerSessionPreload, kInstancePerSessionNoPurge }
 
- Protected Member Functions inherited from CPMUnknown< IK2ServiceProvider >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IK2ServiceProvider >
HelperInterface fHelperInterface
 

Detailed Description

Registers SLCParagraphComposer as a kTextEngineService, the ServiceID under which all IParagraphComposer services are registered. Also provides the name used to identify the composer in the user interface.

See Also
IK2ServiceProvider
kTextEngineService
SLCParagraphComposer

Constructor & Destructor Documentation

SLCServiceProvider::SLCServiceProvider (IPMUnknownboss)
inline

Constructor.

Parameters
bossinterface ptr of boss object on which this interface is aggregated.

Member Function Documentation

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

Implements IK2ServiceProvider.

virtual void SLCServiceProvider::GetName (PMStringpName)
inlinevirtual

Get the name of the paragraph composer service.

Parameters
pNameOUT string key that can be translated to give the name of the composer for display in the user interface.

Implements IK2ServiceProvider.

virtual ServiceID SLCServiceProvider::GetServiceID (void )
inlinevirtual
Returns
kTextEngineService the ServiceID returned by all IParagraphComposer services.

Implements IK2ServiceProvider.

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

This service is registered under the ServiceID kTextEngineService only.

Parameters
serviceIDsvector to add ServiceID to.

Implements IK2ServiceProvider.

virtual IPlugIn::ThreadingPolicy SLCServiceProvider::GetThreadingPolicy () const
inlinevirtual
Returns
IPlugIn::kUnknownThreadingPolicy since we are not sure if this will be useful for worker threads.

Implements IK2ServiceProvider.

virtual bool16 SLCServiceProvider::HasMultipleIDs (void ) const
inlinevirtual
Returns
kFalse.

Implements IK2ServiceProvider.

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

Implements IK2ServiceProvider.