LibreOffice Module sw (master)  1
Classes | Macros | Enumerations | Functions | Variables
content.cxx File Reference
#include <comphelper/string.hxx>
#include <svl/urlbmk.hxx>
#include <osl/thread.h>
#include <sal/log.hxx>
#include <tools/urlobj.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/event.hxx>
#include <sfx2/viewfrm.hxx>
#include <o3tl/enumrange.hxx>
#include <o3tl/sorted_vector.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/help.hxx>
#include <vcl/settings.hxx>
#include <vcl/weldutils.hxx>
#include <sot/formats.hxx>
#include <uiitems.hxx>
#include <fmtinfmt.hxx>
#include <txtinet.hxx>
#include <fmtfld.hxx>
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <drawdoc.hxx>
#include <content.hxx>
#include <frmfmt.hxx>
#include <fldbas.hxx>
#include <IMark.hxx>
#include <section.hxx>
#include <tox.hxx>
#include <navipi.hxx>
#include <navicont.hxx>
#include <navicfg.hxx>
#include <edtwin.hxx>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentOutlineNodes.hxx>
#include <unotxvw.hxx>
#include <cmdid.h>
#include <helpids.h>
#include <strings.hrc>
#include <com/sun/star/text/XTextSectionsSupplier.hpp>
#include <com/sun/star/text/XTextGraphicObjectsSupplier.hpp>
#include <com/sun/star/text/XTextTablesSupplier.hpp>
#include <com/sun/star/text/XDocumentIndexesSupplier.hpp>
#include <com/sun/star/text/XDocumentIndex.hpp>
#include <com/sun/star/text/XBookmarksSupplier.hpp>
#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp>
#include <com/sun/star/text/XTextFramesSupplier.hpp>
#include <dcontact.hxx>
#include <svx/svdpage.hxx>
#include <svx/svdview.hxx>
#include <SwRewriter.hxx>
#include <hints.hxx>
#include <numrule.hxx>
#include <swundo.hxx>
#include <ndtxt.hxx>
#include <PostItMgr.hxx>
#include <postithelper.hxx>
#include <swabstdlg.hxx>
#include <bitmaps.hlst>
#include <navmgr.hxx>
#include <AnnotationWin.hxx>
#include <memory>
#include <fmtcntnt.hxx>
#include <docstat.hxx>
#include <viewopt.hxx>
Include dependency graph for content.cxx:

Go to the source code of this file.

Classes

class  SwContentArr
 

Macros

#define CTYPE_CNT   0
 
#define CTYPE_CTT   1
 

Enumerations

enum  STR_CONTEXT_IDX
 

Functions

 IMPL_LINK (SwContentTree, DragBeginHdl, bool &, rUnsetDragIcon, bool)
 
static voidlcl_GetOutlineKey (SwContentTree &rTree, SwOutlineContent const *pContent)
 
static bool lcl_InsertExpandCollapseAllItem (const weld::TreeView &rContentTree, const weld::TreeIter &rEntry, weld::Menu &rPop)
 
static void lcl_SetOutlineContentEntriesSensitivities (SwContentTree *pThis, const weld::TreeView &rContentTree, const weld::TreeIter &rEntry, weld::Menu &rPop)
 
 IMPL_LINK (SwContentTree, CommandHdl, const CommandEvent &, rCEvt, bool)
 
 IMPL_LINK (SwContentTree, ExpandHdl, const weld::TreeIter &, rParent, bool)
 
 IMPL_LINK (SwContentTree, CollapseHdl, const weld::TreeIter &, rParent, bool)
 
 IMPL_LINK_NOARG (SwContentTree, ContentDoubleClickHdl, weld::TreeView &, bool)
 
static void lcl_SelectByContentTypeAndName (SwContentTree *pThis, weld::TreeView &rContentTree, const OUString &rContentTypeName, const OUString &rName)
 
 IMPL_LINK_NOARG (SwContentTree, TimerUpdate, Timer *, void)
 No idle with focus or while dragging. More...
 
 IMPL_LINK_NOARG (SwContentTree, FocusHdl, weld::Widget &, void)
 
 IMPL_LINK (SwContentTree, KeyInputHdl, const KeyEvent &, rEvent, bool)
 
 IMPL_LINK (SwContentTree, QueryTooltipHdl, const weld::TreeIter &, rEntry, OUString)
 
 IMPL_LINK_NOARG (SwContentTree, SelectHdl, weld::TreeView &, void)
 

Variables

static const char * STR_CONTENT_TYPE_ARY []
 
static const char * STR_CONTENT_TYPE_SINGLE_ARY []
 
static const char * STR_CONTEXT_ARY []
 

Macro Definition Documentation

#define CTYPE_CNT   0

Definition at line 94 of file content.cxx.

#define CTYPE_CTT   1

Definition at line 95 of file content.cxx.

Enumeration Type Documentation

Definition at line 846 of file content.cxx.

Function Documentation

IMPL_LINK ( SwContentTree  ,
DragBeginHdl  ,
bool &  ,
rUnsetDragIcon  ,
bool   
)

