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, std::u16string_view rName)
 
virtual ~SvxEditDictionaryDialog () override
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString 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)
 
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 (std::u16string_view 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::SvxEditDictionaryDialog ( weld::Window pParent,
std::u16string_view  rName 
)

◆ ~SvxEditDictionaryDialog()

SvxEditDictionaryDialog::~SvxEditDictionaryDialog ( )
overridevirtual

Definition at line 347 of file optdict.cxx.

Member Function Documentation

◆ DECL_LINK() [1/7]

SvxEditDictionaryDialog::DECL_LINK ( EntrySizeAllocHdl  ,
const Size ,
void   
)
private

◆ DECL_LINK() [2/7]

SvxEditDictionaryDialog::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/7]

SvxEditDictionaryDialog::DECL_LINK ( NewDelActionHdl  ,
weld::Entry ,
bool   
)
private

◆ DECL_LINK() [4/7]

SvxEditDictionaryDialog::DECL_LINK ( NewDelButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/7]

SvxEditDictionaryDialog::DECL_LINK ( SelectBookHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [6/7]

SvxEditDictionaryDialog::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [7/7]

SvxEditDictionaryDialog::DECL_LINK ( SelectLangHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ GetLBInsertPos()

int SvxEditDictionaryDialog::GetLBInsertPos ( std::u16string_view  rDicWord)
private

◆ IsDicReadonly_Impl()

bool SvxEditDictionaryDialog::IsDicReadonly_Impl ( ) const
inlineprivate

Definition at line 96 of file optdict.hxx.

References bDicIsReadonly.

Referenced by SvxEditDictionaryDialog().

◆ NewDelHdl()

bool SvxEditDictionaryDialog::NewDelHdl ( const weld::Widget pBtn)
private

◆ RemoveDictEntry()

void SvxEditDictionaryDialog::RemoveDictEntry ( int  nEntry)
private

Definition at line 392 of file optdict.cxx.

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

Referenced by NewDelHdl().

◆ SetDicReadonly_Impl()

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

Definition at line 351 of file optdict.cxx.

References bDicIsReadonly.

Referenced by SvxEditDictionaryDialog().

◆ SetLanguage_Impl()

void SvxEditDictionaryDialog::SetLanguage_Impl ( LanguageType  nLanguage)
private

Definition at line 368 of file optdict.cxx.

References m_xLangLB.

Referenced by SvxEditDictionaryDialog().

◆ ShowWords_Impl()

void SvxEditDictionaryDialog::ShowWords_Impl ( sal_uInt16  nId)
private

Member Data Documentation

◆ aDics

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

◆ bDicIsReadonly

bool SvxEditDictionaryDialog::bDicIsReadonly
private

Definition at line 71 of file optdict.hxx.

Referenced by IsDicReadonly_Impl(), and SetDicReadonly_Impl().

◆ bDoNothing

bool SvxEditDictionaryDialog::bDoNothing
private

Definition at line 70 of file optdict.hxx.

◆ bFirstSelect

bool SvxEditDictionaryDialog::bFirstSelect
private

snapshot copy to work on

Definition at line 69 of file optdict.hxx.

◆ m_pWordsLB

weld::TreeView* SvxEditDictionaryDialog::m_pWordsLB
private

◆ m_xAllDictsLB

std::unique_ptr<weld::ComboBox> SvxEditDictionaryDialog::m_xAllDictsLB
private

Definition at line 74 of file optdict.hxx.

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

◆ m_xDeletePB

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

Definition at line 83 of file optdict.hxx.

Referenced by NewDelHdl(), and SvxEditDictionaryDialog().

◆ m_xDoubleColumnLB

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

Definition at line 81 of file optdict.hxx.

Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().

◆ m_xLangFT

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

Definition at line 75 of file optdict.hxx.

Referenced by SvxEditDictionaryDialog().

◆ m_xLangLB

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

Definition at line 76 of file optdict.hxx.

Referenced by SetLanguage_Impl(), and SvxEditDictionaryDialog().

◆ m_xNewReplacePB

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

Definition at line 82 of file optdict.hxx.

Referenced by NewDelHdl(), and SvxEditDictionaryDialog().

◆ m_xReplaceED

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

Definition at line 79 of file optdict.hxx.

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

◆ m_xReplaceFT

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

Definition at line 78 of file optdict.hxx.

Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().

◆ m_xSingleColumnLB

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

Definition at line 80 of file optdict.hxx.

Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().

◆ m_xWordED

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

Definition at line 77 of file optdict.hxx.

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

◆ sModify

OUString SvxEditDictionaryDialog::sModify
private

Definition at line 61 of file optdict.hxx.

Referenced by SvxEditDictionaryDialog().

◆ sNew

OUString SvxEditDictionaryDialog::sNew
private

Definition at line 62 of file optdict.hxx.

Referenced by SvxEditDictionaryDialog().

◆ sReplaceFT_Text

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: