19#ifndef INCLUDED_EDITENG_SPLWRAP_HXX
20#define INCLUDED_EDITENG_SPLWRAP_HXX
25#include <rtl/ustring.hxx>
26#include <com/sun/star/uno/Reference.hxx>
47 friend class SvxSpellCheckDialog;
49 friend struct SvxHyphenWordDialog_Impl;
52 std::unique_ptr<weld::WaitObject>
xWait;
56 css::linguistic2::XHyphenator >
xHyph;
67 bool FindSpellError();
74 const bool bStart,
const bool bIsAllRight );
76 css::uno::Reference< css::linguistic2::XHyphenator >
const &xHyphenator,
77 const bool bStart,
const bool bOther );
81 static sal_Int16 CheckSpellLang(
82 css::uno::Reference< css::linguistic2::XSpellChecker1 >
const & xSpell,
84 static sal_Int16 CheckHyphLang(
85 css::uno::Reference< css::linguistic2::XHyphenator >
const & xHyph,
88 static void ShowLanguageErrors();
96 const css::uno::Reference< css::uno::XInterface >&
98 void SetLast(
const css::uno::Reference< css::uno::XInterface > &xNewLast)
100 virtual bool SpellMore();
102 virtual void SpellContinue();
104 virtual void ReplaceAll(
const OUString &rNewText );
105 static css::uno::Reference< css::linguistic2::XDictionary >
107 virtual void SpellEnd();
108 virtual void InsertHyphen(
const sal_Int32 nPos );
const css::uno::Reference< css::uno::XInterface > & GetLast() const
SvxSpellWrapper(SvxSpellWrapper const &)=delete
SvxSpellWrapper(weld::Widget *pWn, css::uno::Reference< css::linguistic2::XHyphenator > const &xHyphenator, const bool bStart, const bool bOther)
css::uno::Reference< css::linguistic2::XHyphenator > xHyph
void SetLast(const css::uno::Reference< css::uno::XInterface > &xNewLast)
css::uno::Reference< css::uno::XInterface > xLast
std::unique_ptr< weld::WaitObject > xWait
#define EDITENG_DLLPRIVATE
#define EDITENG_DLLPUBLIC
void EDITENG_DLLPUBLIC SvxPrepareAutoCorrect(OUString &rOldText, std::u16string_view rNewText)