LibreOffice Module sw (master) 1
|
#include <glosbib.hxx>
Public Member Functions | |
SwGlossaryGroupDlg (weld::Window *pParent, std::vector< OUString > const &rPathArr, SwGlossaryHdl *pGlosHdl) | |
virtual short | run () override |
virtual | ~SwGlossaryGroupDlg () override |
const OUString & | GetCreatedGroupName () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
bool | IsDeleteAllowed (const OUString &rGroup) |
void | Apply () |
DECL_LINK (SelectHdl, weld::TreeView &, void) | |
DECL_LINK (NewHdl, weld::Button &, void) | |
DECL_LINK (DeleteHdl, weld::Button &, void) | |
DECL_LINK (ModifyHdl, weld::Entry &, void) | |
DECL_LINK (ModifyListBoxHdl, weld::ComboBox &, void) | |
DECL_LINK (RenameHdl, weld::Button &, void) | |
DECL_STATIC_LINK (SwGlossaryGroupDlg, EditInsertTextHdl, OUString &, bool) | |
DECL_LINK (EntrySizeAllocHdl, const Size &, void) | |
Private Attributes | |
std::vector< OUString > | m_RemovedArr |
std::vector< OUString > | m_InsertedArr |
std::vector< OUString > | m_RenamedArr |
weld::Window * | m_pParent |
SwGlossaryHdl * | m_pGlosHdl |
OUString | m_sCreatedGroup |
std::unique_ptr< weld::Entry > | m_xNameED |
std::unique_ptr< weld::ComboBox > | m_xPathLB |
std::unique_ptr< weld::TreeView > | m_xGroupTLB |
std::unique_ptr< weld::Button > | m_xNewPB |
std::unique_ptr< weld::Button > | m_xDelPB |
std::unique_ptr< weld::Button > | m_xRenamePB |
Definition at line 38 of file glosbib.hxx.
SwGlossaryGroupDlg::SwGlossaryGroupDlg | ( | weld::Window * | pParent, |
std::vector< OUString > const & | rPathArr, | ||
SwGlossaryHdl * | pGlosHdl | ||
) |
Definition at line 43 of file glosbib.cxx.
References utl::TempFileNamed::EnableKillingFile(), SwGlossaryHdl::GetGroupCnt(), SwGlossaryHdl::GetGroupName(), INetURLObject::GetMainURL(), o3tl::getToken(), utl::TempFileNamed::GetURL(), GLOS_DELIM, i, utl::TempFileNamed::IsValid(), LINK, m_xDelPB, m_xGroupTLB, m_xNameED, m_xNewPB, m_xPathLB, m_xRenamePB, nCount, PATH_CASE_SENSITIVE, PATH_READONLY, pData, sId, SwResId(), weld::toId(), o3tl::toInt32(), u, SWUnoHelper::UCB_IsCaseSensitiveFileName(), and INetURLObject::WithCharset.
|
overridevirtual |
Definition at line 116 of file glosbib.cxx.
References i, m_xGroupTLB, and nCount.
|
private |
Definition at line 134 of file glosbib.cxx.
References Application::CreateMessageDialog(), SwGlossaryHdl::DelGroup(), SwGlossaryDlg::GetCurrGroup(), o3tl::getToken(), GLOS_DELIM, m_InsertedArr, m_pGlosHdl, m_pParent, m_RemovedArr, m_RenamedArr, m_sCreatedGroup, m_xGroupTLB, m_xNewPB, SwGlossaryHdl::NewGroup(), RENAME_TOKEN_DELIM, SwGlossaryHdl::RenameGroup(), RET_NO, RET_YES, SwGlossaryHdl::SetCurGroup(), GlosBibUserData::sGroupName, and SwResId().
Referenced by run().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 75 of file glosbib.hxx.
References m_sCreatedGroup.
Referenced by IMPL_LINK_NOARG().
|
private |
Definition at line 384 of file glosbib.cxx.
References SwGlossaryHdl::IsReadOnly(), m_InsertedArr, and m_pGlosHdl.
|
overridevirtual |
Definition at line 126 of file glosbib.cxx.
References Apply(), and RET_OK.
Referenced by IMPL_LINK_NOARG().
|
private |
Definition at line 41 of file glosbib.hxx.
Referenced by Apply(), and IsDeleteAllowed().
|
private |
Definition at line 45 of file glosbib.hxx.
Referenced by Apply(), and IsDeleteAllowed().
|
private |
Definition at line 44 of file glosbib.hxx.
Referenced by Apply().
|
private |
Definition at line 40 of file glosbib.hxx.
Referenced by Apply().
|
private |
Definition at line 42 of file glosbib.hxx.
Referenced by Apply().
|
private |
Definition at line 47 of file glosbib.hxx.
Referenced by Apply(), and GetCreatedGroupName().
|
private |
Definition at line 54 of file glosbib.hxx.
Referenced by SwGlossaryGroupDlg().
|
private |
Definition at line 51 of file glosbib.hxx.
Referenced by Apply(), SwGlossaryGroupDlg(), and ~SwGlossaryGroupDlg().
|
private |
Definition at line 49 of file glosbib.hxx.
Referenced by SwGlossaryGroupDlg().
|
private |
Definition at line 53 of file glosbib.hxx.
Referenced by Apply(), and SwGlossaryGroupDlg().
|
private |
Definition at line 50 of file glosbib.hxx.
Referenced by SwGlossaryGroupDlg().
|
private |
Definition at line 55 of file glosbib.hxx.
Referenced by SwGlossaryGroupDlg().