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

#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 (vcl::Window *pWn, const bool bStart, const bool bIsAllRight)
 
 SvxSpellWrapper (vcl::Window *pWn, css::uno::Reference< css::linguistic2::XHyphenator > const &xHyphenator, const bool bStart, const bool bOther)
 
virtual ~SvxSpellWrapper ()
 
void SpellDocument ()
 
bool IsStartDone ()
 
bool IsEndDone ()
 
bool IsHyphen ()
 
void SetHyphen ()
 
bool IsAllRight ()
 

Protected 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
 
- Protected Member Functions inherited from SvxSpellWrapper
const css::uno::Reference< css::uno::XInterface > & GetLast ()
 
void SetLast (const css::uno::Reference< css::uno::XInterface > &xNewLast)
 
virtual bool HasOtherCnt ()
 
virtual void ReplaceAll (const OUString &rNewText)
 

Private Attributes

SwViewpView
 
sal_uInt16 nPageCount
 
sal_uInt16 nPageStart
 
bool const bInSelection: 1
 
bool bAutomatic: 1
 
bool 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 ()
 
- 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 ( SwView pVw,
css::uno::Reference< css::linguistic2::XHyphenator > const &  rxHyph,
bool  bStart,
bool  bOther,
bool  bSelect 
)

Definition at line 46 of file hyp.cxx.

References bAutomatic, GetLinguPropertySet(), and SvxSpellWrapper::SetHyphen().

SwHyphWrapper::~SwHyphWrapper ( )
overridevirtual

Member Function Documentation

void SwHyphWrapper::InsertHyphen ( const sal_Int32  nPos)
overrideprotectedvirtual

Reimplemented from SvxSpellWrapper.

Definition at line 109 of file hyp.cxx.

References SwEditShell::InsertSoftHyph(), and PSH.

void SwHyphWrapper::SpellContinue ( )
overrideprotectedvirtual

Reimplemented from SvxSpellWrapper.

Definition at line 72 of file hyp.cxx.

References bAutomatic, bInSelection, SwView::GetDocShell(), nPageCount, nPageStart, PSH, pView, and SvxSpellWrapper::SetLast().

void SwHyphWrapper::SpellEnd ( )
overrideprotectedvirtual

Reimplemented from SvxSpellWrapper.

Definition at line 95 of file hyp.cxx.

References PSH, and SvxSpellWrapper::SpellEnd().

bool SwHyphWrapper::SpellMore ( )
overrideprotectedvirtual

Reimplemented from SvxSpellWrapper.

Definition at line 101 of file hyp.cxx.

References bInfoBox, and PSH.

void SwHyphWrapper::SpellStart ( SvxSpellArea  eSpell)
overrideprotectedvirtual

Reimplemented from SvxSpellWrapper.

Definition at line 61 of file hyp.cxx.

References EndProgress(), SwView::GetDocShell(), SwView::HyphStart(), nPageCount, nPageStart, and pView.

Member Data Documentation

bool SwHyphWrapper::bAutomatic
private

Definition at line 35 of file hyp.hxx.

Referenced by SpellContinue(), and SwHyphWrapper().

bool SwHyphWrapper::bInfoBox
private

Definition at line 36 of file hyp.hxx.

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

bool const SwHyphWrapper::bInSelection
private

Definition at line 34 of file hyp.hxx.

Referenced by SpellContinue().

sal_uInt16 SwHyphWrapper::nPageCount
private

Definition at line 32 of file hyp.hxx.

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

sal_uInt16 SwHyphWrapper::nPageStart
private

Definition at line 33 of file hyp.hxx.

Referenced by SpellContinue(), and SpellStart().

SwView* SwHyphWrapper::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: