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

Public Types

enum  { kDefaultIID = IID_IHYPHENATIONMGR }
 

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 IHyphenationServiceQueryServiceOfLanguage (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 IHyphenationMgr::GetLanguageCount () const
pure virtual

Returns the count of supported languages.

Returns
count of supported languages.

Implemented in HypHyphenationMgr.

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

Returns the count of hyphenation services for a language.

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

Implemented in HypHyphenationMgr.

virtual bool16 IHyphenationMgr::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 HypHyphenationMgr.

virtual void IHyphenationMgr::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 HypHyphenationMgr.

virtual ILanguage* IHyphenationMgr::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 HypHyphenationMgr.

virtual IHyphenationService* IHyphenationMgr::QueryServiceOfLanguage (const ILanguagepLanguage,
int32 nth = 0 
)
pure virtual

Returns the hyphenation service for that language.

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

Implemented in HypHyphenationMgr.