LibreOffice Module sd (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
SdPageObjsTLV Class Reference

#include <sdtreelb.hxx>

Collaboration diagram for SdPageObjsTLV:
[legend]

Classes

class  SdPageObjsTransferable
 

Public Member Functions

 SdPageObjsTLV (std::unique_ptr< weld::TreeView > xTreeview)
 
 ~SdPageObjsTLV ()
 
bool IsEditingActive () const
 
void start_editing ()
 
void set_sensitive (bool bSensitive)
 
void hide ()
 
void show ()
 
void grab_focus ()
 
void set_size_request (int nWidth, int nHeight)
 
float get_approximate_digit_width () const
 
 DECL_LINK (MousePressHdl, const MouseEvent &, bool)
 
 DECL_LINK (MouseReleaseHdl, const MouseEvent &, bool)
 
void Select ()
 
int get_height_rows (int nRows) const
 
void set_selection_mode (SelectionMode eMode)
 
SelectionMode get_selection_mode () const
 
void connect_row_activated (const Link< weld::TreeView &, bool > &rLink)
 
void connect_key_press (const Link< const KeyEvent &, bool > &rLink)
 
void connect_mouse_release (const Link< const MouseEvent &, bool > &rLink)
 
void connect_popup_menu (const Link< const CommandEvent &, bool > &rLink)
 
bool HasSelectedChildren (std::u16string_view rName)
 
bool SelectEntry (std::u16string_view rName)
 select an entry in TreeLB More...
 
void SelectEntry (const SdrObject *pObj)
 
OUString get_selected_text () const
 
bool get_selected () const
 
int count_selected_rows () const
 
void connect_changed (const Link< weld::TreeView &, void > &rLink)
 
bool is_selected (const weld::TreeIter &rIter) const
 
bool get_iter_first (weld::TreeIter &rIter) const
 
weld::TreeViewget_treeview ()
 
std::unique_ptr< weld::TreeItermake_iterator ()
 
bool get_visible () const
 
void unselect_all ()
 
OUString get_cursor_text () const
 
OUString get_cursor_id () const
 
void SetViewFrame (const SfxViewFrame *pViewFrame)
 
void Fill (const SdDrawDocument *, bool bAllPages, const OUString &rDocName)
 Fill TreeLB with pages and objects. More...
 
void Fill (const SdDrawDocument *, SfxMedium *pSfxMedium, const OUString &rDocName)
 We insert only the first entry. More...
 
void SetShowAllShapes (const bool bShowAllShapes, const bool bFill)
 
bool GetShowAllShapes () const
 
void SetOrderFrontToBack (const bool bOrderFrontToBack)
 
bool GetOrderFrontToBack () const
 
bool IsNavigationGrabsFocus () const
 
bool IsEqualToDoc (const SdDrawDocument *pInDoc)
 Checks if the pages (PageKind::Standard) of a doc and the objects on the pages are identical to the TreeLB. More...
 
bool IsEqualToShapeList (std::unique_ptr< weld::TreeIter > &rEntry, const SdrObjList &rList, std::u16string_view rListName)
 Visits rList recursively and tries to advance rEntry accordingly. More...
 
void AddShapeList (const SdrObjList &rList, const SdrObject *pShape, const OUString &rsName, const bool bIsExcluded, const weld::TreeIter *pParentEntry)
 Add one list box entry for the parent of the given shapes and one child entry for each of the given shapes. More...
 
void AddShapeToTransferable (SdTransferable &rTransferable, const SdrObject &rObject) const
 Add the given object to a transferable object so that the object can be dragged and dropped without having a name. More...
 
std::vector< OUString > GetSelectEntryList (const int nDepth) const
 return selected entries nDepth == 0 -> pages nDepth == 1 -> objects
More...
 
std::vector< OUString > GetSelectedEntryIds () const
 
SdDrawDocumentGetBookmarkDoc (SfxMedium *pMedium=nullptr)
 Checks if it is a draw file and opens the BookmarkDoc depending of the provided Docs. More...
 
bool IsLinkableSelected () const
 
void InsertEntry (const OUString &rName, const OUString &rExpander)
 
void InsertEntry (const weld::TreeIter *pParent, const OUString &rId, const OUString &rName, const OUString &rExpander, weld::TreeIter *pEntry=nullptr)
 
void SetSdNavigator (SdNavigatorWin *pNavigator)
 
void clear ()
 

Static Public Member Functions

static bool IsInDrag ()
 
::sd::ViewShellGetViewShellForDocShell (::sd::DrawDocShell &rDocShell)
 Return the view shell that is linked to the given doc shell. More...
 

Private Types

typedef std::pair< const weld::TreeIter &, OUString > IterString
 

Private Member Functions

OUString GetObjectName (const SdrObject *pObject, const bool bCreate=true) const
 Return the name of the object. More...
 
void CloseBookmarkDoc ()
 Close and delete bookmark document. More...
 
 DECL_DLLPRIVATE_LINK (RequestingChildrenHdl, const weld::TreeIter &, bool)
 
 DECL_DLLPRIVATE_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_DLLPRIVATE_LINK (AsyncSelectHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (RowActivatedHdl, weld::TreeView &, bool)
 
 DECL_DLLPRIVATE_LINK (AsyncRowActivatedHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (DragBeginHdl, bool &, bool)
 
 DECL_DLLPRIVATE_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (EditingEntryHdl, const weld::TreeIter &, bool)
 
 DECL_LINK (EditedEntryHdl, const IterString &, bool)
 
 DECL_LINK (EditEntryAgain, void *, void)
 
 DECL_LINK (CommandHdl, const CommandEvent &, bool)
 
bool PageBelongsToCurrentShow (const SdPage *pPage) const
 Determine whether the specified page belongs to the current show which is either the standard show or a custom show. More...
 
bool DoDrag ()
 Begin drag. More...
 
bool StartDrag ()
 StartDrag-Request. More...
 

Static Private Member Functions

static void OnDragFinished ()
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xTreeView
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 
std::unique_ptr< SdPageObjsTLVDropTargetm_xDropTargetHelper
 
std::unique_ptr<::svt::AcceleratorExecutem_xAccel
 
SdNavigatorWinm_pNavigator
 
const SdDrawDocumentm_pDoc
 
SdDrawDocumentm_pBookmarkDoc
 
SfxMediumm_pMedium
 
SfxMediumm_pOwnMedium
 
bool m_bLinkableSelected
 
bool m_bShowAllShapes
 
bool m_bOrderFrontToBack
 
bool m_bShowAllPages
 This flag controls whether to show all pages. More...
 
bool m_bSelectionHandlerNavigates
 If changing the selection should also result in navigating to the relevant shape. More...
 
bool m_bNavigationGrabsFocus
 If navigation should not only select the relevant shape but also change focus to it. More...
 
bool m_bEditing = false
 
SelectionMode m_eSelectionMode
 
ImplSVEventm_nSelectEventId
 
ImplSVEventm_nRowActivateEventId
 
OUString m_aDocName
 
::sd::DrawDocShellRef m_xBookmarkDocShRef
 for the loading of bookmarks More...
 
Link< weld::TreeView &, void > m_aChangeHdl
 
Link< weld::TreeView &, bool > m_aRowActivatedHdl
 
Link< const KeyEvent &, bool > m_aKeyPressHdl
 
Link< const MouseEvent &, bool > m_aMouseReleaseHdl
 
Link< const CommandEvent &, bool > m_aPopupMenuHdl
 
rtl::Reference< SdPageObjsTransferablem_xHelper
 

Static Private Attributes

static bool SAL_DLLPRIVATE bIsInDrag = false
 static, in the case the navigator is deleted in ExecuteDrag More...
 

Friends

class SdPageObjsTLV::SdPageObjsTransferable
 

Detailed Description

Definition at line 71 of file sdtreelb.hxx.

Member Typedef Documentation

◆ IterString

typedef std::pair<const weld::TreeIter&, OUString> SdPageObjsTLV::IterString
private

Definition at line 148 of file sdtreelb.hxx.

Constructor & Destructor Documentation

◆ SdPageObjsTLV()

SdPageObjsTLV::SdPageObjsTLV ( std::unique_ptr< weld::TreeView xTreeview)

Definition at line 728 of file sdtreelb.cxx.

References LINK, m_xTreeView, and Single.

◆ ~SdPageObjsTLV()

SdPageObjsTLV::~SdPageObjsTLV ( )

Member Function Documentation

◆ AddShapeList()

void SdPageObjsTLV::AddShapeList ( const SdrObjList rList,
const SdrObject pShape,
const OUString &  rsName,
const bool  bIsExcluded,
const weld::TreeIter pParentEntry 
)

Add one list box entry for the parent of the given shapes and one child entry for each of the given shapes.

Parameters
rListThe container of shapes that are to be inserted.
pShapeThe parent shape or NULL when the parent is a page.
rsNameThe name to be displayed for the new parent node.
bIsExcludedSome pages can be excluded (from the show?).
pParentEntryThe parent entry of the new parent entry.

Definition at line 1164 of file sdtreelb.cxx.

References AddShapeList(), aStr, GetObjectName(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrObject::GetSubList(), SdrObjList::HasObjectNavigationOrder(), InsertEntry(), SdrObject::IsGroupObject(), SdrObjListIter::IsMore(), m_xTreeView, SdrObjListIter::Next(), sId, and weld::toId().

Referenced by AddShapeList(), and Fill().

◆ AddShapeToTransferable()

void SdPageObjsTLV::AddShapeToTransferable ( SdTransferable rTransferable,
const SdrObject rObject 
) const

◆ clear()

void SdPageObjsTLV::clear ( )
inline

Definition at line 418 of file sdtreelb.hxx.

Referenced by Fill().

◆ CloseBookmarkDoc()

void SdPageObjsTLV::CloseBookmarkDoc ( )
private

◆ connect_changed()

void SdPageObjsTLV::connect_changed ( const Link< weld::TreeView &, void > &  rLink)
inline

Definition at line 277 of file sdtreelb.hxx.

◆ connect_key_press()

void SdPageObjsTLV::connect_key_press ( const Link< const KeyEvent &, bool > &  rLink)
inline

Definition at line 243 of file sdtreelb.hxx.

◆ connect_mouse_release()

void SdPageObjsTLV::connect_mouse_release ( const Link< const MouseEvent &, bool > &  rLink)
inline

Definition at line 248 of file sdtreelb.hxx.

◆ connect_popup_menu()

void SdPageObjsTLV::connect_popup_menu ( const Link< const CommandEvent &, bool > &  rLink)
inline

Definition at line 253 of file sdtreelb.hxx.

◆ connect_row_activated()

void SdPageObjsTLV::connect_row_activated ( const Link< weld::TreeView &, bool > &  rLink)
inline

Definition at line 238 of file sdtreelb.hxx.

◆ count_selected_rows()

int SdPageObjsTLV::count_selected_rows ( ) const
inline

Definition at line 272 of file sdtreelb.hxx.

◆ DECL_DLLPRIVATE_LINK() [1/7]

SdPageObjsTLV::DECL_DLLPRIVATE_LINK ( AsyncRowActivatedHdl  ,
void *  ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/7]

SdPageObjsTLV::DECL_DLLPRIVATE_LINK ( AsyncSelectHdl  ,
void *  ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/7]

SdPageObjsTLV::DECL_DLLPRIVATE_LINK ( DragBeginHdl  ,
bool &  ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/7]

SdPageObjsTLV::DECL_DLLPRIVATE_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/7]

SdPageObjsTLV::DECL_DLLPRIVATE_LINK ( RequestingChildrenHdl  ,
const weld::TreeIter ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [6/7]

SdPageObjsTLV::DECL_DLLPRIVATE_LINK ( RowActivatedHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [7/7]

SdPageObjsTLV::DECL_DLLPRIVATE_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [1/6]

SdPageObjsTLV::DECL_LINK ( CommandHdl  ,
const CommandEvent ,
bool   
)
private

References StartDrag.

◆ DECL_LINK() [2/6]

SdPageObjsTLV::DECL_LINK ( EditedEntryHdl  ,
const IterString ,
bool   
)
private

◆ DECL_LINK() [3/6]

SdPageObjsTLV::DECL_LINK ( EditEntryAgain  ,
void *  ,
void   
)
private

◆ DECL_LINK() [4/6]

SdPageObjsTLV::DECL_LINK ( EditingEntryHdl  ,
const weld::TreeIter ,
bool   
)
private

◆ DECL_LINK() [5/6]

SdPageObjsTLV::DECL_LINK ( MousePressHdl  ,
const MouseEvent ,
bool   
)

◆ DECL_LINK() [6/6]

SdPageObjsTLV::DECL_LINK ( MouseReleaseHdl  ,
const MouseEvent ,
bool   
)

References Select.

◆ DoDrag()

bool SdPageObjsTLV::DoDrag ( )
private

◆ Fill() [1/2]

void SdPageObjsTLV::Fill ( const SdDrawDocument pInDoc,
bool  bAllPages,
const OUString &  rDocName 
)

◆ Fill() [2/2]

void SdPageObjsTLV::Fill ( const SdDrawDocument pInDoc,
SfxMedium pInMedium,
const OUString &  rDocName 
)

We insert only the first entry.

Children are created on demand.

Definition at line 1306 of file sdtreelb.cxx.

References m_aDocName, m_pDoc, m_pMedium, m_xScratchIter, m_xTreeView, and sId.

◆ get_approximate_digit_width()

float SdPageObjsTLV::get_approximate_digit_width ( ) const
inline

Definition at line 212 of file sdtreelb.hxx.

◆ get_cursor_id()

OUString SdPageObjsTLV::get_cursor_id ( ) const
inline

Definition at line 320 of file sdtreelb.hxx.

◆ get_cursor_text()

OUString SdPageObjsTLV::get_cursor_text ( ) const
inline

Definition at line 312 of file sdtreelb.hxx.

Referenced by Select().

◆ get_height_rows()

int SdPageObjsTLV::get_height_rows ( int  nRows) const
inline

Definition at line 222 of file sdtreelb.hxx.

◆ get_iter_first()

bool SdPageObjsTLV::get_iter_first ( weld::TreeIter rIter) const
inline

Definition at line 287 of file sdtreelb.hxx.

◆ get_selected()

bool SdPageObjsTLV::get_selected ( ) const
inline

Definition at line 267 of file sdtreelb.hxx.

◆ get_selected_text()

OUString SdPageObjsTLV::get_selected_text ( ) const
inline

Definition at line 262 of file sdtreelb.hxx.

◆ get_selection_mode()

SelectionMode SdPageObjsTLV::get_selection_mode ( ) const
inline

Definition at line 233 of file sdtreelb.hxx.

◆ get_treeview()

weld::TreeView & SdPageObjsTLV::get_treeview ( )
inline

◆ get_visible()

bool SdPageObjsTLV::get_visible ( ) const
inline

Definition at line 302 of file sdtreelb.hxx.

◆ GetBookmarkDoc()

SdDrawDocument * SdPageObjsTLV::GetBookmarkDoc ( SfxMedium pMedium = nullptr)

Checks if it is a draw file and opens the BookmarkDoc depending of the provided Docs.

Definition at line 951 of file sdtreelb.cxx.

References CloseBookmarkDoc(), Application::CreateMessageDialog(), DBG_ASSERT, SfxMedium::GetName(), Impress, m_pBookmarkDoc, m_pDoc, m_pMedium, m_pOwnMedium, m_xBookmarkDocShRef, m_xTreeView, and SdResId().

◆ GetObjectName()

OUString SdPageObjsTLV::GetObjectName ( const SdrObject pObject,
const bool  bCreate = true 
) const
private

Return the name of the object.

When the object has no user supplied name and the bCreate flag is <TRUE> then a name is created automatically. Additionally the mbShowAllShapes flag is taken into account when there is no user supplied name. When this flag is <FALSE> then no name is created.

Parameters
pObjectWhen this is NULL then an empty string is returned, regardless of the value of bCreate.
bCreateThis flag controls for objects without user supplied name whether a name is created. When a name is created then this name is not stored in the object.

Definition at line 894 of file sdtreelb.cxx.

References m_bShowAllShapes, pObject, and SdResId().

Referenced by AddShapeList(), DoDrag(), and IsEqualToShapeList().

◆ GetOrderFrontToBack()

bool SdPageObjsTLV::GetOrderFrontToBack ( ) const
inline

Definition at line 337 of file sdtreelb.hxx.

◆ GetSelectedEntryIds()

std::vector< OUString > SdPageObjsTLV::GetSelectedEntryIds ( ) const

Definition at line 935 of file sdtreelb.cxx.

References m_xTreeView.

◆ GetSelectEntryList()

std::vector< OUString > SdPageObjsTLV::GetSelectEntryList ( const int  nDepth) const

return selected entries nDepth == 0 -> pages nDepth == 1 -> objects

Definition at line 921 of file sdtreelb.cxx.

References aEntries, and m_xTreeView.

◆ GetShowAllShapes()

bool SdPageObjsTLV::GetShowAllShapes ( ) const
inline

Definition at line 334 of file sdtreelb.hxx.

◆ GetViewShellForDocShell()

sd::ViewShell * SdPageObjsTLV::GetViewShellForDocShell ( ::sd::DrawDocShell rDocShell)
static

Return the view shell that is linked to the given doc shell.

Call this method when the there is a chance that the doc shell has been disconnected from the view shell (but not the other way round.)

Returns
May return <NULL> when the link between view shell and doc shell has been severed.

Definition at line 677 of file sdtreelb.cxx.

References sd::ViewShellBase::GetDocShell(), sd::ViewShellBase::GetMainViewShell(), sd::DrawDocShell::GetViewShell(), sd::DrawController::GetViewShellBase(), nCount, nIndex, xController, and xFrame.

Referenced by sd::slidesorter::controller::Clipboard::CreateTransferableUserData(), and DoDrag().

◆ grab_focus()

void SdPageObjsTLV::grab_focus ( )
inline

Definition at line 202 of file sdtreelb.hxx.

◆ HasSelectedChildren()

bool SdPageObjsTLV::HasSelectedChildren ( std::u16string_view  rName)
Returns
true if children of the specified string are selected

Definition at line 148 of file sdtreelb.cxx.

References m_xTreeView.

◆ hide()

void SdPageObjsTLV::hide ( )
inline

Definition at line 192 of file sdtreelb.hxx.

◆ InsertEntry() [1/2]

void SdPageObjsTLV::InsertEntry ( const OUString &  rName,
const OUString &  rExpander 
)
inline

Definition at line 396 of file sdtreelb.hxx.

Referenced by AddShapeList().

◆ InsertEntry() [2/2]

void SdPageObjsTLV::InsertEntry ( const weld::TreeIter pParent,
const OUString &  rId,
const OUString &  rName,
const OUString &  rExpander,
weld::TreeIter pEntry = nullptr 
)
inline

Definition at line 402 of file sdtreelb.hxx.

◆ is_selected()

bool SdPageObjsTLV::is_selected ( const weld::TreeIter rIter) const
inline

Definition at line 282 of file sdtreelb.hxx.

◆ IsEditingActive()

bool SdPageObjsTLV::IsEditingActive ( ) const
inline

Definition at line 176 of file sdtreelb.hxx.

Referenced by IMPL_LINK(), and Select().

◆ IsEqualToDoc()

bool SdPageObjsTLV::IsEqualToDoc ( const SdDrawDocument pInDoc)

Checks if the pages (PageKind::Standard) of a doc and the objects on the pages are identical to the TreeLB.

If a doc is provided, this will be the used doc (important by more than one document).

Definition at line 258 of file sdtreelb.cxx.

References SdPage::GetName(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdPage::GetPageKind(), sd::DrawViewShell::GetPageKind(), IsEqualToShapeList(), m_pDoc, m_xTreeView, Notes, and Standard.

◆ IsEqualToShapeList()

bool SdPageObjsTLV::IsEqualToShapeList ( std::unique_ptr< weld::TreeIter > &  rEntry,
const SdrObjList rList,
std::u16string_view  rListName 
)

◆ IsInDrag()

bool SdPageObjsTLV::IsInDrag ( )
static

Definition at line 76 of file sdtreelb.cxx.

References bIsInDrag.

Referenced by IMPL_LINK().

◆ IsLinkableSelected()

bool SdPageObjsTLV::IsLinkableSelected ( ) const
inline

Definition at line 394 of file sdtreelb.hxx.

◆ IsNavigationGrabsFocus()

bool SdPageObjsTLV::IsNavigationGrabsFocus ( ) const
inline

Definition at line 339 of file sdtreelb.hxx.

◆ make_iterator()

std::unique_ptr< weld::TreeIter > SdPageObjsTLV::make_iterator ( )
inline

Definition at line 297 of file sdtreelb.hxx.

◆ OnDragFinished()

void SdPageObjsTLV::OnDragFinished ( )
staticprivate

Definition at line 482 of file sdtreelb.cxx.

References bIsInDrag.

Referenced by SdPageObjsTLV::SdPageObjsTransferable::DragFinished().

◆ PageBelongsToCurrentShow()

bool SdPageObjsTLV::PageBelongsToCurrentShow ( const SdPage pPage) const
private

Determine whether the specified page belongs to the current show which is either the standard show or a custom show.

Parameters
pPagePointer to the page for which to check whether it belongs to the show.
Returns
Returns <FALSE> if there is no custom show or if the current show does not contain the specified page at least once.

Definition at line 1133 of file sdtreelb.cxx.

References SdCustomShowList::GetCurPos(), SdDrawDocument::getPresentationSettings(), i, m_pDoc, sd::PresentationSettings::mbCustomShow, and SdCustomShow::PagesVector().

Referenced by Fill().

◆ Select()

void SdPageObjsTLV::Select ( )

◆ SelectEntry() [1/2]

void SdPageObjsTLV::SelectEntry ( const SdrObject pObj)

Definition at line 1353 of file sdtreelb.cxx.

References m_xTreeView.

◆ SelectEntry() [2/2]

bool SdPageObjsTLV::SelectEntry ( std::u16string_view  rName)

select an entry in TreeLB

Definition at line 1324 of file sdtreelb.cxx.

References m_xTreeView.

Referenced by lcl_select_marked_object().

◆ set_selection_mode()

void SdPageObjsTLV::set_selection_mode ( SelectionMode  eMode)
inline

Definition at line 227 of file sdtreelb.hxx.

References eMode.

◆ set_sensitive()

void SdPageObjsTLV::set_sensitive ( bool  bSensitive)
inline

Definition at line 187 of file sdtreelb.hxx.

◆ set_size_request()

void SdPageObjsTLV::set_size_request ( int  nWidth,
int  nHeight 
)
inline

Definition at line 207 of file sdtreelb.hxx.

◆ SetOrderFrontToBack()

void SdPageObjsTLV::SetOrderFrontToBack ( const bool  bOrderFrontToBack)

Definition at line 197 of file sdtreelb.cxx.

References m_bOrderFrontToBack.

◆ SetSdNavigator()

void SdPageObjsTLV::SetSdNavigator ( SdNavigatorWin pNavigator)

Definition at line 1086 of file sdtreelb.cxx.

References m_pNavigator.

◆ SetShowAllShapes()

void SdPageObjsTLV::SetShowAllShapes ( const bool  bShowAllShapes,
const bool  bFill 
)

Definition at line 183 of file sdtreelb.cxx.

References Fill(), m_aDocName, m_bShowAllPages, m_bShowAllShapes, m_pDoc, and m_pMedium.

◆ SetViewFrame()

void SdPageObjsTLV::SetViewFrame ( const SfxViewFrame pViewFrame)

◆ show()

void SdPageObjsTLV::show ( )
inline

Definition at line 197 of file sdtreelb.hxx.

◆ start_editing()

void SdPageObjsTLV::start_editing ( )
inline

Definition at line 178 of file sdtreelb.hxx.

Referenced by SdNavigatorWin::ExecuteContextMenuAction().

◆ StartDrag()

bool SdPageObjsTLV::StartDrag ( )
private

StartDrag-Request.

Definition at line 411 of file sdtreelb.cxx.

References DoDrag(), and m_xTreeView.

Referenced by IMPL_LINK().

◆ unselect_all()

void SdPageObjsTLV::unselect_all ( )
inline

Definition at line 307 of file sdtreelb.hxx.

Referenced by lcl_select_marked_object().

Friends And Related Function Documentation

◆ SdPageObjsTLV::SdPageObjsTransferable

Definition at line 457 of file sdtreelb.hxx.

Member Data Documentation

◆ bIsInDrag

bool SdPageObjsTLV::bIsInDrag = false
staticprivate

static, in the case the navigator is deleted in ExecuteDrag

Definition at line 74 of file sdtreelb.hxx.

Referenced by DoDrag(), IsInDrag(), and OnDragFinished().

◆ m_aChangeHdl

Link<weld::TreeView&, void> SdPageObjsTLV::m_aChangeHdl
private

Definition at line 114 of file sdtreelb.hxx.

Referenced by Select().

◆ m_aDocName

OUString SdPageObjsTLV::m_aDocName
private

Definition at line 112 of file sdtreelb.hxx.

Referenced by Fill(), and SetShowAllShapes().

◆ m_aKeyPressHdl

Link<const KeyEvent&, bool> SdPageObjsTLV::m_aKeyPressHdl
private

Definition at line 116 of file sdtreelb.hxx.

Referenced by IMPL_LINK().

◆ m_aMouseReleaseHdl

Link<const MouseEvent&, bool> SdPageObjsTLV::m_aMouseReleaseHdl
private

Definition at line 117 of file sdtreelb.hxx.

Referenced by IMPL_LINK_NOARG().

◆ m_aPopupMenuHdl

Link<const CommandEvent&, bool> SdPageObjsTLV::m_aPopupMenuHdl
private

Definition at line 118 of file sdtreelb.hxx.

Referenced by IMPL_LINK().

◆ m_aRowActivatedHdl

Link<weld::TreeView&, bool> SdPageObjsTLV::m_aRowActivatedHdl
private

Definition at line 115 of file sdtreelb.hxx.

Referenced by IMPL_LINK(), and Select().

◆ m_bEditing

bool SdPageObjsTLV::m_bEditing = false
private

Definition at line 105 of file sdtreelb.hxx.

Referenced by IMPL_LINK().

◆ m_bLinkableSelected

bool SdPageObjsTLV::m_bLinkableSelected
private

Definition at line 85 of file sdtreelb.hxx.

Referenced by Select().

◆ m_bNavigationGrabsFocus

bool SdPageObjsTLV::m_bNavigationGrabsFocus
private

If navigation should not only select the relevant shape but also change focus to it.

Definition at line 103 of file sdtreelb.hxx.

Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().

◆ m_bOrderFrontToBack

bool SdPageObjsTLV::m_bOrderFrontToBack
private

Definition at line 87 of file sdtreelb.hxx.

Referenced by DoDrag(), and SetOrderFrontToBack().

◆ m_bSelectionHandlerNavigates

bool SdPageObjsTLV::m_bSelectionHandlerNavigates
private

If changing the selection should also result in navigating to the relevant shape.

Definition at line 97 of file sdtreelb.hxx.

Referenced by IMPL_LINK(), IMPL_LINK_NOARG(), and Select().

◆ m_bShowAllPages

bool SdPageObjsTLV::m_bShowAllPages
private

This flag controls whether to show all pages.

Definition at line 91 of file sdtreelb.hxx.

Referenced by Fill(), and SetShowAllShapes().

◆ m_bShowAllShapes

bool SdPageObjsTLV::m_bShowAllShapes
private

Definition at line 86 of file sdtreelb.hxx.

Referenced by GetObjectName(), and SetShowAllShapes().

◆ m_eSelectionMode

SelectionMode SdPageObjsTLV::m_eSelectionMode
private

Definition at line 107 of file sdtreelb.hxx.

◆ m_nRowActivateEventId

ImplSVEvent* SdPageObjsTLV::m_nRowActivateEventId
private

Definition at line 110 of file sdtreelb.hxx.

Referenced by ~SdPageObjsTLV().

◆ m_nSelectEventId

ImplSVEvent* SdPageObjsTLV::m_nSelectEventId
private

Definition at line 109 of file sdtreelb.hxx.

Referenced by Select(), and ~SdPageObjsTLV().

◆ m_pBookmarkDoc

SdDrawDocument* SdPageObjsTLV::m_pBookmarkDoc
private

Definition at line 82 of file sdtreelb.hxx.

Referenced by CloseBookmarkDoc(), GetBookmarkDoc(), and ~SdPageObjsTLV().

◆ m_pDoc

const SdDrawDocument* SdPageObjsTLV::m_pDoc
private

◆ m_pMedium

SfxMedium* SdPageObjsTLV::m_pMedium
private

Definition at line 83 of file sdtreelb.hxx.

Referenced by CloseBookmarkDoc(), Fill(), GetBookmarkDoc(), SetShowAllShapes(), and ~SdPageObjsTLV().

◆ m_pNavigator

SdNavigatorWin* SdPageObjsTLV::m_pNavigator
private

Definition at line 80 of file sdtreelb.hxx.

Referenced by DoDrag(), Select(), and SetSdNavigator().

◆ m_pOwnMedium

SfxMedium* SdPageObjsTLV::m_pOwnMedium
private

Definition at line 84 of file sdtreelb.hxx.

Referenced by CloseBookmarkDoc(), and GetBookmarkDoc().

◆ m_xAccel

std::unique_ptr<::svt::AcceleratorExecute> SdPageObjsTLV::m_xAccel
private

Definition at line 79 of file sdtreelb.hxx.

Referenced by IMPL_LINK(), SetViewFrame(), and ~SdPageObjsTLV().

◆ m_xBookmarkDocShRef

::sd::DrawDocShellRef SdPageObjsTLV::m_xBookmarkDocShRef
private

for the loading of bookmarks

Definition at line 113 of file sdtreelb.hxx.

Referenced by CloseBookmarkDoc(), and GetBookmarkDoc().

◆ m_xDropTargetHelper

std::unique_ptr<SdPageObjsTLVDropTarget> SdPageObjsTLV::m_xDropTargetHelper
private

Definition at line 78 of file sdtreelb.hxx.

Referenced by DoDrag().

◆ m_xHelper

rtl::Reference<SdPageObjsTransferable> SdPageObjsTLV::m_xHelper
private

Definition at line 460 of file sdtreelb.hxx.

Referenced by DoDrag(), and Select().

◆ m_xScratchIter

std::unique_ptr<weld::TreeIter> SdPageObjsTLV::m_xScratchIter
private

Definition at line 77 of file sdtreelb.hxx.

Referenced by Fill().

◆ m_xTreeView

std::unique_ptr<weld::TreeView> SdPageObjsTLV::m_xTreeView
private

The documentation for this class was generated from the following files: