LibreOffice Module sc (master)  1
Functions | Variables
content.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <svx/svditer.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdview.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/viewfrm.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/help.hxx>
#include <vcl/svapp.hxx>
#include <tools/urlobj.hxx>
#include <sal/log.hxx>
#include <unotools/charclass.hxx>
#include <content.hxx>
#include <navipi.hxx>
#include <global.hxx>
#include <docsh.hxx>
#include <scmod.hxx>
#include <rangenam.hxx>
#include <dbdata.hxx>
#include <tablink.hxx>
#include <drwlayer.hxx>
#include <transobj.hxx>
#include <drwtrans.hxx>
#include <lnktrans.hxx>
#include <strings.hrc>
#include <scresid.hxx>
#include <bitmaps.hlst>
#include <arealink.hxx>
#include <navicfg.hxx>
#include <navsett.hxx>
#include <postit.hxx>
#include <tabvwsh.hxx>
#include <drawview.hxx>
#include <clipparam.hxx>
#include <markdata.hxx>
Include dependency graph for content.cxx:

Go to the source code of this file.

Functions

static OUString lcl_GetDBAreaRange (const ScDocument *pDoc, const OUString &rDBName)
 
 IMPL_LINK_NOARG (ScContentTree, ContentDoubleClickHdl, weld::TreeView &, bool)
 
 IMPL_LINK_NOARG (ScContentTree, MouseReleaseHdl, const MouseEvent &, bool)
 
 IMPL_LINK_NOARG (ScContentTree, AsyncStoreNavigatorSettings, void *, void)
 
 IMPL_LINK (ScContentTree, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
 IMPL_LINK (ScContentTree, CommandHdl, const CommandEvent &, rCEvt, bool)
 
 IMPL_LINK (ScContentTree, QueryTooltipHdl, const weld::TreeIter &, rEntry, OUString)
 
static OUString lcl_NoteString (const ScPostIt &rNote)
 
static bool lcl_GetRange (const ScDocument *pDoc, ScContentId nType, const OUString &rName, ScRange &rRange)
 
static bool lcl_DoDragObject (ScDocShell *pSrcShell, const OUString &rName, ScContentId nType, weld::TreeView &rTreeView)
 
static bool lcl_DoDragCells (ScDocShell *pSrcShell, const ScRange &rRange, ScDragSrc nFlags, weld::TreeView &rTreeView)
 
 IMPL_LINK (ScContentTree, DragBeginHdl, bool &, rUnsetDragIcon, bool)
 

Variables

const ScContentId pTypeList [int(ScContentId::LAST)+1]
 
const std::u16string_view aContentBmps []
 
static const char * SCSTR_CONTENT_ARY []
 

Function Documentation

IMPL_LINK ( ScContentTree  ,
KeyInputHdl  ,
const KeyEvent ,
rKEvt  ,
bool   
)
IMPL_LINK ( ScContentTree  ,
CommandHdl  ,
const CommandEvent ,
rCEvt  ,
bool   
)
IMPL_LINK ( ScContentTree  ,
QueryTooltipHdl  ,
const weld::TreeIter ,
rEntry  ,
OUString   
)

Definition at line 613 of file content.cxx.

References AREALINK, ScAreaLink::GetFile(), m_xTreeView, nIndex, NOTE, pLink, and SC_CONTENT_NOCHILD.

IMPL_LINK ( ScContentTree  ,
DragBeginHdl  ,
bool &  ,
rUnsetDragIcon  ,
bool   
)
IMPL_LINK_NOARG ( ScContentTree  ,
ContentDoubleClickHdl  ,
weld::TreeView ,
bool   
)
IMPL_LINK_NOARG ( ScContentTree  ,
MouseReleaseHdl  ,
const MouseEvent ,
bool   
)

Definition at line 396 of file content.cxx.

IMPL_LINK_NOARG ( ScContentTree  ,
AsyncStoreNavigatorSettings  ,
void ,
void   
)

Definition at line 402 of file content.cxx.

static bool lcl_DoDragCells ( ScDocShell pSrcShell,
const ScRange rRange,
ScDragSrc  nFlags,
weld::TreeView rTreeView 
)
static
static bool lcl_DoDragObject ( ScDocShell pSrcShell,
const OUString &  rName,
ScContentId  nType,
weld::TreeView rTreeView 
)
static
static OUString lcl_GetDBAreaRange ( const ScDocument pDoc,
const OUString &  rDBName 
)
static
static bool lcl_GetRange ( const ScDocument pDoc,
ScContentId  nType,
const OUString &  rName,
ScRange rRange 
)
static
static OUString lcl_NoteString ( const ScPostIt rNote)
static

Definition at line 976 of file content.cxx.

References ScPostIt::GetText().

Referenced by ScContentTree::GetNoteStrings(), and ScContentTree::NoteStringsChanged().

Variable Documentation

const std::u16string_view aContentBmps[]
Initial value:
=
{
u"" RID_BMP_CONTENT_TABLE,
u"" RID_BMP_CONTENT_RANGENAME,
u"" RID_BMP_CONTENT_DBAREA,
u"" RID_BMP_CONTENT_GRAPHIC,
u"" RID_BMP_CONTENT_OLEOBJECT,
u"" RID_BMP_CONTENT_NOTE,
u"" RID_BMP_CONTENT_AREALINK,
u"" RID_BMP_CONTENT_DRAWING
}
float u

Definition at line 78 of file content.cxx.

Referenced by ScContentTree::InitRoot().

const ScContentId pTypeList[int(ScContentId::LAST)+1]
const char* SCSTR_CONTENT_ARY[]
static
Initial value:
=
{
SCSTR_CONTENT_ROOT,
SCSTR_CONTENT_TABLE,
SCSTR_CONTENT_RANGENAME,
SCSTR_CONTENT_DBAREA,
SCSTR_CONTENT_GRAPHIC,
SCSTR_CONTENT_OLEOBJECT,
SCSTR_CONTENT_NOTE,
SCSTR_CONTENT_AREALINK,
SCSTR_CONTENT_DRAWING
}

Definition at line 162 of file content.cxx.

Referenced by ScContentTree::InitRoot().