LibreOffice Module sw (master) 1
Macros | Functions | Variables
glbltree.cxx File Reference
#include <o3tl/safeint.hxx>
#include <svl/stritem.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/docfilt.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/event.hxx>
#include <sot/filelist.hxx>
#include <svl/eitem.hxx>
#include <vcl/graphicfilter.hxx>
#include <osl/diagnose.h>
#include <sfx2/docinsert.hxx>
#include <sfx2/filedlghelper.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <edglbldc.hxx>
#include <section.hxx>
#include <tox.hxx>
#include <navipi.hxx>
#include <edtwin.hxx>
#include <toxmgr.hxx>
#include <cmdid.h>
#include <helpids.h>
#include <strings.hrc>
#include <bitmaps.hlst>
#include <swabstdlg.hxx>
#include <memory>
#include <sfx2/event.hxx>
#include <unotxvw.hxx>
Include dependency graph for glbltree.cxx:

Go to the source code of this file.

Macros

#define GLOBAL_UPDATE_TIMEOUT   2000
 

Functions

 IMPL_LINK (SwGlobalTree, CommandHdl, const CommandEvent &, rCEvt, bool)
 
 IMPL_LINK (SwGlobalTree, QueryTooltipHdl, const weld::TreeIter &, rIter, OUString)
 
 IMPL_LINK_NOARG (SwGlobalTree, SelectHdl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (SwGlobalTree, FocusInHdl, weld::Widget &, void)
 
 IMPL_LINK (SwGlobalTree, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
 IMPL_LINK_NOARG (SwGlobalTree, Timeout, Timer *, void)
 
 IMPL_LINK_NOARG (SwGlobalTree, DoubleClickHdl, weld::TreeView &, bool)
 
 IMPL_STATIC_LINK_NOARG (SwGlobalTree, ShowFrameHdl, void *, void)
 
 IMPL_LINK (SwGlobalTree, DialogClosedHdl, sfx2::FileDialogHelper *, _pFileDlg, void)
 

Variables

const TranslateId GLOBAL_CONTEXT_ARY []
 

Macro Definition Documentation

◆ GLOBAL_UPDATE_TIMEOUT

#define GLOBAL_UPDATE_TIMEOUT   2000

Definition at line 60 of file glbltree.cxx.

Function Documentation

◆ IMPL_LINK() [1/4]

IMPL_LINK ( SwGlobalTree  ,
CommandHdl  ,
const CommandEvent ,
rCEvt  ,
bool   
)

◆ IMPL_LINK() [2/4]

IMPL_LINK ( SwGlobalTree  ,
DialogClosedHdl  ,
sfx2::FileDialogHelper ,
_pFileDlg  ,
void   
)

Definition at line 1097 of file glbltree.cxx.

References sfx2::cTokenSeparator, ERRCODE_NONE, nPos, and INetURLObject::Unambiguous.

◆ IMPL_LINK() [3/4]

IMPL_LINK ( SwGlobalTree  ,
KeyInputHdl  ,
const KeyEvent ,
rKEvt  ,
bool   
)

◆ IMPL_LINK() [4/4]

IMPL_LINK ( SwGlobalTree  ,
QueryTooltipHdl  ,
const weld::TreeIter ,
rIter  ,
OUString   
)

◆ IMPL_LINK_NOARG() [1/4]

IMPL_LINK_NOARG ( SwGlobalTree  ,
DoubleClickHdl  ,
weld::TreeView ,
bool   
)

Definition at line 983 of file glbltree.cxx.

References SwGlblDocContent::GetType(), GLBLDOC_SECTION, and OpenDoc.

◆ IMPL_LINK_NOARG() [2/4]

IMPL_LINK_NOARG ( SwGlobalTree  ,
FocusInHdl  ,
weld::Widget ,
void   
)

Definition at line 408 of file glbltree.cxx.

References Update.

◆ IMPL_LINK_NOARG() [3/4]

IMPL_LINK_NOARG ( SwGlobalTree  ,
SelectHdl  ,
weld::TreeView ,
void   
)

Definition at line 372 of file glbltree.cxx.

References Select.

◆ IMPL_LINK_NOARG() [4/4]

IMPL_LINK_NOARG ( SwGlobalTree  ,
Timeout  ,
Timer ,
void   
)

Definition at line 778 of file glbltree.cxx.

References SwView::GetEditWin(), vcl::Window::HasFocus(), and Update.

◆ IMPL_STATIC_LINK_NOARG()

IMPL_STATIC_LINK_NOARG ( SwGlobalTree  ,
ShowFrameHdl  ,
void *  ,
void   
)

Variable Documentation

◆ GLOBAL_CONTEXT_ARY

const TranslateId GLOBAL_CONTEXT_ARY[]
Initial value:
=
{
STR_UPDATE,
STR_EDIT_CONTENT,
STR_EDIT_INSERT,
STR_INDEX,
STR_FILE,
STR_NEW_FILE,
STR_INSERT_TEXT,
STR_DELETE,
STR_UPDATE_SEL,
STR_UPDATE_INDEX,
STR_UPDATE_LINK,
STR_UPDATE_ALL,
STR_BROKEN_LINK,
STR_EDIT_LINK
}

Definition at line 111 of file glbltree.cxx.

Referenced by SwGlobalTree::SwGlobalTree().