Definition at line 951 of file content.cxx.

References DND_ACTION_COPYMOVE, DND_ACTION_LINK, m_xTreeView, and OUTLINE.

IMPL_LINK ( SwContentTree  ,
CommandHdl  ,
const CommandEvent ,
rCEvt  ,
bool   
)
IMPL_LINK ( SwContentTree  ,
ExpandHdl  ,
const weld::TreeIter ,
rParent  ,
bool   
)

Definition at line 1809 of file content.cxx.

References Expand.

IMPL_LINK ( SwContentTree  ,
CollapseHdl  ,
const weld::TreeIter ,
rParent  ,
bool   
)
IMPL_LINK ( SwContentTree  ,
KeyInputHdl  ,
const KeyEvent ,
rEvent  ,
bool   
)
IMPL_LINK ( SwContentTree  ,
QueryTooltipHdl  ,
const weld::TreeIter ,
rEntry  ,
OUString   
)
IMPL_LINK_NOARG ( SwContentTree  ,
ContentDoubleClickHdl  ,
weld::TreeView ,
bool   
)

Definition at line 1859 of file content.cxx.

References assert(), SwPostItHelper::HIDDEN, m_xTreeView, and OUTLINE.

IMPL_LINK_NOARG ( SwContentTree  ,
TimerUpdate  ,
Timer ,
void   
)

No idle with focus or while dragging.

Definition at line 3131 of file content.cxx.

References SwViewShell::ActionPend(), SwViewShell::GetWin(), SwView::GetWrtShellPtr(), and vcl::Window::HasFocus().

IMPL_LINK_NOARG ( SwContentTree  ,
FocusHdl  ,
weld::Widget ,
void   
)

Definition at line 3421 of file content.cxx.

References SwView::GetWrtShellPtr().

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

Definition at line 3977 of file content.cxx.

References Select.

static void* lcl_GetOutlineKey ( SwContentTree rTree,
SwOutlineContent const *  pContent 
)
static
static bool lcl_InsertExpandCollapseAllItem ( const weld::TreeView rContentTree,
const weld::TreeIter rEntry,
weld::Menu rPop 
)
static
static void lcl_SelectByContentTypeAndName ( SwContentTree pThis,
weld::TreeView rContentTree,
const OUString &  rContentTypeName,
const OUString &  rName 
)
static
static void lcl_SetOutlineContentEntriesSensitivities ( SwContentTree pThis,
const weld::TreeView rContentTree,
const weld::TreeIter rEntry,
weld::Menu rPop 
)
static

Variable Documentation

const char* STR_CONTENT_TYPE_ARY[]
static
Initial value:
=
{
STR_CONTENT_TYPE_OUTLINE,
STR_CONTENT_TYPE_TABLE,
STR_CONTENT_TYPE_FRAME,
STR_CONTENT_TYPE_GRAPHIC,
STR_CONTENT_TYPE_OLE,
STR_CONTENT_TYPE_BOOKMARK,
STR_CONTENT_TYPE_REGION,
STR_CONTENT_TYPE_URLFIELD,
STR_CONTENT_TYPE_REFERENCE,
STR_CONTENT_TYPE_INDEX,
STR_CONTENT_TYPE_POSTIT,
STR_CONTENT_TYPE_DRAWOBJECT
}

Definition at line 212 of file content.cxx.

const char* STR_CONTENT_TYPE_SINGLE_ARY[]
static
Initial value:
=
{
STR_CONTENT_TYPE_SINGLE_OUTLINE,
STR_CONTENT_TYPE_SINGLE_TABLE,
STR_CONTENT_TYPE_SINGLE_FRAME,
STR_CONTENT_TYPE_SINGLE_GRAPHIC,
STR_CONTENT_TYPE_SINGLE_OLE,
STR_CONTENT_TYPE_SINGLE_BOOKMARK,
STR_CONTENT_TYPE_SINGLE_REGION,
STR_CONTENT_TYPE_SINGLE_URLFIELD,
STR_CONTENT_TYPE_SINGLE_REFERENCE,
STR_CONTENT_TYPE_SINGLE_INDEX,
STR_CONTENT_TYPE_SINGLE_POSTIT,
STR_CONTENT_TYPE_SINGLE_DRAWOBJECT
}

Definition at line 228 of file content.cxx.

const char* STR_CONTEXT_ARY[]
static
Initial value:
=
{
STR_OUTLINE_LEVEL,
STR_DRAGMODE,
STR_HYPERLINK,
STR_LINK_REGION,
STR_COPY_REGION,
STR_DISPLAY,
STR_ACTIVE_VIEW,
STR_HIDDEN,
STR_ACTIVE,
STR_INACTIVE,
STR_EDIT_ENTRY,
STR_DELETE_ENTRY,
STR_SEND_OUTLINE_TO_CLIPBOARD_ENTRY,
STR_OUTLINE_TRACKING,
STR_OUTLINE_TRACKING_DEFAULT,
STR_OUTLINE_TRACKING_FOCUS,
STR_OUTLINE_TRACKING_OFF
}

Definition at line 869 of file content.cxx.