24#include <document.hxx>
Base class for special type of edit engines, i.e.
Contains all available data about any possible selection in a Calc document.
Specialized spell check dialog child window for Calc.
virtual svx::SpellPortions GetNextWrongSentence(bool bRecheck) override
Iterate over the sentences in all text shapes and stop at the next sentence with spelling errors.
ScTabViewShell * mpViewShell
Original selection range for comparison.
ScDocumentUniquePtr mxUndoDoc
ScDocumentUniquePtr mxRedoDoc
SFX_DECL_CHILDWINDOW_WITHID(ScSpellDialogChildWindow)
::std::unique_ptr< ScConversionEngineBase > ScConvEnginePtr
virtual void LoseFocus() override
::std::unique_ptr< ScSelectionState > ScSelectionStatePtr
virtual void ApplyChangedSentence(const svx::SpellPortions &rChanged, bool bRecheck) override
This method is responsible for merging corrections made in the spelling dialog back into the document...
void InvalidateSpellDialog()
This method makes the one from the base class public so that it can be called from the view shell whe...
bool IsSelectionChanged()
tools::SvRef< ScRangeList > mxOldRangeList
For cursor position in selection.
ScSpellDialogChildWindow(vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
ScSelectionStatePtr mxOldSel
virtual ~ScSpellDialogChildWindow() override
virtual void GetFocus() override
std::unique_ptr< ScDocument, o3tl::default_delete< ScDocument > > ScDocumentUniquePtr
std::vector< SpellPortion > SpellPortions