LibreOffice Module sw (master)
1
|
#include <hintids.hxx>
#include <o3tl/any.hxx>
#include <vcl/event.hxx>
#include <vcl/svapp.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 |
IMPL_LINK | ( | SwNewGlosNameDlg | , |
TextFilterHdl | , | ||
OUString & | , | ||
rTest | , | ||
bool | |||
) |
Definition at line 135 of file glossary.cxx.
IMPL_LINK | ( | SwGlossaryDlg | , |
TextFilterHdl | , | ||
OUString & | , | ||
rTest | , | ||
bool | |||
) |
Definition at line 173 of file glossary.cxx.
IMPL_LINK | ( | SwGlossaryDlg | , |
GrpSelect | , | ||
weld::TreeView & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 262 of file glossary.cxx.
References aName, SfxRequest::AppendItem(), FN_SET_ACT_GLOSSARY, GetCurrGlosGroup(), GLOS_DELIM, SfxRequest::HasMacroRecorder(), m_bReadOnly, m_pShell, GroupUserData::nPathIdx, SetCurrGlosGroup(), and GroupUserData::sGroupName.
IMPL_LINK | ( | SwGlossaryDlg | , |
NameModify | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 369 of file glossary.cxx.
References aName, weld::Entry::get_text(), lcl_GetValidShortCut(), m_bReadOnly, rEdit, and weld::Entry::set_text().
IMPL_LINK | ( | SwGlossaryDlg | , |
NameDoubleClick | , | ||
weld::TreeView & | , | ||
rBox | , | ||
bool | |||
) |
Definition at line 406 of file glossary.cxx.
IMPL_LINK | ( | SwGlossaryDlg | , |
MenuHdl | , | ||
const OString & | , | ||
rItemIdent | , | ||
void | |||
) |
Definition at line 436 of file glossary.cxx.
References SwMacroAssignDlg::AddEvents(), SfxRequest::AppendItem(), aStr, SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateEventConfigDialog(), Application::CreateMessageDialog(), ERRCODE_NONE, FILTER_DOCX, FILTER_WW8, SfxFilterMatcherIter::First(), FN_NEW_GLOSSARY, SvxMacroTableDtor::Get(), GetGlossaries(), SwGlossaries::GetGroupDoc(), SfxItemSet::GetItemIfSet(), SfxAbstractDialog::GetOutputItemSet(), SvxMacro::HasMacro(), SfxRequest::HasMacroRecorder(), Init(), m_pShell, m_xDialog, MACASSGN_AUTOTEXT, SfxFilterMatcherIter::Next(), RES_FRMMACRO(), RET_EDIT, RET_OK, SvxMacroItem::SetMacro(), sId, sName, STARBASIC, and SwResId().
IMPL_LINK | ( | SwNewGlosNameDlg | , |
Modify | , | ||
weld::Entry & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 793 of file glossary.cxx.
References aName, and lcl_GetValidShortCut().
IMPL_LINK | ( | SwGlossaryDlg | , |
CheckBoxHdl | , | ||
weld::Toggleable & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 823 of file glossary.cxx.
References SvxAutoCorrCfg::Commit(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::SetAutoTextTip(), SvxAutoCorrCfg::SetSaveRelFile(), and SvxAutoCorrCfg::SetSaveRelNet().
IMPL_LINK | ( | SwGlossaryDlg | , |
KeyInputHdl | , | ||
const KeyEvent & | , | ||
rKEvt | , | ||
bool | |||
) |
Definition at line 836 of file glossary.cxx.
References KEY_DELETE.
IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
EnableHdl | , | ||
weld::Toggleable & | , | ||
void | |||
) |
Definition at line 414 of file glossary.cxx.
IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
BibHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 606 of file glossary.cxx.
References Any, Content, Application::CreateMessageDialog(), Exception, SvtPathOptions::GetAutoTextPath(), GetGlossaries(), URIHelper::GetMaybeFileHdl(), SwGlossaries::GetPathArray(), comphelper::getProcessComponentContext(), GLOS_DELIM, Init(), SwGlossaries::IsGlosPathErr(), m_xDialog, GroupUserData::nPathIdx, RET_OK, RET_YES, GroupUserData::sGroupName, SwGlossaries::ShowError(), and URIHelper::SmartRel2Abs().
IMPL_LINK_NOARG | ( | SwNewGlosNameDlg | , |
Rename | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 806 of file glossary.cxx.
References Application::CreateMessageDialog(), GetAppCharClass(), SwGlossaryHdl::HasShortName(), SwGlossaryDlg::m_pGlossaryHdl, m_xDialog, RET_OK, SwResId(), and CharClass::uppercase().
IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
PathHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 859 of file glossary.cxx.
References SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxPathSelectDialog(), SvtPathOptions::GetAutoTextPath(), GetGlossaries(), AbstractSvxMultiPathDialog::GetPath(), Init(), m_xDialog, RET_OK, SvtPathOptions::SetAutoTextPath(), AbstractSvxMultiPathDialog::SetPath(), and SwGlossaries::UpdateGlosPath().
IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
InsertHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 878 of file glossary.cxx.
IMPL_LINK_NOARG | ( | SwGlossaryDlg | , |
PreviewLoadedHdl | , | ||
SwOneExampleFrame & | , | ||
void | |||
) |
Definition at line 888 of file glossary.cxx.
|
static |