InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CHLUserDictMgr Class Reference
Inheritance diagram for CHLUserDictMgr:
CPMUnknown< IUserDictMgr >IUserDictMgrIPMUnknown

Public Member Functions

 CHLUserDictMgr (IPMUnknown *boss)
 
virtual void Install (const PMString &rPath)
 
virtual int32 GetLanguageCount () const
 
virtual ILanguageQueryNthLanguage (int32 nNth)
 
virtual bool16 HasLanguage (const ILanguage *pLanguage) const
 
virtual IUserDictServiceQueryServiceOfLanguage (const ILanguage *pLanguage)
 
- Public Member Functions inherited from CPMUnknown< IUserDictMgr >
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

- Protected Member Functions inherited from CPMUnknown< IUserDictMgr >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IUserDictMgr >
HelperInterface fHelperInterface
 

Detailed Description

Implements a user dictionary manager.

Member Function Documentation

int32 CHLUserDictMgr::GetLanguageCount () const
virtual

Gets total count of supported languages.

Returns
int32 count of supported languages.

Implements IUserDictMgr.

bool16 CHLUserDictMgr::HasLanguage (const ILanguagepLanguage) const
virtual

Returns whether the specified language is supported or not.

Parameters
pLanguageLanguage to see if supported.
Returns
bool16 kTrue if the specified language is supported.

Implements IUserDictMgr.

void CHLUserDictMgr::Install (const PMStringrPath)
virtual

OBSOLETE

Implements IUserDictMgr.

ILanguage * CHLUserDictMgr::QueryNthLanguage (int32 nNth)
virtual

Queries the language of the n'th service.

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

Implements IUserDictMgr.

IUserDictService * CHLUserDictMgr::QueryServiceOfLanguage (const ILanguagepLanguage)
virtual

Returns the user dict service for the specified language.

Parameters
pLanguageLanguage to get user dict service for.
Returns
IUserDictService* User dict service for the specified language.

Implements IUserDictMgr.