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

#include <optdict.hxx>

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

Public Member Functions

 SvxEditDictionaryDialog (weld::Window *pParent, const OUString &rName)
 
virtual ~SvxEditDictionaryDialog () override
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (SelectBookHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (SelectLangHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (NewDelButtonHdl, weld::Button &, void)
 
 DECL_LINK (NewDelActionHdl, weld::Entry &, bool)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (EntrySizeAllocHdl, const Size &, void)
 
 DECL_STATIC_LINK (SvxEditDictionaryDialog, InsertTextHdl, OUString &, bool)
 
bool NewDelHdl (const weld::Widget *)
 
void ShowWords_Impl (sal_uInt16 nId)
 
void SetLanguage_Impl (LanguageType nLanguage)
 
bool IsDicReadonly_Impl () const
 
void SetDicReadonly_Impl (css::uno::Reference< css::linguistic2::XDictionary > const &xDic)
 
void RemoveDictEntry (int nEntry)
 
int GetLBInsertPos (const OUString &rDicWord)
 

Private Attributes

OUString sModify
 
OUString sNew
 
OUString sReplaceFT_Text
 
css::uno::Sequence< css::uno::Reference< css::linguistic2::XDictionary > > aDics
 
bool bFirstSelect
 snapshot copy to work on More...
 
bool bDoNothing
 
bool bDicIsReadonly
 
weld::TreeViewm_pWordsLB
 
std::unique_ptr< weld::ComboBoxm_xAllDictsLB
 
std::unique_ptr< weld::Labelm_xLangFT
 
std::unique_ptr< SvxLanguageBoxm_xLangLB
 
std::unique_ptr< weld::Entrym_xWordED
 
std::unique_ptr< weld::Labelm_xReplaceFT
 
std::unique_ptr< weld::Entrym_xReplaceED
 
std::unique_ptr< weld::TreeViewm_xSingleColumnLB
 
std::unique_ptr< weld::TreeViewm_xDoubleColumnLB
 
std::unique_ptr< weld::Buttonm_xNewReplacePB
 
std::unique_ptr< weld::Buttonm_xDeletePB
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 58 of file optdict.hxx.

Constructor & Destructor Documentation

SvxEditDictionaryDialog::SvxEditDictionaryDialog ( weld::Window pParent,
const OUString &  rName 
)
SvxEditDictionaryDialog::~SvxEditDictionaryDialog ( )
overridevirtual

Definition at line 331 of file optdict.cxx.

Member Function Documentation

SvxEditDictionaryDialog::DECL_LINK ( SelectBookHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxEditDictionaryDialog::DECL_LINK ( SelectLangHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxEditDictionaryDialog::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
SvxEditDictionaryDialog::DECL_LINK ( NewDelButtonHdl  ,
weld::Button ,
void   
)
private
SvxEditDictionaryDialog::DECL_LINK ( NewDelActionHdl  ,
weld::Entry ,
bool   
)
private
SvxEditDictionaryDialog::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
SvxEditDictionaryDialog::DECL_LINK ( EntrySizeAllocHdl  ,
const Size ,
void   
)
private
SvxEditDictionaryDialog::DECL_STATIC_LINK ( SvxEditDictionaryDialog  ,
InsertTextHdl  ,
OUString &  ,
bool   
)
private
int SvxEditDictionaryDialog::GetLBInsertPos ( const OUString &  rDicWord)
private
bool SvxEditDictionaryDialog::IsDicReadonly_Impl ( ) const
inlineprivate

Definition at line 97 of file optdict.hxx.

References bDicIsReadonly.

Referenced by SvxEditDictionaryDialog().

bool SvxEditDictionaryDialog::NewDelHdl ( const weld::Widget pBtn)
private
void SvxEditDictionaryDialog::RemoveDictEntry ( int  nEntry)
private

Definition at line 376 of file optdict.cxx.

References aDics, weld::TreeView::get_text(), m_pWordsLB, m_xAllDictsLB, and weld::TreeView::remove().

Referenced by NewDelHdl().

void SvxEditDictionaryDialog::SetDicReadonly_Impl ( css::uno::Reference< css::linguistic2::XDictionary > const &  xDic)
private

Definition at line 335 of file optdict.cxx.

References bDicIsReadonly.

Referenced by SvxEditDictionaryDialog().

void SvxEditDictionaryDialog::SetLanguage_Impl ( LanguageType  nLanguage)
private

Definition at line 352 of file optdict.cxx.

References m_xLangLB.

Referenced by SvxEditDictionaryDialog().

void SvxEditDictionaryDialog::ShowWords_Impl ( sal_uInt16  nId)
private

Member Data Documentation

css::uno::Sequence< css::uno::Reference< css::linguistic2::XDictionary > > SvxEditDictionaryDialog::aDics
private

Definition at line 67 of file optdict.hxx.

Referenced by NewDelHdl(), RemoveDictEntry(), ShowWords_Impl(), and SvxEditDictionaryDialog().

bool SvxEditDictionaryDialog::bDicIsReadonly
private

Definition at line 71 of file optdict.hxx.

Referenced by IsDicReadonly_Impl(), and SetDicReadonly_Impl().

bool SvxEditDictionaryDialog::bDoNothing
private

Definition at line 70 of file optdict.hxx.

bool SvxEditDictionaryDialog::bFirstSelect
private

snapshot copy to work on

Definition at line 69 of file optdict.hxx.

weld::TreeView* SvxEditDictionaryDialog::m_pWordsLB
private
std::unique_ptr<weld::ComboBox> SvxEditDictionaryDialog::m_xAllDictsLB
private

Definition at line 74 of file optdict.hxx.

Referenced by NewDelHdl(), RemoveDictEntry(), and SvxEditDictionaryDialog().

std::unique_ptr<weld::Button> SvxEditDictionaryDialog::m_xDeletePB
private

Definition at line 83 of file optdict.hxx.

Referenced by NewDelHdl(), and SvxEditDictionaryDialog().

std::unique_ptr<weld::TreeView> SvxEditDictionaryDialog::m_xDoubleColumnLB
private

Definition at line 81 of file optdict.hxx.

Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().

std::unique_ptr<weld::Label> SvxEditDictionaryDialog::m_xLangFT
private

Definition at line 75 of file optdict.hxx.

Referenced by SvxEditDictionaryDialog().

std::unique_ptr<SvxLanguageBox> SvxEditDictionaryDialog::m_xLangLB
private

Definition at line 76 of file optdict.hxx.

Referenced by SetLanguage_Impl(), and SvxEditDictionaryDialog().

std::unique_ptr<weld::Button> SvxEditDictionaryDialog::m_xNewReplacePB
private

Definition at line 82 of file optdict.hxx.

Referenced by NewDelHdl(), and SvxEditDictionaryDialog().

std::unique_ptr<weld::Entry> SvxEditDictionaryDialog::m_xReplaceED
private

Definition at line 79 of file optdict.hxx.

Referenced by NewDelHdl(), ShowWords_Impl(), and SvxEditDictionaryDialog().

std::unique_ptr<weld::Label> SvxEditDictionaryDialog::m_xReplaceFT
private

Definition at line 78 of file optdict.hxx.

Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().

std::unique_ptr<weld::TreeView> SvxEditDictionaryDialog::m_xSingleColumnLB
private

Definition at line 80 of file optdict.hxx.

Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().

std::unique_ptr<weld::Entry> SvxEditDictionaryDialog::m_xWordED
private

Definition at line 77 of file optdict.hxx.

Referenced by NewDelHdl(), ShowWords_Impl(), and SvxEditDictionaryDialog().

OUString SvxEditDictionaryDialog::sModify
private

Definition at line 61 of file optdict.hxx.

Referenced by SvxEditDictionaryDialog().

OUString SvxEditDictionaryDialog::sNew
private

Definition at line 62 of file optdict.hxx.

Referenced by SvxEditDictionaryDialog().

OUString SvxEditDictionaryDialog::sReplaceFT_Text
private

Definition at line 63 of file optdict.hxx.

Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().


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