![]() | InDesign SDK 20.5 |
#include <IHyphenatedWord.h>

Public Member Functions | |
| virtual int32 | GetPointCount () const =0 |
| virtual int32 | GetIndexOfPoint (int32 nNthPoint) const =0 |
| virtual int32 | GetQualityOfPoint (int32 nNthPoint) const =0 |
| virtual WideString | GetWord () const =0 |
| virtual void | GetPartsOfPoint (int32 nNthPoint, WideString *pFirstPart, WideString *pLastPart) const =0 |
| virtual void | GetFirstPartOfPoint (int32 nNthPoint, WideString *pPart) const =0 |
| virtual void | GetLastPartOfPoint (int32 nNthPoint, WideString *pPart) const =0 |
| virtual void | Merge (const IHyphenatedWord *pToMergeWith)=0 |
| virtual void | ValidatePointRanges (void)=0 |
Public Member Functions inherited from grRefCountedObj | |
| grRefCountedObj () | |
| virtual | ~grRefCountedObj ()=0 |
| virtual void | AddRef () const |
| virtual void | Release () const |
Additional Inherited Members | |
Protected Attributes inherited from grRefCountedObj | |
| int32 | fRefCount |
IHyphenatedWord stores information about the hyphenation points within a particular word. It is not an interface itself, but rather just an AddRef/Release abstract C++ object.
| anonymous enum |
Quality values for hyphenation points are ranked between -100 and +100: The negative value should only be use internally.
| pure virtual |
Fills the WideString without hyphen, i.e.: "service" to "ser". Will do spelling changes but doesn't add the hyphen (if it wasn't already there).
| nNthPoint | is which break point. |
| pPart | is a pointer (not nil) to a blank WideString, is filled out with the pre-break point part. |
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.
| pure virtual |
The index is the position before the hyphen: i.e. ser-vice returns 2 (zero-based).
| nNthPoint | is which point to ask about. |
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.
| pure virtual |
Fills the WideString, i.e.: "service" to "vice". Can do spelling changes.
| nNthPoint | is which break point. |
| pPart | is a pointer (not nil) to a blank WideString, is filled out with the post-break point part. |
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.
| pure virtual |
Fills the WideStrings without hyphen, i.e.: "service" to "ser" and "vice". Will do spelling changes but doesn't add the hyphen (if it wasn't already there).
| nNthPoint | is which break point. |
| pFirstPart | is a pointer (not nil) to a blank WideString, is filled out with the pre-break point part. |
| pLastPart | is a pointer (not nil) to a blank WideString, is filled out with the post-break point part. |
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.
| pure virtual |
How many hyphenation points?
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.
| pure virtual |
The quality value of the Nth hyphenation point.
| nNthPoint | is which point to ask about. |
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.
| pure virtual |
Copies the word (might be different because the linguisitc systems do their own character translations).
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.
| pure virtual |
Merge 2 lists of break points. Used to combine dictionary breakpoints with other types of breaking Used only for to combine hard dash breaking since Discretionary hyphens always take precidence.
| pToMergeWith | is another hyphenated word to merge into this one. |
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.
| pure virtual |
after merging, this routine is called as a post-method clean up
Implemented in ExceptionHyphenWord, and HypHyphenatedWord.