InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISpellingMgr Class Referenceabstract
Inheritance diagram for ISpellingMgr:
IPMUnknownCPMUnknown< ISpellingMgr >CHLSpellingMgr

Public Types

enum  { kDefaultIID = IID_ISPELLINGMGR }
 

Public Member Functions

virtual void Install (const PMString &rPath)=0
 
virtual int32 GetLanguageCount () const =0
 
virtual ILanguageQueryNthLanguage (int32 nNth)=0
 
virtual bool16 HasLanguage (const ILanguage *pLanguage) const =0
 
virtual ISpellingServiceQueryServiceOfLanguage (const ILanguage *pLanguage, int32 nth=0)=0
 
virtual int32 GetServiceOfLanguageCount (const ILanguage *pLanguage)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Member Function Documentation

virtual int32 ISpellingMgr::GetLanguageCount () const
pure virtual

Returns the count of supported languages.

Returns
count of supported languages.

Implemented in CHLSpellingMgr.

virtual int32 ISpellingMgr::GetServiceOfLanguageCount (const ILanguagepLanguage)
pure virtual

Returns the count of spelling services for a language.

Parameters
pLanguagelanguage to get count for
Returns
Count of spelling services for language.

Implemented in CHLSpellingMgr.

virtual bool16 ISpellingMgr::HasLanguage (const ILanguagepLanguage) const
pure virtual

returns whether nLanguage is supported or not.

Parameters
pLanguageLanguage to see if supported.
Returns
returns kTrue if nLanguage is supported.

Implemented in CHLSpellingMgr.

virtual void ISpellingMgr::Install (const PMStringrPath)
pure virtual

Installs the spelling engine, rPath usually contains the path with the dictionaries.

Parameters
rPathPath to directories. may not be needed depending on service

Implemented in CHLSpellingMgr.

virtual ILanguage* ISpellingMgr::QueryNthLanguage (int32 nNth)
pure virtual

Returns the language of the nth service.

Parameters
nthnth service to find language for, nth is 0 based and < GetLanguageCount()
Returns
Returns the language of the nth service.

Implemented in CHLSpellingMgr.

virtual ISpellingService* ISpellingMgr::QueryServiceOfLanguage (const ILanguagepLanguage,
int32 nth = 0 
)
pure virtual

Returns the spelling service for that language.

Parameters
pLanguagelanguage to get spelling service for.
nthnth service for language. nth is 0 based and < GetServiceOfLanguageCount().
Returns
spelling service for language.

Implemented in CHLSpellingMgr.