LibreOffice Module editeng (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SvxSpellWrapper Class Reference

#include <splwrap.hxx>

Inheritance diagram for SvxSpellWrapper:
[legend]
Collaboration diagram for SvxSpellWrapper:
[legend]

Public Member Functions

 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
 

Static Public Member Functions

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

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

static css::uno::Reference< css::linguistic2::XDictionary > GetAllRightDic ()
 

Private Member Functions

EDITENG_DLLPRIVATE bool SpellNext ()
 
bool FindSpellError ()
 
 SvxSpellWrapper (SvxSpellWrapper const &)=delete
 
void operator= (SvxSpellWrapper const &)=delete
 

Private Attributes

weld::WidgetpWin
 
std::unique_ptr< weld::WaitObjectxWait
 
css::uno::Reference< css::uno::XInterface > xLast
 
css::uno::Reference< css::linguistic2::XHyphenator > xHyph
 
bool bOtherCntnt: 1
 
bool bReverse: 1
 
bool bStartDone: 1
 
bool bEndDone: 1
 
bool bStartChk: 1
 
bool bRevAllowed: 1
 
bool bAllRight: 1
 

Friends

class SvxSpellCheckDialog
 
class SvxHyphenWordDialog
 
struct SvxHyphenWordDialog_Impl
 

Detailed Description

Definition at line 45 of file splwrap.hxx.

Constructor & Destructor Documentation

◆ SvxSpellWrapper() [1/3]

SvxSpellWrapper::SvxSpellWrapper ( SvxSpellWrapper const &  )
privatedelete

◆ SvxSpellWrapper() [2/3]

SvxSpellWrapper::SvxSpellWrapper ( weld::Widget pWn,
const bool  bStart,
const bool  bIsAllRight 
)

Definition at line 137 of file splwrap.cxx.

References bEndDone, bReverse, bStartDone, and LinguMgr::GetLinguPropertySet().

◆ SvxSpellWrapper() [3/3]

SvxSpellWrapper::SvxSpellWrapper ( weld::Widget pWn,
css::uno::Reference< css::linguistic2::XHyphenator > const &  xHyphenator,
const bool  bStart,
const bool  bOther 
)

◆ ~SvxSpellWrapper()

SvxSpellWrapper::~SvxSpellWrapper ( )
virtual

Definition at line 123 of file splwrap.cxx.

Member Function Documentation

◆ CheckHyphLang()

sal_Int16 SvxSpellWrapper::CheckHyphLang ( css::uno::Reference< css::linguistic2::XHyphenator >const &  xHyph,
LanguageType  nLang 
)
static

◆ CheckSpellLang()

sal_Int16 SvxSpellWrapper::CheckSpellLang ( css::uno::Reference< css::linguistic2::XSpellChecker1 > const &  xSpell,
LanguageType  nLang 
)
static

◆ FindSpellError()

bool SvxSpellWrapper::FindSpellError ( )
private

◆ GetAllRightDic()

Reference< XDictionary > SvxSpellWrapper::GetAllRightDic ( )
staticprotected

◆ GetLast()

const css::uno::Reference< css::uno::XInterface > & SvxSpellWrapper::GetLast ( ) const
inlineprotected

Definition at line 97 of file splwrap.hxx.

Referenced by FindSpellError(), and SpellDocument().

◆ InsertHyphen()

void SvxSpellWrapper::InsertHyphen ( const sal_Int32  nPos)
protectedvirtual

Definition at line 247 of file splwrap.cxx.

◆ IsAllRight()

bool SvxSpellWrapper::IsAllRight ( ) const
inline

Definition at line 93 of file splwrap.hxx.

Referenced by FindSpellError().

◆ IsEndDone()

bool SvxSpellWrapper::IsEndDone ( ) const
inline

Definition at line 92 of file splwrap.hxx.

Referenced by EditSpellWrapper::SpellStart().

◆ IsStartDone()

bool SvxSpellWrapper::IsStartDone ( ) const
inline

Definition at line 91 of file splwrap.hxx.

Referenced by EditSpellWrapper::SpellStart().

◆ operator=()

void SvxSpellWrapper::operator= ( SvxSpellWrapper const &  )
privatedelete

◆ ReplaceAll()

void SvxSpellWrapper::ReplaceAll ( const OUString &  rNewText)
protectedvirtual

Reimplemented in EditSpellWrapper.

Definition at line 243 of file splwrap.cxx.

Referenced by FindSpellError().

◆ SetLast()

void SvxSpellWrapper::SetLast ( const css::uno::Reference< css::uno::XInterface > &  xNewLast)
inlineprotected

Definition at line 98 of file splwrap.hxx.

Referenced by EditSpellWrapper::SpellContinue().

◆ ShowLanguageErrors()

void SvxSpellWrapper::ShowLanguageErrors ( )
static

◆ SpellContinue()

void SvxSpellWrapper::SpellContinue ( )
protectedvirtual

Reimplemented in EditSpellWrapper.

Definition at line 239 of file splwrap.cxx.

Referenced by FindSpellError().

◆ SpellDocument()

void SvxSpellWrapper::SpellDocument ( )

◆ SpellEnd()

void SvxSpellWrapper::SpellEnd ( )
protectedvirtual

Definition at line 232 of file splwrap.cxx.

References ShowLanguageErrors().

Referenced by FindSpellError().

◆ SpellMore()

bool SvxSpellWrapper::SpellMore ( )
protectedvirtual

Reimplemented in EditSpellWrapper.

Definition at line 226 of file splwrap.cxx.

Referenced by SpellNext().

◆ SpellNext()

bool SvxSpellWrapper::SpellNext ( )
private

◆ SpellStart()

void SvxSpellWrapper::SpellStart ( SvxSpellArea  eSpell)
protectedvirtual

Reimplemented in EditSpellWrapper.

Definition at line 221 of file splwrap.cxx.

Referenced by SpellDocument(), and SpellNext().

Friends And Related Function Documentation

◆ SvxHyphenWordDialog

friend class SvxHyphenWordDialog
friend

Definition at line 48 of file splwrap.hxx.

◆ SvxHyphenWordDialog_Impl

friend struct SvxHyphenWordDialog_Impl
friend

Definition at line 49 of file splwrap.hxx.

◆ SvxSpellCheckDialog

friend class SvxSpellCheckDialog
friend

Definition at line 47 of file splwrap.hxx.

Member Data Documentation

◆ bAllRight

bool SvxSpellWrapper::bAllRight
private

Definition at line 63 of file splwrap.hxx.

◆ bEndDone

bool SvxSpellWrapper::bEndDone
private

Definition at line 60 of file splwrap.hxx.

Referenced by SpellNext(), and SvxSpellWrapper().

◆ bOtherCntnt

bool SvxSpellWrapper::bOtherCntnt
private

Definition at line 57 of file splwrap.hxx.

Referenced by SpellDocument(), and SpellNext().

◆ bRevAllowed

bool SvxSpellWrapper::bRevAllowed
private

Definition at line 62 of file splwrap.hxx.

Referenced by SpellNext().

◆ bReverse

bool SvxSpellWrapper::bReverse
private

Definition at line 58 of file splwrap.hxx.

Referenced by SpellDocument(), SpellNext(), and SvxSpellWrapper().

◆ bStartChk

bool SvxSpellWrapper::bStartChk
private

Definition at line 61 of file splwrap.hxx.

Referenced by SpellDocument(), and SpellNext().

◆ bStartDone

bool SvxSpellWrapper::bStartDone
private

Definition at line 59 of file splwrap.hxx.

Referenced by SpellNext(), and SvxSpellWrapper().

◆ pWin

weld::Widget* SvxSpellWrapper::pWin
private

Definition at line 51 of file splwrap.hxx.

Referenced by FindSpellError(), SpellDocument(), and SpellNext().

◆ xHyph

css::uno::Reference< css::linguistic2::XHyphenator > SvxSpellWrapper::xHyph
private

Definition at line 56 of file splwrap.hxx.

Referenced by CheckHyphLang(), and SpellDocument().

◆ xLast

css::uno::Reference< css::uno::XInterface > SvxSpellWrapper::xLast
private

Definition at line 54 of file splwrap.hxx.

◆ xWait

std::unique_ptr<weld::WaitObject> SvxSpellWrapper::xWait
private

Definition at line 52 of file splwrap.hxx.

Referenced by FindSpellError(), and SpellNext().


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