InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInsertHyphExceptionsCmdData Class Referenceabstract
Inheritance diagram for IInsertHyphExceptionsCmdData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IINSERTHYPHEXCEPTIONSCMDDATA }
 

Public Member Functions

virtual void Set (IDocument *pDoc)=0
 
virtual void Set (IDocument *pDoc, const K2Vector< WideString * > &rExceptions, LanguageID nLanguage)=0
 
virtual IDocumentQueryDocument ()=0
 
virtual const K2Vector
< WideString * > & 
GetExceptions () const =0
 
virtual LanguageID GetLanguage () const =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 const K2Vector<WideString*>& IInsertHyphExceptionsCmdData::GetExceptions () const
pure virtual

Gets list of exceptions for the command data.

Returns
const K2Vector<WideString*> & exceptions list in the command data.
virtual LanguageID IInsertHyphExceptionsCmdData::GetLanguage () const
pure virtual

Gets the language for the command data.

Returns
LanguageID language for the command data.
virtual IDocument* IInsertHyphExceptionsCmdData::QueryDocument ()
pure virtual

Gets document for the command data.

Returns
IDocument* Document in the command data.
virtual void IInsertHyphExceptionsCmdData::Set (IDocumentpDoc)
pure virtual

Sets document. If you only set the document, InsertHyphExceptionsCmd will use every language's user dictionaries.

Parameters
pDocDocument for the command data to set to.
virtual void IInsertHyphExceptionsCmdData::Set (IDocumentpDoc,
const K2Vector< WideString * > & rExceptions,
LanguageID nLanguage 
)
pure virtual

Sets command data. If you specify a stringlist and a language the stringlist will be used instead.

Parameters
pDocDocument for the command data to set to.
rExceptionsList of exception strings for the command data to set to.
nLanguagelanguage ID for the command data to set to.