|
LibreOffice Module sc (master) 1
|
#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/svapp.hxx>#include <osl/diagnose.h>#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>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 &rDoc, ScContentId nType, const OUString &rName, ScRange &rRange) |
| static bool | lcl_DoDragObject (ScDocShell *pSrcShell, std::u16string_view 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] |
| constexpr rtl::OUStringConstExpr | aContentBmps [] |
| const TranslateId | SCSTR_CONTENT_ARY [] |
| constexpr int | MAX_TREE_NODES = 1000 |
| IMPL_LINK | ( | ScContentTree | , |
| CommandHdl | , | ||
| const CommandEvent & | , | ||
| rCEvt | , | ||
| bool | |||
| ) |
Definition at line 531 of file content.cxx.
References aName, Application::CreateBuilder(), SfxObjectShell::Current(), SfxObjectShell::GetFirst(), SfxObjectShell::GetNext(), SfxObjectShell::GetTitle(), i, and sId.
| IMPL_LINK | ( | ScContentTree | , |
| DragBeginHdl | , | ||
| bool & | , | ||
| rUnsetDragIcon | , | ||
| bool | |||
| ) |
Definition at line 1194 of file content.cxx.
References AREALINK, aURL, DBAREA, DND_ACTION_COPY, DND_ACTION_LINK, DRAWING, ScDocShell::GetDocument(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), ScDocument::GetTable(), GRAPHIC, SfxObjectShell::HasName(), lcl_DoDragCells(), lcl_DoDragObject(), lcl_GetRange(), ScDocument::MaxCol(), ScDocument::MaxRow(), Navigator, NOTE, nType, OLEOBJECT, RANGENAME, ROOT, SC_CONTENT_NOCHILD, SC_DROPMODE_COPY, SC_DROPMODE_LINK, SC_DROPMODE_URL, SC_MOD, ScModule::SetDragJump(), ScModule::SetDragLink(), TABLE, and Table.
| IMPL_LINK | ( | ScContentTree | , |
| KeyInputHdl | , | ||
| const KeyEvent & | , | ||
| rKEvt | , | ||
| bool | |||
| ) |
later...
Definition at line 418 of file content.cxx.
References DRAWING, vcl::KeyCode::GetCode(), vcl::KeyCode::GetModifier(), ScDrawView::GetObjectByName(), ScDrawView::GetObjectIsMarked(), ScViewData::GetScDrawView(), ScNavigatorDlg::GetTabViewShell(), ScTabView::GetViewData(), GRAPHIC, KEY_F5, KEY_MOD1, KEY_RETURN, KEY_SPACE, nType, OLEOBJECT, ROOT, SC_CONTENT_NOCHILD, ScDrawView::SelectCurrentViewObject(), and ScTabViewShell::SetDrawShell().
| IMPL_LINK | ( | ScContentTree | , |
| QueryTooltipHdl | , | ||
| const weld::TreeIter & | , | ||
| rEntry | , | ||
| OUString | |||
| ) |
Definition at line 621 of file content.cxx.
References AREALINK, nIndex, NOTE, pLink, and SC_CONTENT_NOCHILD.
| IMPL_LINK_NOARG | ( | ScContentTree | , |
| AsyncStoreNavigatorSettings | , | ||
| void * | , | ||
| void | |||
| ) |
Definition at line 412 of file content.cxx.
| IMPL_LINK_NOARG | ( | ScContentTree | , |
| ContentDoubleClickHdl | , | ||
| weld::TreeView & | , | ||
| bool | |||
| ) |
later...
Definition at line 318 of file content.cxx.
References AREALINK, ScAddress::Col(), DBAREA, DRAWING, ScRange::Format(), ScDocument::GetAddressConvention(), GRAPHIC, lcl_GetDBAreaRange(), NOTE, nType, OLEOBJECT, pLink, RANGE_ABS_3D, RANGENAME, ScNavigatorDlg::ReleaseFocus(), ROOT, ScAddress::Row(), SC_CONTENT_NOCHILD, ScAddress::Tab(), and TABLE.
| IMPL_LINK_NOARG | ( | ScContentTree | , |
| MouseReleaseHdl | , | ||
| const MouseEvent & | , | ||
| bool | |||
| ) |
Definition at line 406 of file content.cxx.
|
static |
Definition at line 1155 of file content.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDocument::CopyToClip(), DND_ACTION_COPY, DND_ACTION_LINK, weld::TreeView::enable_drag_source(), SfxObjectShell::FillTransferableObjectDescriptor(), ScDocShell::GetDocument(), SfxObjectShell::GetMedium(), ScDocument::GetSheetLimits(), INetURLObject::GetURLNoPass(), SfxMedium::GetURLObject(), ScDocument::HasSelectedBlockMatrixFragment(), TransferableObjectDescriptor::maDisplayName, ScAddress::Row(), SC_MOD, SCDOCMODE_CLIP, ScMarkData::SelectTable(), ScMarkData::SetMarkArea(), and ScAddress::Tab().
Referenced by IMPL_LINK().
|
static |
Definition at line 1097 of file content.cxx.
References SdrExchangeView::CreateMarkedObjModel(), DND_ACTION_COPY, DND_ACTION_LINK, weld::TreeView::enable_drag_source(), SfxObjectShell::FillTransferableObjectDescriptor(), tools::SvRef< typename T >::get(), ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), SfxObjectShell::GetMedium(), SdrPaintView::GetModel(), ScDrawLayer::GetNamedObject(), SdrModel::GetPage(), SdrPaintView::GetSdrPageView(), INetURLObject::GetURLNoPass(), SfxMedium::GetURLObject(), GRAPHIC, TransferableObjectDescriptor::maDisplayName, SdrMarkView::MarkObj(), Navigator, nType, OLEOBJECT, pObject, SC_MOD, ScDrawLayer::SetGlobalDrawPersist(), and SdrObjEditView::ShowSdrPage().
Referenced by IMPL_LINK().
|
static |
Definition at line 301 of file content.cxx.
References ScDBCollection::NamedDBs::findByUpperName(), ScRange::Format(), ScGlobal::getCharClass(), ScDocument::GetDBCollection(), ScDBCollection::getNamedDBs(), pData, and RANGE_ABS_3D.
Referenced by IMPL_LINK_NOARG().
|
static |
Definition at line 1062 of file content.cxx.
References DBAREA, ScDBCollection::NamedDBs::findByUpperName(), ScRangeName::findByUpperName(), ScGlobal::getCharClass(), ScDocument::GetDBCollection(), ScDBCollection::getNamedDBs(), ScDocument::GetRangeName(), nType, p, and RANGENAME.
Referenced by IMPL_LINK().
|
static |
Definition at line 941 of file content.cxx.
References ScPostIt::GetText().
Referenced by ScContentTree::GetNoteStrings(), and ScContentTree::NoteStringsChanged().
|
constexpr |
Definition at line 78 of file content.cxx.
Referenced by ScContentTree::InitRoot().
|
constexpr |
Definition at line 816 of file content.cxx.
Referenced by ScContentTree::GetDrawNames().
| const ScContentId pTypeList[int(ScContentId::LAST)+1] |
Definition at line 65 of file content.cxx.
Referenced by ScContentTree::ScContentTree().
| const TranslateId SCSTR_CONTENT_ARY[] |
Definition at line 166 of file content.cxx.
Referenced by ScContentTree::InitRoot().