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

#include <hangulhanjadlg.hxx>

Inheritance diagram for svx::HangulHanjaEditDictDialog:
[legend]
Collaboration diagram for svx::HangulHanjaEditDictDialog:
[legend]

Public Member Functions

 HangulHanjaEditDictDialog (weld::Window *pParent, HHDictList &rDictList, sal_uInt32 nSelDict)
 
virtual ~HangulHanjaEditDictDialog () override
 
void UpdateScrollbar ()
 
- 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 (OriginalModifyHdl, weld::ComboBox &, void)
 
 DECL_LINK (ScrollHdl, weld::ScrolledWindow &, void)
 
 DECL_LINK (EditModifyHdl1, weld::Entry &, void)
 
 DECL_LINK (EditModifyHdl2, weld::Entry &, void)
 
 DECL_LINK (EditModifyHdl3, weld::Entry &, void)
 
 DECL_LINK (EditModifyHdl4, weld::Entry &, void)
 
 DECL_LINK (BookLBSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (NewPBPushHdl, weld::Button &, void)
 
 DECL_LINK (DeletePBPushHdl, weld::Button &, void)
 
void InitEditDictDialog (sal_uInt32 nSelDict)
 
void UpdateOriginalLB ()
 
void UpdateSuggestions ()
 
void UpdateButtonStates ()
 
void SetEditText (SuggestionEdit &rEdit, sal_uInt16 nEntryNum)
 
void EditModify (const weld::Entry *pEdit, sal_uInt8 nEntryOffset)
 
bool DeleteEntryFromDictionary (const css::uno::Reference< css::linguistic2::XConversionDictionary > &xDict)
 

Private Attributes

const OUString m_aEditHintText
 
HHDictListm_rDictList
 
sal_uInt32 m_nCurrentDict
 
OUString m_aOriginal
 
std::unique_ptr< SuggestionListm_xSuggestions
 
sal_uInt16 m_nTopPos
 
bool m_bModifiedSuggestions
 
bool m_bModifiedOriginal
 
std::unique_ptr< weld::ComboBoxm_xBookLB
 
std::unique_ptr< weld::ComboBoxm_xOriginalLB
 
std::unique_ptr< SuggestionEditm_xEdit1
 
std::unique_ptr< SuggestionEditm_xEdit2
 
std::unique_ptr< SuggestionEditm_xEdit3
 
std::unique_ptr< SuggestionEditm_xEdit4
 
std::unique_ptr< weld::Widgetm_xContents
 
std::unique_ptr< weld::ScrolledWindowm_xScrollSB
 
std::unique_ptr< weld::Buttonm_xNewPB
 
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 249 of file hangulhanjadlg.hxx.

Constructor & Destructor Documentation

svx::HangulHanjaEditDictDialog::HangulHanjaEditDictDialog ( weld::Window pParent,
HHDictList rDictList,
sal_uInt32  nSelDict 
)
svx::HangulHanjaEditDictDialog::~HangulHanjaEditDictDialog ( )
overridevirtual

Definition at line 1488 of file hangulhanjadlg.cxx.

Member Function Documentation

svx::HangulHanjaEditDictDialog::DECL_LINK ( OriginalModifyHdl  ,
weld::ComboBox ,
void   
)
private
svx::HangulHanjaEditDictDialog::DECL_LINK ( ScrollHdl  ,
weld::ScrolledWindow ,
void   
)
private
svx::HangulHanjaEditDictDialog::DECL_LINK ( EditModifyHdl1  ,
weld::Entry ,
void   
)
private
svx::HangulHanjaEditDictDialog::DECL_LINK ( EditModifyHdl2  ,
weld::Entry ,
void   
)
private
svx::HangulHanjaEditDictDialog::DECL_LINK ( EditModifyHdl3  ,
weld::Entry ,
void   
)
private
svx::HangulHanjaEditDictDialog::DECL_LINK ( EditModifyHdl4  ,
weld::Entry ,
void   
)
private
svx::HangulHanjaEditDictDialog::DECL_LINK ( BookLBSelectHdl  ,
weld::ComboBox ,
void   
)
private
svx::HangulHanjaEditDictDialog::DECL_LINK ( NewPBPushHdl  ,
weld::Button ,
void   
)
private
svx::HangulHanjaEditDictDialog::DECL_LINK ( DeletePBPushHdl  ,
weld::Button ,
void   
)
private
bool svx::HangulHanjaEditDictDialog::DeleteEntryFromDictionary ( const css::uno::Reference< css::linguistic2::XConversionDictionary > &  xDict)
private

Definition at line 1263 of file hangulhanjadlg.cxx.

References aEntries, and m_aOriginal.

void svx::HangulHanjaEditDictDialog::EditModify ( const weld::Entry pEdit,
sal_uInt8  nEntryOffset 
)
private
void svx::HangulHanjaEditDictDialog::InitEditDictDialog ( sal_uInt32  nSelDict)
private
void svx::HangulHanjaEditDictDialog::SetEditText ( SuggestionEdit rEdit,
sal_uInt16  nEntryNum 
)
private

Definition at line 1391 of file hangulhanjadlg.cxx.

References aStr, m_xSuggestions, and svx::SuggestionEdit::set_text().

Referenced by UpdateScrollbar().

void svx::HangulHanjaEditDictDialog::UpdateButtonStates ( )
private
void svx::HangulHanjaEditDictDialog::UpdateOriginalLB ( )
private

Definition at line 1324 of file hangulhanjadlg.cxx.

References aEntries, m_nCurrentDict, m_rDictList, m_xOriginalLB, and SAL_INFO.

Referenced by InitEditDictDialog().

void svx::HangulHanjaEditDictDialog::UpdateScrollbar ( )
void svx::HangulHanjaEditDictDialog::UpdateSuggestions ( )
private

Member Data Documentation

const OUString svx::HangulHanjaEditDictDialog::m_aEditHintText
private

Definition at line 252 of file hangulhanjadlg.hxx.

Referenced by InitEditDictDialog(), and UpdateButtonStates().

OUString svx::HangulHanjaEditDictDialog::m_aOriginal
private
bool svx::HangulHanjaEditDictDialog::m_bModifiedOriginal
private

Definition at line 261 of file hangulhanjadlg.hxx.

Referenced by InitEditDictDialog(), UpdateButtonStates(), and UpdateSuggestions().

bool svx::HangulHanjaEditDictDialog::m_bModifiedSuggestions
private

Definition at line 260 of file hangulhanjadlg.hxx.

Referenced by EditModify(), UpdateButtonStates(), and UpdateSuggestions().

sal_uInt32 svx::HangulHanjaEditDictDialog::m_nCurrentDict
private

Definition at line 254 of file hangulhanjadlg.hxx.

Referenced by InitEditDictDialog(), UpdateOriginalLB(), and UpdateSuggestions().

sal_uInt16 svx::HangulHanjaEditDictDialog::m_nTopPos
private

Definition at line 259 of file hangulhanjadlg.hxx.

Referenced by EditModify(), and UpdateScrollbar().

HHDictList& svx::HangulHanjaEditDictDialog::m_rDictList
private
std::unique_ptr<weld::ComboBox> svx::HangulHanjaEditDictDialog::m_xBookLB
private

Definition at line 263 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog().

std::unique_ptr<weld::Widget> svx::HangulHanjaEditDictDialog::m_xContents
private

Definition at line 269 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog().

std::unique_ptr<weld::Button> svx::HangulHanjaEditDictDialog::m_xDeletePB
private

Definition at line 272 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateButtonStates().

std::unique_ptr<SuggestionEdit> svx::HangulHanjaEditDictDialog::m_xEdit1
private

Definition at line 265 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateScrollbar().

std::unique_ptr<SuggestionEdit> svx::HangulHanjaEditDictDialog::m_xEdit2
private

Definition at line 266 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateScrollbar().

std::unique_ptr<SuggestionEdit> svx::HangulHanjaEditDictDialog::m_xEdit3
private

Definition at line 267 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateScrollbar().

std::unique_ptr<SuggestionEdit> svx::HangulHanjaEditDictDialog::m_xEdit4
private

Definition at line 268 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateScrollbar().

std::unique_ptr<weld::Button> svx::HangulHanjaEditDictDialog::m_xNewPB
private

Definition at line 271 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateButtonStates().

std::unique_ptr<weld::ComboBox> svx::HangulHanjaEditDictDialog::m_xOriginalLB
private
std::unique_ptr<weld::ScrolledWindow> svx::HangulHanjaEditDictDialog::m_xScrollSB
private
std::unique_ptr<SuggestionList> svx::HangulHanjaEditDictDialog::m_xSuggestions
private

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