LibreOffice Module editeng (master) 1
|
#include <edtspell.hxx>
Public Member Functions | |
EditSpellWrapper (weld::Widget *pWin, bool bIsStart, EditView *pView) | |
Public Member Functions inherited from SvxSpellWrapper | |
SvxSpellWrapper (weld::Widget *pWn, const bool bStart, const bool bIsAllRight) | |
SvxSpellWrapper (weld::Widget *pWn, css::uno::Reference< css::linguistic2::XHyphenator > const &xHyphenator, const bool bStart, const bool bOther) | |
virtual | ~SvxSpellWrapper () |
void | SpellDocument () |
bool | IsStartDone () const |
bool | IsEndDone () const |
bool | IsAllRight () const |
Private Member Functions | |
void | CheckSpellTo () |
virtual void | SpellStart (SvxSpellArea eArea) override |
virtual void | SpellContinue () override |
virtual void | ReplaceAll (const OUString &rNewText) override |
virtual bool | SpellMore () override |
Private Attributes | |
EditView * | pEditView |
Additional Inherited Members | |
Static Public Member Functions inherited from SvxSpellWrapper | |
static sal_Int16 | CheckSpellLang (css::uno::Reference< css::linguistic2::XSpellChecker1 > const &xSpell, LanguageType nLang) |
static sal_Int16 | CheckHyphLang (css::uno::Reference< css::linguistic2::XHyphenator >const &xHyph, LanguageType nLang) |
static void | ShowLanguageErrors () |
Protected Member Functions inherited from SvxSpellWrapper | |
const css::uno::Reference< css::uno::XInterface > & | GetLast () const |
void | SetLast (const css::uno::Reference< css::uno::XInterface > &xNewLast) |
virtual bool | SpellMore () |
virtual void | SpellStart (SvxSpellArea eSpell) |
virtual void | SpellContinue () |
virtual void | ReplaceAll (const OUString &rNewText) |
virtual void | SpellEnd () |
virtual void | InsertHyphen (const sal_Int32 nPos) |
Static Protected Member Functions inherited from SvxSpellWrapper | |
static css::uno::Reference< css::linguistic2::XDictionary > | GetAllRightDic () |
Definition at line 36 of file edtspell.hxx.
EditSpellWrapper::EditSpellWrapper | ( | weld::Widget * | pWin, |
bool | bIsStart, | ||
EditView * | pView | ||
) |
Definition at line 39 of file edtspell.cxx.
References LinguMgr::GetChangeAllList(), pEditView, and SAL_WARN_IF.
|
private |
Definition at line 136 of file edtspell.cxx.
References SpellInfo::aSpellTo, ImpEditEngine::CreateEPaM(), ImpEditView::GetEditSelection(), EditView::GetImpEditEngine(), EditView::GetImpEditView(), EditPaM::GetNode(), ImpEditEngine::GetSpellInfo(), ContentNode::Len(), EditSelection::Max(), EPaM::nIndex, EPaM::nPara, and pEditView.
Referenced by ReplaceAll().
|
overrideprivatevirtual |
Reimplemented from SvxSpellWrapper.
Definition at line 129 of file edtspell.cxx.
References CheckSpellTo(), EditView::InsertText(), and pEditView.
|
overrideprivatevirtual |
Reimplemented from SvxSpellWrapper.
Definition at line 104 of file edtspell.cxx.
References EditView::GetImpEditEngine(), ImpEditEngine::ImpSpell(), pEditView, and SvxSpellWrapper::SetLast().
|
overrideprivatevirtual |
Reimplemented from SvxSpellWrapper.
Definition at line 109 of file edtspell.cxx.
References SpellInfo::bMultipleDoc, EditEngine::GetEditDoc(), EditView::GetEditEngine(), EditView::GetImpEditEngine(), EditView::GetImpEditView(), ImpEditEngine::GetSpellInfo(), EditDoc::GetStartPaM(), pEditView, ImpEditView::SetEditSelection(), and EditEngine::SpellNextDocument().
|
overrideprivatevirtual |
Reimplemented from SvxSpellWrapper.
Definition at line 50 of file edtspell.cxx.
References SpellInfo::aSpellStart, SpellInfo::aSpellTo, Body, BodyEnd, BodyStart, SpellInfo::bSpellToEnd, ImpEditEngine::CreateEPaM(), EditEngine::GetEditDoc(), EditView::GetEditEngine(), EditDoc::GetEndPaM(), EditView::GetImpEditEngine(), EditView::GetImpEditView(), ImpEditEngine::GetSpellInfo(), EditDoc::GetStartPaM(), SvxSpellWrapper::IsEndDone(), SvxSpellWrapper::IsStartDone(), pEditView, and ImpEditView::SetEditSelection().
|
private |
Definition at line 39 of file edtspell.hxx.
Referenced by CheckSpellTo(), EditSpellWrapper(), ReplaceAll(), SpellContinue(), SpellMore(), and SpellStart().