23#include <osl/diagnose.h>
70 OSL_FAIL(
"AutoCorrection should have been overridden - if available");
80 OSL_FAIL(
"Grammar checking should have been overridden - if available");
86 OSL_FAIL(
"Grammar checking should have been overridden - if available");
void SetController(std::shared_ptr< SfxDialogController > controller)
void SetHideNotDelete(bool bOn)
static SvxAbstractDialogFactory * Create()
virtual VclPtr< AbstractSpellDialog > CreateSvxSpellDialog(weld::Window *pParent, SfxBindings *pBindings, svx::SpellDialogChildWindow *pSpellChildWindow)=0
virtual bool HasAutoCorrection()
This methods determines whether the application supports AutoCorrection.
virtual bool HasGrammarChecking()
Return the sfx bindings for this child window.
VclPtr< AbstractSpellDialog > m_xAbstractSpellDialog
virtual bool IsGrammarChecking()
determines if grammar checking is switched on
void InvalidateSpellDialog()
Set the spell dialog into the 'resume' state.
virtual ~SpellDialogChildWindow() override
SfxBindings & GetBindings() const
SpellDialogChildWindow(vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings)
virtual void AddAutoCorrection(const OUString &rOld, const OUString &rNew, LanguageType eLanguage)
This method adds a word pair to the AutoCorrection - if available.
virtual void SetGrammarChecking(bool bOn)
switches grammar checking on/off
weld::Window * GetFrameWeld() const