LibreOffice Module sw (master)  1
Classes | Macros | Enumerations | Functions | Variables
glbltree.cxx File Reference
#include <svl/stritem.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/urihelper.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/docfilt.hxx>
#include <vcl/help.hxx>
#include <sot/filelist.hxx>
#include <svl/eitem.hxx>
#include <svl/urlbmk.hxx>
#include <svx/svxids.hrc>
#include <vcl/graphicfilter.hxx>
#include <vcl/settings.hxx>
#include <vcl/treelistentry.hxx>
#include <sfx2/docinsert.hxx>
#include <sfx2/filedlghelper.hxx>
#include <sfx2/app.hxx>
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <content.hxx>
#include <edglbldc.hxx>
#include <section.hxx>
#include <tox.hxx>
#include <cnttab.hxx>
#include <navipi.hxx>
#include <navicont.hxx>
#include <edtwin.hxx>
#include <uitool.hxx>
#include <toxmgr.hxx>
#include <cmdid.h>
#include <helpids.h>
#include <strings.hrc>
#include <globals.hrc>
#include <bitmaps.hlst>
#include <swabstdlg.hxx>
#include <memory>
Include dependency graph for glbltree.cxx:

Go to the source code of this file.

Classes

class  SwGlobalFrameListener_Impl
 

Macros

#define CTX_INSERT_ANY_INDEX   10
 
#define CTX_INSERT_FILE   11
 
#define CTX_INSERT_NEW_FILE   12
 
#define CTX_INSERT_TEXT   13
 
#define CTX_UPDATE_SEL   20
 
#define CTX_UPDATE_INDEX   21
 
#define CTX_UPDATE_LINK   22
 
#define CTX_UPDATE_ALL   23
 
#define CTX_UPDATE   1
 
#define CTX_INSERT   2
 
#define CTX_EDIT   3
 
#define CTX_DELETE   4
 
#define CTX_EDIT_LINK   5
 
#define GLOBAL_UPDATE_TIMEOUT   2000
 
#define GLBL_TABPOS_SUB   5
 

Enumerations

enum  GLOBAL_CONTEXT_IDX {
  IDX_STR_UPDATE = 0,
  IDX_STR_EDIT_CONTENT = 1,
  IDX_STR_EDIT_INSERT = 2,
  IDX_STR_INDEX = 3,
  IDX_STR_FILE = 4,
  IDX_STR_NEW_FILE = 5,
  IDX_STR_INSERT_TEXT = 6,
  IDX_STR_DELETE = 7,
  IDX_STR_UPDATE_SEL = 8,
  IDX_STR_UPDATE_INDEX = 9,
  IDX_STR_UPDATE_LINK = 10,
  IDX_STR_UPDATE_ALL = 11,
  IDX_STR_BROKEN_LINK = 12,
  IDX_STR_EDIT_LINK = 13
}
 

Functions

 IMPL_LINK (SwGlobalTree, PopupHdl, Menu *, pMenu, bool)
 
 IMPL_LINK_NOARG (SwGlobalTree, Timeout, Timer *, void)
 
 IMPL_LINK_NOARG (SwGlobalTree, DoubleClickHdl, SvTreeListBox *, bool)
 
 IMPL_STATIC_LINK_NOARG (SwGlobalTree, ShowFrameHdl, void *, void)
 
 IMPL_LINK (SwGlobalTree, DialogClosedHdl, sfx2::FileDialogHelper *, _pFileDlg, void)
 

Variables

static const char * aHelpForMenu []
 
static const char * GLOBAL_CONTEXT_ARY []
 

Macro Definition Documentation

#define CTX_DELETE   4
#define CTX_EDIT   3
#define CTX_EDIT_LINK   5
#define CTX_INSERT   2

Definition at line 78 of file glbltree.cxx.

Referenced by SwGlobalTree::CreateContextMenu().

#define CTX_INSERT_ANY_INDEX   10
#define CTX_INSERT_FILE   11
#define CTX_INSERT_NEW_FILE   12
#define CTX_INSERT_TEXT   13
#define CTX_UPDATE   1
#define CTX_UPDATE_ALL   23
#define CTX_UPDATE_INDEX   21

Definition at line 73 of file glbltree.cxx.

Referenced by SwGlobalTree::ExecuteContextMenuAction().

#define CTX_UPDATE_LINK   22

Definition at line 74 of file glbltree.cxx.

Referenced by SwGlobalTree::ExecuteContextMenuAction().

#define CTX_UPDATE_SEL   20
#define GLBL_TABPOS_SUB   5

Definition at line 86 of file glbltree.cxx.

Referenced by SwGlobalTree::GetTabPos().

#define GLOBAL_UPDATE_TIMEOUT   2000

Definition at line 83 of file glbltree.cxx.

Referenced by SwGlobalTree::SwGlobalTree().

Enumeration Type Documentation

Enumerator
IDX_STR_UPDATE 
IDX_STR_EDIT_CONTENT 
IDX_STR_EDIT_INSERT 
IDX_STR_INDEX 
IDX_STR_FILE 
IDX_STR_NEW_FILE 
IDX_STR_INSERT_TEXT 
IDX_STR_DELETE 
IDX_STR_UPDATE_SEL 
IDX_STR_UPDATE_INDEX 
IDX_STR_UPDATE_LINK 
IDX_STR_UPDATE_ALL 
IDX_STR_BROKEN_LINK 
IDX_STR_EDIT_LINK 

Definition at line 138 of file glbltree.cxx.

Function Documentation

IMPL_LINK ( SwGlobalTree  ,
PopupHdl  ,
Menu ,
pMenu  ,
bool   
)

Definition at line 788 of file glbltree.cxx.

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

Definition at line 1356 of file glbltree.cxx.

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

IMPL_LINK_NOARG ( SwGlobalTree  ,
Timeout  ,
Timer ,
void   
)

Definition at line 1021 of file glbltree.cxx.

References Update.

IMPL_LINK_NOARG ( SwGlobalTree  ,
DoubleClickHdl  ,
SvTreeListBox ,
bool   
)
IMPL_STATIC_LINK_NOARG ( SwGlobalTree  ,
ShowFrameHdl  ,
void ,
void   
)

Variable Documentation

const char* aHelpForMenu[]
static
Initial value:
=
{
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
#define HID_GLBLTREE_INSERT
Definition: helpids.h:43
#define HID_GLBLTREE_UPD_LINK
Definition: helpids.h:52
#define HID_GLBLTREE_INS_NEW_FILE
Definition: helpids.h:48
#define HID_GLBLTREE_DEL
Definition: helpids.h:45
#define HID_GLBLTREE_EDIT_LINK
Definition: helpids.h:55
#define HID_GLBLTREE_INS_IDX
Definition: helpids.h:46
#define HID_GLBLTREE_UPDATE
Definition: helpids.h:42
#define HID_GLBLTREE_UPD_IDX
Definition: helpids.h:51
#define HID_GLBLTREE_UPD_SEL
Definition: helpids.h:50
#define HID_GLBLTREE_INS_FILE
Definition: helpids.h:47
#define HID_GLBLTREE_EDIT
Definition: helpids.h:44
#define HID_GLBLTREE_INS_TEXT
Definition: helpids.h:49
#define HID_GLBLTREEUPD_ALL
Definition: helpids.h:53

Definition at line 89 of file glbltree.cxx.

Referenced by SwGlobalTree::CreateContextMenu(), and SwGlobalTree::TbxMenuHdl().

const char* GLOBAL_CONTEXT_ARY[]
static
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 156 of file glbltree.cxx.

Referenced by SwGlobalTree::SwGlobalTree().