InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CHLThesaurus Class Reference
Inheritance diagram for CHLThesaurus:
CPMUnknown< IThesaurusService >IThesaurusServiceIPMUnknown

Public Member Functions

 CHLThesaurus (IPMUnknown *boss)
 
 ~CHLThesaurus ()
 
virtual bool16 GetThesRecord (const PMString &rWord, ThesRecord &thesRecord)
 
virtual bool16 GetSynonyms (const PMString &rWord, WideStringList &wList)
 
virtual bool16 GetAntonyms (const PMString &rWord, WideStringList &wList)
 
virtual bool16 GetNearSynonyms (const PMString &rWord, WideStringList &wList)
 
virtual bool16 GetNearAntonyms (const PMString &rWord, WideStringList &wList)
 
virtual bool16 GetSeeAlsoWords (const PMString &rWord, WideStringList &wList)
 
virtual bool16 GetAltSuggestions (const PMString &rWord, WideStringList &wList)
 
virtual bool16 Set (const PMString &rThesFileName)
 
- Public Member Functions inherited from CPMUnknown< IThesaurusService >
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 IThesaurusService
enum  { kDefaultIID = IID_ITHESAURUSSERVICE }
 
enum  ThesResult { kSuccess, kFailure, kThesError }
 
enum  ThesWordListEnum {
  kSynonyms, kAntonyms, kComparedWords, kRelatedWords,
  kContrastingWords
}
 
- Protected Member Functions inherited from CPMUnknown< IThesaurusService >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IThesaurusService >
HelperInterface fHelperInterface
 

Constructor & Destructor Documentation

CHLThesaurus::CHLThesaurus (IPMUnknownboss)

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.

CHLThesaurus::CHLThesaurus

CHLThesaurus::~CHLThesaurus ()

Member Function Documentation

bool16 CHLThesaurus::GetAltSuggestions (const PMStringrWord,
WideStringListwList 
)
virtual

Get the alternate suggestions list for the lookup word, normally used if the lookup word was not found

CHLThesaurus::GetAltSuggestions

Implements IThesaurusService.

bool16 CHLThesaurus::GetAntonyms (const PMStringrWord,
WideStringListwList 
)
virtual

Get the antonyms list for the lookup word

CHLThesaurus::GetAntonyms

Implements IThesaurusService.

bool16 CHLThesaurus::GetNearAntonyms (const PMStringrWord,
WideStringListwList 
)
virtual

Get the near antonyms (contrasting words) list for the lookup word

CHLThesaurus::GetNearAntonyms

Implements IThesaurusService.

bool16 CHLThesaurus::GetNearSynonyms (const PMStringrWord,
WideStringListwList 
)
virtual

Get the near synonyms (related words) list for the lookup word

CHLThesaurus::GetNearSynonyms

Implements IThesaurusService.

bool16 CHLThesaurus::GetSeeAlsoWords (const PMStringrWord,
WideStringListwList 
)
virtual

Get the see also list for the lookup word

CHLThesaurus::GetSeeAlsoWords

Implements IThesaurusService.

bool16 CHLThesaurus::GetSynonyms (const PMStringrWord,
WideStringListwList 
)
virtual

Get the synonyms list for the lookup word

CHLThesaurus::GetSynonyms

Implements IThesaurusService.

bool16 CHLThesaurus::GetThesRecord (const PMStringrWord,
ThesRecordthesRecord 
)
virtual

Get the thesaurus record for the word

CHLThesaurus::GetThesRecord

Implements IThesaurusService.

bool16 CHLThesaurus::Set (const PMStringrThesFileName)
virtual

Set the thesaurus filename

CHLThesaurus::~CHLThesaurus

Implements IThesaurusService.