LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
textconversiondlgs::ChineseDictionaryDialog Class Reference

#include <chinese_dictionarydialog.hxx>

Inheritance diagram for textconversiondlgs::ChineseDictionaryDialog:
[legend]
Collaboration diagram for textconversiondlgs::ChineseDictionaryDialog:
[legend]

Public Member Functions

 ChineseDictionaryDialog (weld::Window *pParent)
 
virtual ~ChineseDictionaryDialog () override
 
void setDirectionAndTextConversionOptions (bool bDirectionToSimplified, sal_Int32 nTextConversionOptions)
 
virtual short run () 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
 
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 (DirectionHdl, weld::Button &, void)
 
 DECL_LINK (EditFieldsHdl, weld::Entry &, void)
 
 DECL_LINK (EditFieldsListBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (MappingSelectHdl, weld::TreeView &, void)
 
 DECL_LINK (AddHdl, weld::Button &, void)
 
 DECL_LINK (ModifyHdl, weld::Button &, void)
 
 DECL_LINK (DeleteHdl, weld::Button &, void)
 
 DECL_LINK (ToSimplifiedHeaderBarClick, int, void)
 
 DECL_LINK (ToTraditionalHeaderBarClick, int, void)
 
 DECL_LINK (SizeAllocHdl, const Size &, void)
 
void initDictionaryControl (DictionaryList *pList, const css::uno::Reference< css::linguistic2::XConversionDictionary > &xDictionary)
 
void updateAfterDirectionChange ()
 
void updateButtons ()
 
bool isEditFieldsHaveContent () const
 
bool isEditFieldsContentEqualsSelectedListContent () const
 
DictionaryListgetActiveDictionary ()
 
DictionaryListgetReverseDictionary ()
 
const DictionaryListgetActiveDictionary () const
 
const DictionaryListgetReverseDictionary () const
 

Static Private Member Functions

static void HeaderBarClick (DictionaryList &rList, int nColumn)
 

Private Attributes

sal_Int32 m_nTextConversionOptions
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
std::unique_ptr< weld::RadioButtonm_xRB_To_Simplified
 
std::unique_ptr< weld::RadioButtonm_xRB_To_Traditional
 
std::unique_ptr< weld::CheckButtonm_xCB_Reverse
 
std::unique_ptr< weld::Labelm_xFT_Term
 
std::unique_ptr< weld::Entrym_xED_Term
 
std::unique_ptr< weld::Labelm_xFT_Mapping
 
std::unique_ptr< weld::Entrym_xED_Mapping
 
std::unique_ptr< weld::Labelm_xFT_Property
 
std::unique_ptr< weld::ComboBoxm_xLB_Property
 
std::unique_ptr< DictionaryListm_xCT_DictionaryToSimplified
 
std::unique_ptr< DictionaryListm_xCT_DictionaryToTraditional
 
std::unique_ptr< weld::Buttonm_xPB_Add
 
std::unique_ptr< weld::Buttonm_xPB_Modify
 
std::unique_ptr< weld::Buttonm_xPB_Delete
 

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 102 of file chinese_dictionarydialog.hxx.

Constructor & Destructor Documentation

textconversiondlgs::ChineseDictionaryDialog::ChineseDictionaryDialog ( weld::Window pParent)
explicit
textconversiondlgs::ChineseDictionaryDialog::~ChineseDictionaryDialog ( )
overridevirtual

Definition at line 411 of file chinese_dictionarydialog.cxx.

Member Function Documentation

textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( DirectionHdl  ,
weld::Button ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( EditFieldsHdl  ,
weld::Entry ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( EditFieldsListBoxHdl  ,
weld::ComboBox ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( MappingSelectHdl  ,
weld::TreeView ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( AddHdl  ,
weld::Button ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( ModifyHdl  ,
weld::Button ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( DeleteHdl  ,
weld::Button ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( ToSimplifiedHeaderBarClick  ,
int  ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( ToTraditionalHeaderBarClick  ,
int  ,
void   
)
private
textconversiondlgs::ChineseDictionaryDialog::DECL_LINK ( SizeAllocHdl  ,
const Size ,
void   
)
private
DictionaryList & textconversiondlgs::ChineseDictionaryDialog::getActiveDictionary ( )
private
const DictionaryList & textconversiondlgs::ChineseDictionaryDialog::getActiveDictionary ( ) const
private
DictionaryList & textconversiondlgs::ChineseDictionaryDialog::getReverseDictionary ( )
private
const DictionaryList & textconversiondlgs::ChineseDictionaryDialog::getReverseDictionary ( ) const
private
void textconversiondlgs::ChineseDictionaryDialog::HeaderBarClick ( DictionaryList rList,
int  nColumn 
)
staticprivate
void textconversiondlgs::ChineseDictionaryDialog::initDictionaryControl ( DictionaryList pList,
const css::uno::Reference< css::linguistic2::XConversionDictionary > &  xDictionary 
)
private
bool textconversiondlgs::ChineseDictionaryDialog::isEditFieldsContentEqualsSelectedListContent ( ) const
private
bool textconversiondlgs::ChineseDictionaryDialog::isEditFieldsHaveContent ( ) const
private

Definition at line 482 of file chinese_dictionarydialog.cxx.

References m_xED_Mapping, and m_xED_Term.

Referenced by updateButtons().

short textconversiondlgs::ChineseDictionaryDialog::run ( )
overridevirtual
void textconversiondlgs::ChineseDictionaryDialog::setDirectionAndTextConversionOptions ( bool  bDirectionToSimplified,
sal_Int32  nTextConversionOptions 
)
void textconversiondlgs::ChineseDictionaryDialog::updateAfterDirectionChange ( )
private
void textconversiondlgs::ChineseDictionaryDialog::updateButtons ( )
private

Member Data Documentation

sal_Int32 textconversiondlgs::ChineseDictionaryDialog::m_nTextConversionOptions
private

Definition at line 142 of file chinese_dictionarydialog.hxx.

Referenced by run(), and setDirectionAndTextConversionOptions().

std::unique_ptr<weld::CheckButton> textconversiondlgs::ChineseDictionaryDialog::m_xCB_Reverse
private

Definition at line 149 of file chinese_dictionarydialog.hxx.

Referenced by ChineseDictionaryDialog(), and run().

css::uno::Reference<css::uno::XComponentContext> textconversiondlgs::ChineseDictionaryDialog::m_xContext
private

Definition at line 144 of file chinese_dictionarydialog.hxx.

Referenced by ChineseDictionaryDialog().

std::unique_ptr<DictionaryList> textconversiondlgs::ChineseDictionaryDialog::m_xCT_DictionaryToSimplified
private
std::unique_ptr<DictionaryList> textconversiondlgs::ChineseDictionaryDialog::m_xCT_DictionaryToTraditional
private
std::unique_ptr<weld::Entry> textconversiondlgs::ChineseDictionaryDialog::m_xED_Mapping
private
std::unique_ptr<weld::Entry> textconversiondlgs::ChineseDictionaryDialog::m_xED_Term
private
std::unique_ptr<weld::Label> textconversiondlgs::ChineseDictionaryDialog::m_xFT_Mapping
private

Definition at line 154 of file chinese_dictionarydialog.hxx.

std::unique_ptr<weld::Label> textconversiondlgs::ChineseDictionaryDialog::m_xFT_Property
private

Definition at line 157 of file chinese_dictionarydialog.hxx.

std::unique_ptr<weld::Label> textconversiondlgs::ChineseDictionaryDialog::m_xFT_Term
private

Definition at line 151 of file chinese_dictionarydialog.hxx.

std::unique_ptr<weld::ComboBox> textconversiondlgs::ChineseDictionaryDialog::m_xLB_Property
private
std::unique_ptr<weld::Button> textconversiondlgs::ChineseDictionaryDialog::m_xPB_Add
private

Definition at line 163 of file chinese_dictionarydialog.hxx.

Referenced by ChineseDictionaryDialog(), and updateButtons().

std::unique_ptr<weld::Button> textconversiondlgs::ChineseDictionaryDialog::m_xPB_Delete
private

Definition at line 165 of file chinese_dictionarydialog.hxx.

Referenced by ChineseDictionaryDialog(), and updateButtons().

std::unique_ptr<weld::Button> textconversiondlgs::ChineseDictionaryDialog::m_xPB_Modify
private

Definition at line 164 of file chinese_dictionarydialog.hxx.

Referenced by ChineseDictionaryDialog(), and updateButtons().

std::unique_ptr<weld::RadioButton> textconversiondlgs::ChineseDictionaryDialog::m_xRB_To_Simplified
private
std::unique_ptr<weld::RadioButton> textconversiondlgs::ChineseDictionaryDialog::m_xRB_To_Traditional
private

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