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 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 (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 247 of file hangulhanjadlg.hxx.

Constructor & Destructor Documentation

◆ HangulHanjaEditDictDialog()

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

◆ ~HangulHanjaEditDictDialog()

svx::HangulHanjaEditDictDialog::~HangulHanjaEditDictDialog ( )
overridevirtual

Definition at line 1492 of file hangulhanjadlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( BookLBSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( DeletePBPushHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( EditModifyHdl1  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( EditModifyHdl2  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [5/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( EditModifyHdl3  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [6/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( EditModifyHdl4  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [7/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( NewPBPushHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( OriginalModifyHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [9/9]

svx::HangulHanjaEditDictDialog::DECL_LINK ( ScrollHdl  ,
weld::ScrolledWindow ,
void   
)
private

◆ DeleteEntryFromDictionary()

bool svx::HangulHanjaEditDictDialog::DeleteEntryFromDictionary ( const css::uno::Reference< css::linguistic2::XConversionDictionary > &  xDict)
private

Definition at line 1269 of file hangulhanjadlg.cxx.

References aEntries, m_aOriginal, and n.

◆ EditModify()

void svx::HangulHanjaEditDictDialog::EditModify ( const weld::Entry pEdit,
sal_uInt8  nEntryOffset 
)
private

◆ InitEditDictDialog()

void svx::HangulHanjaEditDictDialog::InitEditDictDialog ( sal_uInt32  nSelDict)
private

◆ SetEditText()

void svx::HangulHanjaEditDictDialog::SetEditText ( SuggestionEdit rEdit,
sal_uInt16  nEntryNum 
)
private

Definition at line 1397 of file hangulhanjadlg.cxx.

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

Referenced by UpdateScrollbar().

◆ UpdateButtonStates()

void svx::HangulHanjaEditDictDialog::UpdateButtonStates ( )
private

◆ UpdateOriginalLB()

void svx::HangulHanjaEditDictDialog::UpdateOriginalLB ( )
private

Definition at line 1330 of file hangulhanjadlg.cxx.

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

Referenced by InitEditDictDialog().

◆ UpdateScrollbar()

void svx::HangulHanjaEditDictDialog::UpdateScrollbar ( )

◆ UpdateSuggestions()

void svx::HangulHanjaEditDictDialog::UpdateSuggestions ( )
private

Member Data Documentation

◆ m_aEditHintText

const OUString svx::HangulHanjaEditDictDialog::m_aEditHintText
private

Definition at line 250 of file hangulhanjadlg.hxx.

Referenced by InitEditDictDialog(), and UpdateButtonStates().

◆ m_aOriginal

OUString svx::HangulHanjaEditDictDialog::m_aOriginal
private

◆ m_bModifiedOriginal

bool svx::HangulHanjaEditDictDialog::m_bModifiedOriginal
private

Definition at line 259 of file hangulhanjadlg.hxx.

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

◆ m_bModifiedSuggestions

bool svx::HangulHanjaEditDictDialog::m_bModifiedSuggestions
private

Definition at line 258 of file hangulhanjadlg.hxx.

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

◆ m_nCurrentDict

sal_uInt32 svx::HangulHanjaEditDictDialog::m_nCurrentDict
private

Definition at line 252 of file hangulhanjadlg.hxx.

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

◆ m_nTopPos

sal_uInt16 svx::HangulHanjaEditDictDialog::m_nTopPos
private

Definition at line 257 of file hangulhanjadlg.hxx.

Referenced by EditModify(), and UpdateScrollbar().

◆ m_rDictList

HHDictList& svx::HangulHanjaEditDictDialog::m_rDictList
private

◆ m_xBookLB

std::unique_ptr<weld::ComboBox> svx::HangulHanjaEditDictDialog::m_xBookLB
private

Definition at line 261 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog().

◆ m_xContents

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

Definition at line 267 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog().

◆ m_xDeletePB

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

Definition at line 270 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateButtonStates().

◆ m_xEdit1

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

Definition at line 263 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateScrollbar().

◆ m_xEdit2

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

Definition at line 264 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateScrollbar().

◆ m_xEdit3

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

Definition at line 265 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateScrollbar().

◆ m_xEdit4

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

Definition at line 266 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateScrollbar().

◆ m_xNewPB

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

Definition at line 269 of file hangulhanjadlg.hxx.

Referenced by HangulHanjaEditDictDialog(), and UpdateButtonStates().

◆ m_xOriginalLB

std::unique_ptr<weld::ComboBox> svx::HangulHanjaEditDictDialog::m_xOriginalLB
private

◆ m_xScrollSB

std::unique_ptr<weld::ScrolledWindow> svx::HangulHanjaEditDictDialog::m_xScrollSB
private

◆ m_xSuggestions

std::unique_ptr<SuggestionList> svx::HangulHanjaEditDictDialog::m_xSuggestions
private

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