|
LibreOffice Module sw (master) 1
|
#include <sal/config.h>#include <com/sun/star/frame/XModel.hpp>#include <com/sun/star/frame/XTitle.hpp>#include <svl/eitem.hxx>#include <svl/stritem.hxx>#include <sfx2/printer.hxx>#include <sfx2/request.hxx>#include <svl/macitem.hxx>#include <gloshdl.hxx>#include <editeng/acorrcfg.hxx>#include <sfx2/objface.hxx>#include <sfx2/viewfrm.hxx>#include <wrtsh.hxx>#include <view.hxx>#include <glshell.hxx>#include <doc.hxx>#include <IDocumentUndoRedo.hxx>#include <IDocumentDeviceAccess.hxx>#include <IDocumentState.hxx>#include <glosdoc.hxx>#include <shellio.hxx>#include <initui.hxx>#include <cmdid.h>#include <strings.hrc>#include <sfx2/msg.hxx>#include <swslots.hxx>#include <memory>#include <utility>Go to the source code of this file.
Macros | |
| #define | ShellClass_SwWebGlosDocShell |
| #define | ShellClass_SwGlosDocShell |
Functions | |
| static void | lcl_Execute (SwDocShell &rSh, SfxRequest &rReq) |
| static void | lcl_GetState (SwDocShell &rSh, SfxItemSet &rSet) |
| static bool | lcl_Save (SwWrtShell &rSh, const OUString &rGroupName, const OUString &rShortNm, const OUString &rLongNm) |
| #define ShellClass_SwGlosDocShell |
Definition at line 48 of file glshell.cxx.
| #define ShellClass_SwWebGlosDocShell |
Definition at line 47 of file glshell.cxx.
|
static |
Definition at line 70 of file glshell.cxx.
References SfxShell::ExecuteSlot(), SwDocShell::GetDoc(), SwDoc::getIDocumentState(), SfxRequest::GetSlot(), SfxBoolItem::GetValue(), SfxObjectShell::HasName(), IDocumentState::ResetModified(), SwDocShell::Save(), and SfxRequest::SetReturnValue().
Referenced by SwGlosDocShell::Execute(), and SwWebGlosDocShell::Execute().
|
static |
Definition at line 89 of file glshell.cxx.
References SfxItemSet::DisableItem(), SwDocShell::GetDoc(), SwDoc::getIDocumentState(), SfxItemSet::GetItemState(), IDocumentState::IsModified(), SfxItemSet::Put(), rSet, and SwResId().
Referenced by SwGlosDocShell::GetState(), and SwWebGlosDocShell::GetState().
|
static |
Definition at line 100 of file glshell.cxx.
References SwWrtShell::EnterStdMode(), SvxAutoCorrCfg::Get(), SwView::GetGlosHdl(), GetGlossaries(), SwGlossaryHdl::GetMacros(), SwWrtShell::GetView(), SvxMacro::HasMacro(), SvxAutoCorrCfg::IsSaveRelFile(), SwEditShell::ResetModified(), SwEditShell::SaveGlossaryDoc(), and SwGlossaryHdl::SetMacros().
Referenced by SwGlosDocShell::Save(), and SwWebGlosDocShell::Save().