![]() | InDesign SDK 20.5 |
Public Member Functions | |
| SnpPerformTextAttrLanguage () | |
| virtual | ~SnpPerformTextAttrLanguage () |
| ErrorCode | ApplyLanguage (const InDesign::TextRange &textRange, const PMString &languageName) |
| ErrorCode | InspectLanguage (const InDesign::TextRange &textRange, SnpLanguageData &data) |
| void | ReportLanguageData (const SnpLanguageData &languageData) |
| void | ReportLanguageList (void) |
| void | GetLanguageList (IDocument *document) |
| void | GetLanguagesCachedAsStringList (K2Vector< PMString > &listString) |
| PMString | GetNthCachedUntranslatedLang (int32 n) |
| inline |
Constructor.
| inlinevirtual |
Destructor.
| ErrorCode SnpPerformTextAttrLanguage::ApplyLanguage | ( | const InDesign::TextRange & | textRange, |
| const PMString & | languageName | ||
| ) |
Applies language attribute to the specified text model.
| textRange | (in) The text range to which you want to apply language. |
| languageName | (in) The language name to which you want to apply language. |
| void SnpPerformTextAttrLanguage::GetLanguageList | ( | IDocument * | document | ) |
Get the language list made from the current document.
| document | (in) current document. |
| ErrorCode SnpPerformTextAttrLanguage::InspectLanguage | ( | const InDesign::TextRange & | textRange, |
| SnpLanguageData & | data | ||
| ) |
Inspects language attribute over the specified text model. The details are printed to the SNIPLOG.
| textRange | (in) The text range from which you want to inspect lLanguage. |
| data | (out) The language data. |
| void SnpPerformTextAttrLanguage::ReportLanguageData | ( | const SnpLanguageData & | languageData | ) |
Reports language data to SNIPLOG.
| languageData | (in) The language settings. |
| void SnpPerformTextAttrLanguage::ReportLanguageList | ( | void | ) |
Reports language list to SNIPLOG.