LibreOffice Module cui (master) 1
|
#include <optdict.hxx>
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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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::TreeView * | m_pWordsLB |
std::unique_ptr< weld::ComboBox > | m_xAllDictsLB |
std::unique_ptr< weld::Label > | m_xLangFT |
std::unique_ptr< SvxLanguageBox > | m_xLangLB |
std::unique_ptr< weld::Entry > | m_xWordED |
std::unique_ptr< weld::Label > | m_xReplaceFT |
std::unique_ptr< weld::Entry > | m_xReplaceED |
std::unique_ptr< weld::TreeView > | m_xSingleColumnLB |
std::unique_ptr< weld::TreeView > | m_xDoubleColumnLB |
std::unique_ptr< weld::Button > | m_xNewReplacePB |
std::unique_ptr< weld::Button > | m_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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 58 of file optdict.hxx.
SvxEditDictionaryDialog::SvxEditDictionaryDialog | ( | weld::Window * | pParent, |
std::u16string_view | rName | ||
) |
Definition at line 219 of file optdict.cxx.
References aDics, LinguMgr::GetDictionaryList(), LanguageTag::getLanguageType(), i, IsDicReadonly_Impl(), LINK, m_pWordsLB, m_xAllDictsLB, m_xDeletePB, m_xDoubleColumnLB, m_xLangFT, m_xLangLB, m_xNewReplacePB, m_xReplaceED, m_xReplaceFT, m_xSingleColumnLB, m_xWordED, nCount, nPos, SetDicReadonly_Impl(), SetLanguage_Impl(), ShowWords_Impl(), sModify, sNew, and sReplaceFT_Text.
|
overridevirtual |
Definition at line 347 of file optdict.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 374 of file optdict.cxx.
References weld::TreeView::get_text(), IntlWrapper::getCollator(), getNormDicEntry_Impl(), m_pWordsLB, weld::TreeView::n_children(), and nCount.
Referenced by NewDelHdl().
|
inlineprivate |
Definition at line 96 of file optdict.hxx.
References bDicIsReadonly.
Referenced by SvxEditDictionaryDialog().
|
private |
Definition at line 600 of file optdict.cxx.
References linguistic::AddEntryToDic(), aDics, DBG_ASSERT, fixSpace(), weld::Widget::freeze(), weld::TreeView::get_selected_index(), weld::TreeView::get_text(), GetLBInsertPos(), weld::TreeView::insert_text(), m_pWordsLB, m_xAllDictsLB, m_xDeletePB, weld::GenericDialogController::m_xDialog, m_xNewReplacePB, m_xReplaceED, m_xWordED, nPos, RemoveDictEntry(), weld::TreeView::scroll_to_row(), weld::TreeView::set_text(), SvxDicError(), and weld::Widget::thaw().
|
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().
|
private |
Definition at line 351 of file optdict.cxx.
References bDicIsReadonly.
Referenced by SvxEditDictionaryDialog().
|
private |
Definition at line 368 of file optdict.cxx.
References m_xLangLB.
Referenced by SvxEditDictionaryDialog().
|
private |
Definition at line 463 of file optdict.cxx.
References aDics, aEntries, weld::TreeView::append_text(), aStr, weld::TreeView::clear(), CuiResId(), weld::Widget::freeze(), IntlWrapper::getCollator(), LanguageTag::getLanguageType(), i, LANGUAGE_NONE, m_pWordsLB, weld::GenericDialogController::m_xDialog, m_xDoubleColumnLB, m_xReplaceED, m_xReplaceFT, m_xSingleColumnLB, m_xWordED, weld::TreeView::n_children(), nCount, nId, weld::TreeView::select(), weld::TreeView::set_cursor(), weld::TreeView::set_text(), sReplaceFT_Text, and weld::Widget::thaw().
Referenced by SvxEditDictionaryDialog().
|
private |
Definition at line 67 of file optdict.hxx.
Referenced by NewDelHdl(), RemoveDictEntry(), ShowWords_Impl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 71 of file optdict.hxx.
Referenced by IsDicReadonly_Impl(), and SetDicReadonly_Impl().
|
private |
Definition at line 70 of file optdict.hxx.
|
private |
snapshot copy to work on
Definition at line 69 of file optdict.hxx.
|
private |
Definition at line 73 of file optdict.hxx.
Referenced by GetLBInsertPos(), NewDelHdl(), RemoveDictEntry(), ShowWords_Impl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 74 of file optdict.hxx.
Referenced by NewDelHdl(), RemoveDictEntry(), and SvxEditDictionaryDialog().
|
private |
Definition at line 83 of file optdict.hxx.
Referenced by NewDelHdl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 81 of file optdict.hxx.
Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 75 of file optdict.hxx.
Referenced by SvxEditDictionaryDialog().
|
private |
Definition at line 76 of file optdict.hxx.
Referenced by SetLanguage_Impl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 82 of file optdict.hxx.
Referenced by NewDelHdl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 79 of file optdict.hxx.
Referenced by NewDelHdl(), ShowWords_Impl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 78 of file optdict.hxx.
Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 80 of file optdict.hxx.
Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 77 of file optdict.hxx.
Referenced by NewDelHdl(), ShowWords_Impl(), and SvxEditDictionaryDialog().
|
private |
Definition at line 61 of file optdict.hxx.
Referenced by SvxEditDictionaryDialog().
|
private |
Definition at line 62 of file optdict.hxx.
Referenced by SvxEditDictionaryDialog().
|
private |
Definition at line 63 of file optdict.hxx.
Referenced by ShowWords_Impl(), and SvxEditDictionaryDialog().