LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwHyphWrapper Class Referencefinal

#include <hyp.hxx>

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

Public Member Functions

 SwHyphWrapper (SwView *pVw, css::uno::Reference< css::linguistic2::XHyphenator > const &rxHyph, bool bStart, bool bOther, bool bSelect)
 
virtual ~SwHyphWrapper () override
 
- 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

virtual void SpellStart (SvxSpellArea eSpell) override
 
virtual void SpellContinue () override
 
virtual void SpellEnd () override
 
virtual bool SpellMore () override
 
virtual void InsertHyphen (const sal_Int32 nPos) override
 

Private Attributes

SwViewm_pView
 
sal_uInt16 m_nPageCount
 
sal_uInt16 m_nPageStart
 
bool m_bInSelection: 1
 
bool m_bAutomatic: 1
 
bool m_bInfoBox: 1
 

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 ()
 

Detailed Description

Definition at line 29 of file hyp.hxx.

Constructor & Destructor Documentation

◆ SwHyphWrapper()

SwHyphWrapper::SwHyphWrapper ( SwView pVw,
css::uno::Reference< css::linguistic2::XHyphenator > const &  rxHyph,
bool  bStart,
bool  bOther,
bool  bSelect 
)

Definition at line 39 of file hyp.cxx.

References GetLinguPropertySet(), and m_bAutomatic.

◆ ~SwHyphWrapper()

SwHyphWrapper::~SwHyphWrapper ( )
overridevirtual

Member Function Documentation

◆ InsertHyphen()

void SwHyphWrapper::InsertHyphen ( const sal_Int32  nPos)
overrideprivatevirtual

Reimplemented from SvxSpellWrapper.

Definition at line 101 of file hyp.cxx.

References SwEditShell::InsertSoftHyph(), nPos, and PSH.

◆ SpellContinue()

void SwHyphWrapper::SpellContinue ( )
overrideprivatevirtual

◆ SpellEnd()

void SwHyphWrapper::SpellEnd ( )
overrideprivatevirtual

Reimplemented from SvxSpellWrapper.

Definition at line 87 of file hyp.cxx.

References PSH, and SvxSpellWrapper::SpellEnd().

◆ SpellMore()

bool SwHyphWrapper::SpellMore ( )
overrideprivatevirtual

Reimplemented from SvxSpellWrapper.

Definition at line 93 of file hyp.cxx.

References m_bInfoBox, and PSH.

◆ SpellStart()

void SwHyphWrapper::SpellStart ( SvxSpellArea  eSpell)
overrideprivatevirtual

Reimplemented from SvxSpellWrapper.

Definition at line 53 of file hyp.cxx.

References EndProgress(), SwView::GetDocShell(), SwView::HyphStart(), m_nPageCount, m_nPageStart, and m_pView.

Member Data Documentation

◆ m_bAutomatic

bool SwHyphWrapper::m_bAutomatic
private

Definition at line 35 of file hyp.hxx.

Referenced by SpellContinue(), and SwHyphWrapper().

◆ m_bInfoBox

bool SwHyphWrapper::m_bInfoBox
private

Definition at line 36 of file hyp.hxx.

Referenced by SpellMore(), and ~SwHyphWrapper().

◆ m_bInSelection

bool SwHyphWrapper::m_bInSelection
private

Definition at line 34 of file hyp.hxx.

Referenced by SpellContinue().

◆ m_nPageCount

sal_uInt16 SwHyphWrapper::m_nPageCount
private

Definition at line 32 of file hyp.hxx.

Referenced by SpellContinue(), SpellStart(), and ~SwHyphWrapper().

◆ m_nPageStart

sal_uInt16 SwHyphWrapper::m_nPageStart
private

Definition at line 33 of file hyp.hxx.

Referenced by SpellContinue(), and SpellStart().

◆ m_pView

SwView* SwHyphWrapper::m_pView
private

Definition at line 31 of file hyp.hxx.

Referenced by SpellContinue(), SpellStart(), and ~SwHyphWrapper().


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