InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
HypHyphenationService Class Reference
Inheritance diagram for HypHyphenationService:
CPMUnknown< IHyphenationService >IHyphenationServiceIPMUnknown

Public Member Functions

 HypHyphenationService (IPMUnknown *boss)
 
virtual ~HypHyphenationService ()
 
virtual IHyphenatedWordHyphenate (const TextCharBuffer &rWord, LinguisticServiceMode mode, uint16 nMinTail, uint16 nMinHead, LinguisticProviderHyphenationStyle providerHyphStyle)
 
virtual bool16 Set (const PMString &rFileName)
 
virtual void CheckUserDictionary (bool16 checkIt)
 
- Public Member Functions inherited from CPMUnknown< IHyphenationService >
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 IHyphenationService
enum  { kDefaultIID = IID_IHYPHENATIONSERVICE }
 
- Protected Member Functions inherited from CPMUnknown< IHyphenationService >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IHyphenationService >
HelperInterface fHelperInterface
 

Detailed Description

Performs hyphenation by delegating all requests to HypAdapter::Hyphenate.

Constructor & Destructor Documentation

HypHyphenationService::HypHyphenationService (IPMUnknownboss)

Constructor.

HypHyphenationService::~HypHyphenationService ()
virtual

Destructor.

Member Function Documentation

virtual void HypHyphenationService::CheckUserDictionary (bool16 checkIt)
inlinevirtual

Sets check user dictionary flag.

Parameters
checkItkTrue to turn on check user dictionary flag.

Implements IHyphenationService.

IHyphenatedWord * HypHyphenationService::Hyphenate (const TextCharBufferrWord,
LinguisticServiceMode mode,
uint16 nMinTail,
uint16 nMinHead,
LinguisticProviderHyphenationStyle providerHyphStyle 
)
virtual

Hyphenate the given word. See HypAdapter for description of parameters.

Parameters
rWord
nMinTail
nMinHead
Returns
word with hyphenation points

Implements IHyphenationService.

bool16 HypHyphenationService::Set (const PMStringrFileName)
virtual

Called during service installation to inform service of its dictionary file.

Implements IHyphenationService.