LibreOffice Module sc (master) 1
|
Classes | |
struct | CellPos |
Public Member Functions | |
SpellCheckCache (LanguageType eDefaultCellLanguage) | |
bool | query (SCCOL nCol, SCROW nRow, const ScRefCellValue &rCell, MisspellType *&rpRanges) const |
void | set (SCCOL nCol, SCROW nRow, const ScRefCellValue &rCell, std::unique_ptr< MisspellType > pRanges) |
LanguageType | getLanguage (SCCOL nCol, SCROW nRow) const |
void | setLanguage (LanguageType eCellLang, SCCOL nCol, SCROW nRow) |
void | clear (LanguageType eDefaultCellLanguage) |
void | clearEditTextMap () |
Private Types | |
typedef std::vector< editeng::MisspellRanges > | MisspellType |
typedef std::unordered_map< CellPos, std::unique_ptr< MisspellType >, CellPos::Hash > | CellMapType |
typedef std::unordered_map< const rtl_uString *, std::unique_ptr< MisspellType > > | SharedStringMapType |
typedef std::unordered_map< CellPos, LanguageType, CellPos::Hash > | CellLangMapType |
Private Attributes | |
SharedStringMapType | maStringMisspells |
CellMapType | maEditTextMisspells |
CellLangMapType | maCellLanguages |
LanguageType | meDefCellLanguage |
Definition at line 32 of file spellcheckcontext.cxx.
|
private |
Definition at line 62 of file spellcheckcontext.cxx.
|
private |
Definition at line 60 of file spellcheckcontext.cxx.
|
private |
Definition at line 59 of file spellcheckcontext.cxx.
|
private |
Definition at line 61 of file spellcheckcontext.cxx.
|
inline |
Definition at line 71 of file spellcheckcontext.cxx.
|
inline |
Definition at line 128 of file spellcheckcontext.cxx.
References maCellLanguages, maEditTextMisspells, maStringMisspells, and meDefCellLanguage.
|
inline |
Definition at line 136 of file spellcheckcontext.cxx.
References maEditTextMisspells.
|
inline |
Definition at line 111 of file spellcheckcontext.cxx.
References maCellLanguages, and meDefCellLanguage.
|
inline |
Definition at line 75 of file spellcheckcontext.cxx.
References CELLTYPE_EDIT, CELLTYPE_STRING, eType, svl::SharedString::getData(), ScRefCellValue::getSharedString(), ScRefCellValue::getType(), maEditTextMisspells, and maStringMisspells.
|
inline |
Definition at line 102 of file spellcheckcontext.cxx.
References CELLTYPE_EDIT, CELLTYPE_STRING, eType, svl::SharedString::getData(), ScRefCellValue::getSharedString(), ScRefCellValue::getType(), maEditTextMisspells, and maStringMisspells.
|
inline |
Definition at line 120 of file spellcheckcontext.cxx.
References maCellLanguages, and meDefCellLanguage.
|
private |
Definition at line 66 of file spellcheckcontext.cxx.
Referenced by clear(), getLanguage(), and setLanguage().
|
private |
Definition at line 65 of file spellcheckcontext.cxx.
Referenced by clear(), clearEditTextMap(), query(), and set().
|
private |
Definition at line 64 of file spellcheckcontext.cxx.
|
private |
Definition at line 67 of file spellcheckcontext.cxx.
Referenced by clear(), getLanguage(), and setLanguage().