|
LibreOffice Module sw (master) 1
|
#include <hintids.hxx>#include <o3tl/any.hxx>#include <vcl/event.hxx>#include <vcl/svapp.hxx>#include <vcl/transfer.hxx>#include <vcl/weld.hxx>#include <svl/stritem.hxx>#include <svl/macitem.hxx>#include <unotools/pathoptions.hxx>#include <sfx2/request.hxx>#include <sfx2/fcontnr.hxx>#include <sfx2/docfilt.hxx>#include <osl/diagnose.h>#include <svx/svxdlg.hxx>#include <editeng/acorrcfg.hxx>#include <sfx2/viewfrm.hxx>#include <unotools.hxx>#include <comphelper/processfactory.hxx>#include <ucbhelper/content.hxx>#include <com/sun/star/text/AutoTextContainer.hpp>#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>#include <svl/urihelper.hxx>#include <unotools/charclass.hxx>#include <swtypes.hxx>#include <wrtsh.hxx>#include <view.hxx>#include <glossary.hxx>#include <gloshdl.hxx>#include <glosbib.hxx>#include <initui.hxx>#include <glosdoc.hxx>#include <macassgn.hxx>#include <docsh.hxx>#include <shellio.hxx>#include <cmdid.h>#include <sfx2/filedlghelper.hxx>#include <memory>#include <strings.hrc>#include <iodetect.hxx>#include <officecfg/Office/Writer.hxx>Go to the source code of this file.
Classes | |
| struct | GroupUserData |
| class | SwNewGlosNameDlg |
| class | SwGlossaryDropTarget |
| IMPL_LINK | ( | SwGlossaryDlg | , |
| CheckBoxHdl | , | ||
| weld::Toggleable & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 953 of file glossary.cxx.
References SvxAutoCorrCfg::Commit(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::SetAutoTextTip(), SvxAutoCorrCfg::SetSaveRelFile(), and SvxAutoCorrCfg::SetSaveRelNet().
| IMPL_LINK | ( | SwGlossaryDlg | , |
| GrpSelect | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 378 of file glossary.cxx.
References aName, SfxRequest::AppendItem(), SfxRequest::Done(), FN_SET_ACT_GLOSSARY, GetCurrGlosGroup(), GLOS_DELIM, SfxRequest::HasMacroRecorder(), m_bReadOnly, m_pShell, GroupUserData::nPathIdx, SetCurrGlosGroup(), and GroupUserData::sGroupName.
| IMPL_LINK | ( | SwGlossaryDlg | , |
| KeyInputHdl | , | ||
| const KeyEvent & | , | ||
| rKEvt | , | ||
| bool | |||
| ) |
Definition at line 966 of file glossary.cxx.
References KEY_DELETE.
| IMPL_LINK | ( | SwGlossaryDlg | , |
| MenuHdl | , | ||
| const OUString & | , | ||
| rItemIdent | , | ||
| void | |||
| ) |
Definition at line 547 of file glossary.cxx.
References SwMacroAssignDlg::AddEvents(), SfxRequest::AppendItem(), aStr, SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateEventConfigDialog(), Application::CreateMessageDialog(), SfxRequest::Done(), ERRCODE_NONE, FILTER_DOCX, FILTER_WW8, SfxFilterMatcherIter::First(), FN_NEW_GLOSSARY, SvxMacroTableDtor::Get(), GetGlossaries(), SwGlossaries::GetGroupDoc(), SvxMacroItem::GetMacroTable(), SwNewGlosNameDlg::GetNewName(), SwNewGlosNameDlg::GetNewShort(), SvxMacro::HasMacro(), SfxRequest::HasMacroRecorder(), Init(), m_pShell, m_xDialog, MACASSGN_AUTOTEXT, SfxFilterMatcherIter::Next(), SfxItemSet::Put(), RES_FRMMACRO(), RET_EDIT, RET_OK, weld::DialogController::run(), SvxMacroItem::SetMacro(), sId, sName, STARBASIC, and SwResId().
| IMPL_LINK | ( | SwGlossaryDlg | , |
| NameDoubleClick | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| bool | |||
| ) |
Definition at line 517 of file glossary.cxx.
| IMPL_LINK | ( | SwGlossaryDlg | , |
| NameModify | , | ||
| weld::Entry & | , | ||
| rEdit | , | ||
| void | |||
| ) |
Definition at line 480 of file glossary.cxx.
References aName, lcl_GetValidShortCut(), and m_bReadOnly.
| IMPL_LINK | ( | SwGlossaryDlg | , |
| TextFilterHdl | , | ||
| OUString & | , | ||
| rTest | , | ||
| bool | |||
| ) |
Definition at line 173 of file glossary.cxx.
| IMPL_LINK | ( | SwNewGlosNameDlg | , |
| Modify | , | ||
| weld::Entry & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 923 of file glossary.cxx.
References aName, SwGlossaryDlg::DoesBlockExist(), and lcl_GetValidShortCut().
| IMPL_LINK | ( | SwNewGlosNameDlg | , |
| TextFilterHdl | , | ||
| OUString & | , | ||
| rTest | , | ||
| bool | |||
| ) |
Definition at line 135 of file glossary.cxx.
| IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
| BibHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 717 of file glossary.cxx.
References Any, Content, Application::CreateMessageDialog(), Exception, SvtPathOptions::GetAutoTextPath(), SwGlossaryGroupDlg::GetCreatedGroupName(), GetGlossaries(), URIHelper::GetMaybeFileHdl(), SwGlossaries::GetPathArray(), comphelper::getProcessComponentContext(), GLOS_DELIM, Init(), SwGlossaries::IsGlosPathErr(), m_xDialog, GroupUserData::nPathIdx, RET_OK, RET_YES, SwGlossaryGroupDlg::run(), GroupUserData::sGroupName, SwGlossaries::ShowError(), and URIHelper::SmartRel2Abs().
| IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
| EnableHdl | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Definition at line 525 of file glossary.cxx.
| IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
| InsertHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 1008 of file glossary.cxx.
| IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
| PathHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 989 of file glossary.cxx.
References SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxPathSelectDialog(), SvtPathOptions::GetAutoTextPath(), GetGlossaries(), Init(), m_xDialog, RET_OK, SvtPathOptions::SetAutoTextPath(), and SwGlossaries::UpdateGlosPath().
| IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
| PreviewLoadedHdl | , | ||
| SwOneExampleFrame & | , | ||
| void | |||
| ) |
Definition at line 1018 of file glossary.cxx.
| IMPL_LINK_NOARG | ( | SwNewGlosNameDlg | , |
| Rename | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 936 of file glossary.cxx.
References Application::CreateMessageDialog(), GetAppCharClass(), SwGlossaryHdl::HasShortName(), SwGlossaryDlg::m_pGlossaryHdl, m_xDialog, RET_OK, SwResId(), and CharClass::uppercase().
|
static |
Definition at line 77 of file glossary.cxx.
References aBuf.
Referenced by IMPL_LINK(), and SwGlossaryDlg::Init().