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

Public Member Functions

 HypHyphenationMgr (IPMUnknown *boss)
 
virtual ~HypHyphenationMgr ()
 
virtual void Install (const PMString &rPath)
 
virtual int32 GetLanguageCount () const
 
virtual ILanguageQueryNthLanguage (int32 nNth)
 
virtual bool16 HasLanguage (const ILanguage *pLanguage) const
 
virtual IHyphenationServiceQueryServiceOfLanguage (const ILanguage *pLanguage, int32)
 
virtual int32 GetServiceOfLanguageCount (const ILanguage *pLanguage)
 
- Public Member Functions inherited from CPMUnknown< IHyphenationMgr >
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 IHyphenationMgr
enum  { kDefaultIID = IID_IHYPHENATIONMGR }
 
- Protected Member Functions inherited from CPMUnknown< IHyphenationMgr >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IHyphenationMgr >
HelperInterface fHelperInterface
 

Detailed Description

Manages the hyphenation services (IHyphenationService) supported by this plug-in. See kHypHyphenationServiceBoss.

Creates hyphenation service (IHyphenationService) for each supported language (ILanguage) and provides the application with access to these services on request.

Vendors should tailor this code to install services for the languages supported.

Constructor & Destructor Documentation

HypHyphenationMgr::HypHyphenationMgr (IPMUnknownboss)

Constructor.

HypHyphenationMgr::~HypHyphenationMgr ()
virtual

Destructor.

Member Function Documentation

int32 HypHyphenationMgr::GetLanguageCount () const
virtual
Returns
the number of languages supported.

Implements IHyphenationMgr.

virtual int32 HypHyphenationMgr::GetServiceOfLanguageCount (const ILanguagepLanguage)
inlinevirtual

Returns the count of hyphenation services for a language.

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

Implements IHyphenationMgr.

bool16 HypHyphenationMgr::HasLanguage (const ILanguagepLanguage) const
virtual
Parameters
pLanguageThe language to check.
Returns
kTrue if language supported, kFalse otherwise.

Implements IHyphenationMgr.

void HypHyphenationMgr::Install (const PMStringrPath)
virtual

Create all hyphenation services.

Implements IHyphenationMgr.

ILanguage * HypHyphenationMgr::QueryNthLanguage (int32 nNth)
virtual
Parameters
nNthThe index of the language to query.
Returns
the language of the Nth service.

Implements IHyphenationMgr.

IHyphenationService * HypHyphenationMgr::QueryServiceOfLanguage (const ILanguagepLanguage,
int32  
)
virtual
Parameters
pLanguageThe language to check.
Returns
hyphenation service for given language.

Implements IHyphenationMgr.