LibreOffice Module sc (master)  1
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
sc::SpellCheckContext Struct Reference

#include <spellcheckcontext.hxx>

Collaboration diagram for sc::SpellCheckContext:
[legend]

Classes

struct  CellPos
 

Public Types

typedef std::unordered_map< CellPos, std::vector< editeng::MisspellRanges >, CellPos::HashCellMapType
 

Public Member Functions

 SpellCheckContext ()
 
bool isMisspelled (SCCOL nCol, SCROW nRow) const
 
const std::vector< editeng::MisspellRanges > * getMisspellRanges (SCCOL nCol, SCROW nRow) const
 
void setMisspellRanges (SCCOL nCol, SCROW nRow, const std::vector< editeng::MisspellRanges > *pRanges)
 
void reset ()
 

Public Attributes

CellPos maPos
 
CellMapType maMisspellCells
 

Detailed Description

Definition at line 21 of file spellcheckcontext.hxx.

Member Typedef Documentation

Definition at line 43 of file spellcheckcontext.hxx.

Constructor & Destructor Documentation

sc::SpellCheckContext::SpellCheckContext ( )

Definition at line 48 of file spellcheckcontext.cxx.

Member Function Documentation

const std::vector< editeng::MisspellRanges > * sc::SpellCheckContext::getMisspellRanges ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 57 of file spellcheckcontext.cxx.

References maMisspellCells.

Referenced by ScOutputData::DrawEdit().

bool sc::SpellCheckContext::isMisspelled ( SCCOL  nCol,
SCROW  nRow 
) const

Definition at line 52 of file spellcheckcontext.cxx.

References maMisspellCells.

Referenced by ScOutputData::LayoutStrings().

void sc::SpellCheckContext::reset ( )
void sc::SpellCheckContext::setMisspellRanges ( SCCOL  nCol,
SCROW  nRow,
const std::vector< editeng::MisspellRanges > *  pRanges 
)

Definition at line 67 of file spellcheckcontext.cxx.

References maMisspellCells.

Member Data Documentation

CellMapType sc::SpellCheckContext::maMisspellCells

Definition at line 46 of file spellcheckcontext.hxx.

Referenced by getMisspellRanges(), isMisspelled(), reset(), and setMisspellRanges().

CellPos sc::SpellCheckContext::maPos

Definition at line 45 of file spellcheckcontext.hxx.

Referenced by reset().


The documentation for this struct was generated from the following files: