LibreOffice Module cui (master)  1
Public Member Functions | Private Attributes | List of all members
SvxThesaurusDialog Class Reference

#include <thesdlg.hxx>

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

Public Member Functions

virtual ~SvxThesaurusDialog () override
 
 DECL_LINK (ReplaceBtnHdl_Impl, weld::Button &, void)
 
 DECL_LINK (LeftBtnHdl_Impl, weld::Button &, void)
 
 DECL_LINK (LanguageHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (WordSelectHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (AlternativesSelectHdl_Impl, weld::TreeView &, void)
 
 DECL_LINK (AlternativesDoubleClickHdl_Impl, weld::TreeView &, bool)
 
 DECL_LINK (SelectFirstHdl_Impl, void *, void)
 
 DECL_LINK (ReplaceEditHdl_Impl, weld::Entry &, void)
 
 DECL_LINK (ModifyTimer_Hdl, Timer *, void)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
css::uno::Sequence< css::uno::Reference< css::linguistic2::XMeaning > > queryMeanings_Impl (OUString &rTerm, const css::lang::Locale &rLocale, const css::beans::PropertyValues &rProperties)
 
bool UpdateAlternativesBox_Impl ()
 
void LookUp (const OUString &rText)
 
void LookUp_Impl ()
 
 SvxThesaurusDialog (weld::Window *pParent, css::uno::Reference< css::linguistic2::XThesaurus > const &xThesaurus, const OUString &rWord, LanguageType nLanguage)
 
void SetWindowTitle (LanguageType nLanguage)
 
OUString GetWord () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Attributes

Idle m_aModifyIdle
 
css::uno::Reference< css::linguistic2::XThesaurus > xThesaurus
 
OUString aLookUpText
 
LanguageType nLookUpLanguage
 
std::stack< OUString > aLookUpHistory
 
bool m_bWordFound
 
std::unique_ptr< weld::Buttonm_xLeftBtn
 
std::unique_ptr< weld::ComboBoxm_xWordCB
 
std::unique_ptr< weld::TreeViewm_xAlternativesCT
 
std::unique_ptr< weld::Labelm_xNotFound
 
std::unique_ptr< weld::Entrym_xReplaceEdit
 
std::unique_ptr< weld::ComboBoxm_xLangLB
 
std::unique_ptr< weld::Buttonm_xReplaceBtn
 

Detailed Description

Definition at line 30 of file thesdlg.hxx.

Constructor & Destructor Documentation

SvxThesaurusDialog::~SvxThesaurusDialog ( )
overridevirtual

Definition at line 317 of file thesdlg.cxx.

SvxThesaurusDialog::SvxThesaurusDialog ( weld::Window pParent,
css::uno::Reference< css::linguistic2::XThesaurus > const &  xThesaurus,
const OUString &  rWord,
LanguageType  nLanguage 
)

Member Function Documentation

SvxThesaurusDialog::DECL_LINK ( ReplaceBtnHdl_Impl  ,
weld::Button ,
void   
)
SvxThesaurusDialog::DECL_LINK ( LeftBtnHdl_Impl  ,
weld::Button ,
void   
)
SvxThesaurusDialog::DECL_LINK ( LanguageHdl_Impl  ,
weld::ComboBox ,
void   
)
SvxThesaurusDialog::DECL_LINK ( WordSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
SvxThesaurusDialog::DECL_LINK ( AlternativesSelectHdl_Impl  ,
weld::TreeView ,
void   
)
SvxThesaurusDialog::DECL_LINK ( AlternativesDoubleClickHdl_Impl  ,
weld::TreeView ,
bool   
)
SvxThesaurusDialog::DECL_LINK ( SelectFirstHdl_Impl  ,
void ,
void   
)
SvxThesaurusDialog::DECL_LINK ( ReplaceEditHdl_Impl  ,
weld::Entry ,
void   
)
SvxThesaurusDialog::DECL_LINK ( ModifyTimer_Hdl  ,
Timer ,
void   
)
SvxThesaurusDialog::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
OUString SvxThesaurusDialog::GetWord ( ) const

Definition at line 337 of file thesdlg.cxx.

References m_xReplaceEdit.

void SvxThesaurusDialog::LookUp ( const OUString &  rText)

Definition at line 125 of file thesdlg.cxx.

References LookUp_Impl(), and m_xWordCB.

Referenced by SvxThesaurusDialog().

void SvxThesaurusDialog::LookUp_Impl ( )
uno::Sequence< uno::Reference< linguistic2::XMeaning > > SvxThesaurusDialog::queryMeanings_Impl ( OUString &  rTerm,
const css::lang::Locale &  rLocale,
const css::beans::PropertyValues rProperties 
)
Exceptions
css::lang::IllegalArgumentException
css::uno::RuntimeException

Definition at line 62 of file thesdlg.cxx.

References comphelper::string::stripEnd(), and xThesaurus.

Referenced by UpdateAlternativesBox_Impl().

void SvxThesaurusDialog::SetWindowTitle ( LanguageType  nLanguage)

Definition at line 326 of file thesdlg.cxx.

References aStr, and SvtLanguageTable::GetLanguageString().

Referenced by SvxThesaurusDialog().

bool SvxThesaurusDialog::UpdateAlternativesBox_Impl ( )

Member Data Documentation

std::stack< OUString > SvxThesaurusDialog::aLookUpHistory
private

Definition at line 37 of file thesdlg.hxx.

Referenced by LookUp_Impl(), and SvxThesaurusDialog().

OUString SvxThesaurusDialog::aLookUpText
private

Definition at line 35 of file thesdlg.hxx.

Referenced by LookUp_Impl(), SvxThesaurusDialog(), and UpdateAlternativesBox_Impl().

Idle SvxThesaurusDialog::m_aModifyIdle
private

Definition at line 32 of file thesdlg.hxx.

Referenced by SvxThesaurusDialog().

bool SvxThesaurusDialog::m_bWordFound
private

Definition at line 38 of file thesdlg.hxx.

Referenced by LookUp_Impl().

std::unique_ptr<weld::TreeView> SvxThesaurusDialog::m_xAlternativesCT
private

Definition at line 42 of file thesdlg.hxx.

Referenced by LookUp_Impl(), SvxThesaurusDialog(), and UpdateAlternativesBox_Impl().

std::unique_ptr<weld::ComboBox> SvxThesaurusDialog::m_xLangLB
private

Definition at line 45 of file thesdlg.hxx.

Referenced by SvxThesaurusDialog().

std::unique_ptr<weld::Button> SvxThesaurusDialog::m_xLeftBtn
private

Definition at line 40 of file thesdlg.hxx.

Referenced by LookUp_Impl(), and SvxThesaurusDialog().

std::unique_ptr<weld::Label> SvxThesaurusDialog::m_xNotFound
private

Definition at line 43 of file thesdlg.hxx.

Referenced by LookUp_Impl().

std::unique_ptr<weld::Button> SvxThesaurusDialog::m_xReplaceBtn
private

Definition at line 46 of file thesdlg.hxx.

Referenced by SvxThesaurusDialog().

std::unique_ptr<weld::Entry> SvxThesaurusDialog::m_xReplaceEdit
private

Definition at line 44 of file thesdlg.hxx.

Referenced by GetWord(), LookUp_Impl(), and SvxThesaurusDialog().

std::unique_ptr<weld::ComboBox> SvxThesaurusDialog::m_xWordCB
private

Definition at line 41 of file thesdlg.hxx.

Referenced by LookUp(), LookUp_Impl(), and SvxThesaurusDialog().

LanguageType SvxThesaurusDialog::nLookUpLanguage
private

Definition at line 36 of file thesdlg.hxx.

Referenced by SvxThesaurusDialog(), and UpdateAlternativesBox_Impl().

css::uno::Reference< css::linguistic2::XThesaurus > SvxThesaurusDialog::xThesaurus
private

Definition at line 34 of file thesdlg.hxx.

Referenced by queryMeanings_Impl(), and SvxThesaurusDialog().


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