LibreOffice Module sw (master) 1
|
#include <glossary.hxx>
Public Member Functions | |
SwGlossaryDlg (const SfxViewFrame &rViewFrame, SwGlossaryHdl *pGlosHdl, SwWrtShell *pWrtShell) | |
virtual short | run () override |
virtual | ~SwGlossaryDlg () override |
OUString | GetCurrGrpName () const |
OUString | GetCurrShortName () 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 |
Static Public Member Functions | |
static OUString | GetCurrGroup () |
static void | SetActGroup (const OUString &rNewGroup) |
Private Member Functions | |
void | EnableShortName (bool bOn=true) |
void | ShowPreview () |
DECL_LINK (NameModify, weld::Entry &, void) | |
DECL_LINK (NameDoubleClick, weld::TreeView &, bool) | |
DECL_LINK (GrpSelect, weld::TreeView &, void) | |
DECL_LINK (MenuHdl, const OUString &, void) | |
DECL_LINK (EnableHdl, weld::Toggleable &, void) | |
DECL_LINK (BibHdl, weld::Button &, void) | |
DECL_LINK (InsertHdl, weld::Button &, void) | |
DECL_LINK (PathHdl, weld::Button &, void) | |
DECL_LINK (CheckBoxHdl, weld::Toggleable &, void) | |
DECL_LINK (PreviewLoadedHdl, SwOneExampleFrame &, void) | |
DECL_LINK (KeyInputHdl, const KeyEvent &, bool) | |
DECL_LINK (TextFilterHdl, OUString &, bool) | |
void | Apply () |
void | Init () |
std::unique_ptr< weld::TreeIter > | DoesBlockExist (std::u16string_view sBlock, std::u16string_view rShort) |
void | ShowAutoText (const OUString &rGroup, const OUString &rShortName) |
void | ResumeShowAutoText () |
bool | GetResumeData (OUString &rGroup, OUString &rShortName) |
void | SetResumeData (const OUString &rGroup, const OUString &rShortName) |
void | DeleteEntry () |
Friends | |
class | SwNewGlosNameDlg |
Definition at line 44 of file glossary.hxx.
SwGlossaryDlg::SwGlossaryDlg | ( | const SfxViewFrame & | rViewFrame, |
SwGlossaryHdl * | pGlosHdl, | ||
SwWrtShell * | pWrtShell | ||
) |
Definition at line 290 of file glossary.cxx.
References DND_ACTION_COPYMOVE, EX_SHOW_ONLINE_LAYOUT, SwView::GetDocShell(), SwWrtShell::GetView(), SwCursorShell::HasReadonlySel(), Size::Height(), Init(), SfxObjectShell::IsReadOnly(), LINK, m_bIsDocReadOnly, m_bReadOnly, m_pShell, m_pShell, m_xBibBtn, m_xCategoryBox, m_xDropTarget, m_xEditBtn, m_xExampleFrame, m_xExampleFrameWin, m_xInsertBtn, m_xNameED, m_xPathBtn, m_xShortNameEdit, ShowPreview(), and Size::Width().
|
overridevirtual |
Definition at line 357 of file glossary.cxx.
|
private |
Definition at line 431 of file glossary.cxx.
References SfxRequest::AppendItem(), SfxRequest::Done(), FN_INSERT_GLOSSARY, SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SfxRequest::HasMacroRecorder(), SwGlossaryHdl::InsertGlossary(), m_pGlossaryHdl, m_pShell, and m_xShortNameEdit.
Referenced by run().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1065 of file glossary.cxx.
References Application::CreateMessageDialog(), SwGlossaryHdl::DelGlossary(), DoesBlockExist(), m_pGlossaryHdl, m_xCategoryBox, m_xDialog, m_xNameED, m_xShortNameEdit, RET_YES, and SwResId().
|
private |
Definition at line 454 of file glossary.cxx.
References m_xCategoryBox.
Referenced by DeleteEntry(), and IMPL_LINK().
|
private |
Definition at line 447 of file glossary.cxx.
References m_xShortNameEdit, and m_xShortNameLbl.
|
static |
Definition at line 161 of file glossary.cxx.
References GetCurrGlosGroup(), and SwGlossaries::GetDefName().
Referenced by SwGlossaryGroupDlg::Apply(), and SwAbstractDialogFactory_Impl::GetGlossaryCurrGroupFunc().
OUString SwGlossaryDlg::GetCurrGrpName | ( | ) | const |
Definition at line 976 of file glossary.cxx.
References GLOS_DELIM, m_xCategoryBox, GroupUserData::nPathIdx, and GroupUserData::sGroupName.
|
inline |
Definition at line 116 of file glossary.hxx.
References m_xShortNameEdit.
|
inlineprivate |
Definition at line 105 of file glossary.hxx.
References m_bResume, m_sResumeGroup, and m_sResumeShortName.
Referenced by ResumeShowAutoText().
|
private |
Definition at line 797 of file glossary.cxx.
References SvxAutoCorrCfg::Get(), GetCurrGlosGroup(), SwGlossaryHdl::GetGlossaryCnt(), SwGlossaryHdl::GetGlossaryName(), SwGlossaryHdl::GetGlossaryShortName(), SwGlossaryHdl::GetGroupCnt(), SwGlossaryHdl::GetGroupName(), SwEditShell::GetSelectedText(), getToken(), o3tl::getToken(), GLOS_DELIM, SwWrtShell::HasSelection(), i, SvxAutoCorrCfg::IsAutoTextTip(), SwGlossaryHdl::IsReadOnly(), SvxAutoCorrCfg::IsSaveRelFile(), SvxAutoCorrCfg::IsSaveRelNet(), lcl_GetValidShortCut(), LINK, m_pGlossaryHdl, m_pShell, m_xCategoryBox, m_xFileRelCB, m_xGroupData, m_xInsertTipCB, m_xNameED, m_xNetRelCB, m_xShortNameEdit, nCount, nId, pData, SwGlossaryHdl::SetCurGroup(), sId, sName, SwResId(), ToBlank, weld::toId(), o3tl::toInt32(), and u.
Referenced by SwGlossaryDlg().
|
private |
Definition at line 1033 of file glossary.cxx.
References comphelper::getProcessComponentContext(), GetResumeData(), m_bResume, m_xAutoText, m_xExampleFrame, and m_xExampleFrameWin.
|
overridevirtual |
Definition at line 423 of file glossary.cxx.
|
static |
Definition at line 168 of file glossary.cxx.
References SetCurrGlosGroup().
Referenced by SwAbstractDialogFactory_Impl::SetGlossaryActGroupFunc().
|
inlineprivate |
Definition at line 107 of file glossary.hxx.
References m_bResume, m_sResumeGroup, and m_sResumeShortName.
Referenced by ShowAutoText().
|
private |
Definition at line 1023 of file glossary.cxx.
References m_xExampleFrame, m_xExampleFrameWin, and SetResumeData().
Referenced by ShowPreview().
|
private |
Definition at line 1013 of file glossary.cxx.
References GetCurrGlosGroup(), m_xShortNameEdit, and ShowAutoText().
Referenced by SwGlossaryDlg().
|
friend |
Definition at line 46 of file glossary.hxx.
|
private |
Definition at line 70 of file glossary.hxx.
|
private |
Definition at line 61 of file glossary.hxx.
Referenced by SwGlossaryDlg().
|
private |
Definition at line 60 of file glossary.hxx.
|
private |
Definition at line 59 of file glossary.hxx.
|
private |
Definition at line 56 of file glossary.hxx.
Referenced by GetResumeData(), ResumeShowAutoText(), and SetResumeData().
|
private |
Definition at line 58 of file glossary.hxx.
|
private |
Definition at line 52 of file glossary.hxx.
Referenced by Apply(), DeleteEntry(), IMPL_LINK_NOARG(), and Init().
|
private |
Definition at line 63 of file glossary.hxx.
Referenced by Apply(), Init(), and SwGlossaryDlg().
|
private |
Definition at line 48 of file glossary.hxx.
|
private |
Definition at line 54 of file glossary.hxx.
Referenced by GetResumeData(), and SetResumeData().
|
private |
Definition at line 55 of file glossary.hxx.
Referenced by GetResumeData(), and SetResumeData().
|
private |
Definition at line 50 of file glossary.hxx.
Referenced by ResumeShowAutoText().
|
private |
Definition at line 77 of file glossary.hxx.
Referenced by SwGlossaryDlg().
|
private |
Definition at line 72 of file glossary.hxx.
Referenced by DeleteEntry(), DoesBlockExist(), GetCurrGrpName(), Init(), and SwGlossaryDlg().
|
private |
Definition at line 81 of file glossary.hxx.
Referenced by SwGlossaryDlg().
|
private |
Definition at line 76 of file glossary.hxx.
Referenced by SwGlossaryDlg().
|
private |
Definition at line 79 of file glossary.hxx.
Referenced by ResumeShowAutoText(), ShowAutoText(), and SwGlossaryDlg().
|
private |
Definition at line 80 of file glossary.hxx.
Referenced by ResumeShowAutoText(), ShowAutoText(), and SwGlossaryDlg().
|
private |
Definition at line 73 of file glossary.hxx.
Referenced by Init().
|
private |
Definition at line 65 of file glossary.hxx.
Referenced by Init().
|
private |
Definition at line 75 of file glossary.hxx.
Referenced by SwGlossaryDlg().
|
private |
Definition at line 67 of file glossary.hxx.
Referenced by Init().
|
private |
Definition at line 68 of file glossary.hxx.
Referenced by DeleteEntry(), Init(), and SwGlossaryDlg().
|
private |
Definition at line 74 of file glossary.hxx.
Referenced by Init().
|
private |
Definition at line 78 of file glossary.hxx.
Referenced by SwGlossaryDlg().
|
private |
Definition at line 71 of file glossary.hxx.
Referenced by Apply(), DeleteEntry(), EnableShortName(), GetCurrShortName(), Init(), ShowPreview(), and SwGlossaryDlg().
|
private |
Definition at line 69 of file glossary.hxx.
Referenced by EnableShortName().