![]() | InDesign SDK 20.5 |
#include <UserDictWordList.h>
Public Member Functions | |
| UserDictWordList (const UserDictWordList ©) | |
| UserDictWordList & | operator= (const UserDictWordList &other) |
| bool16 | operator== (const UserDictWordList &other) const |
| bool16 | operator!= (const UserDictWordList &other) const |
| const WideString & | operator[] (int32 i) const |
| void | SetChunkSize (int32 chunk) |
| bool16 | Preallocate (int32 newlen) |
| void | clear () |
| void | Clear () |
| void | Remove (int32 at) |
| bool16 | InsertUnique (const WideString &t) |
| int32 | InsertUserDict (IUserDictService *pService, IUserDict *userDict, IUserDictIterator *dictIter, IUserDictService::WordType type) |
| int32 | InsertScriptList (const ScriptListData &scriptWordList) |
| int32 | ChunkSize () const |
| int32 | Length () const |
| bool16 | IsEmpty () const |
| const WideString & | First () const |
| const WideString & | Last () const |
| int32 | ExactLocation (const WideString &t) const |
| int32 | ExactLocation (const textchar *buffer, int32 length) const |
| int32 | ExactLocation (const TextCharBuffer &wrapper) const |
| int32 | Location (const WideString &t) const |
| int32 | Location (const textchar *buffer, int32 length) const |
| int32 | Location (const TextCharBuffer &wrapper) const |
| void | ReadWrite (IPMStream *s) |
Sorted list of widestrings for use with user dictionaries.
| void UserDictWordList::clear | ( | ) |
Clear list.
| inline |
Clear list.
| int32 UserDictWordList::ExactLocation | ( | const WideString & | t | ) | const |
ExactLocation is for searching case-sensitive, and hyphen point matches.
| t | string to find |
| inline |
ExactLocation is for searching case-sensitive, and hyphen point matches.
| buffer | string to find |
| length | length of string to find |
| inline |
ExactLocation is for searching case-sensitive, and hyphen point matches.
| wrapper | string to find |
| int32 UserDictWordList::InsertScriptList | ( | const ScriptListData & | scriptWordList | ) |
Insert strings from script list data into list.
| bool16 UserDictWordList::InsertUnique | ( | const WideString & | t | ) |
Insert string in list.
| int32 UserDictWordList::InsertUserDict | ( | IUserDictService * | pService, |
| IUserDict * | userDict, | ||
| IUserDictIterator * | dictIter, | ||
| IUserDictService::WordType | type | ||
| ) |
Insert strings from user dictionary into list.
| int32 UserDictWordList::Location | ( | const WideString & | t | ) | const |
Location is for searching case-insensitive, and hyphen points ignored matches.
| t | string to find |
| inline |
Location is for searching case-insensitive, and hyphen points ignored matches.
| buffer | string to find |
| length | length of string to find |
| inline |
Location is for searching case-insensitive, and hyphen points ignored matches.
| wrapper | string to find |
| inline |
Remove string from list.
| at | position to remove |