LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sd::sidebar::NavigatorWrapper Class Reference

Present the navigator as control that can be displayed inside the sidebar. More...

#include <NavigatorWrapper.hxx>

Inheritance diagram for sd::sidebar::NavigatorWrapper:
[legend]
Collaboration diagram for sd::sidebar::NavigatorWrapper:
[legend]

Public Member Functions

 NavigatorWrapper (weld::Widget *pParent, sd::ViewShellBase &rViewShellBase, SfxBindings *pBindings)
 
virtual css::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth) override
 
- Public Member Functions inherited from SdNavigatorWin
 SdNavigatorWin (weld::Widget *pParent, SfxBindings *pBindings, SfxNavigator *pNavigatorDlg)
 Create a new instance of the navigator. More...
 
void SetUpdateRequestFunctor (const UpdateRequestFunctor &rUpdateRequest)
 
virtual ~SdNavigatorWin () override
 
void InitTreeLB (const SdDrawDocument *pDoc)
 
void RefreshDocumentLB (const OUString *pDocName=nullptr)
 
void FirstFocus ()
 
bool InsertFile (const OUString &rFileName)
 
NavigatorDragType GetNavigatorDragType ()
 DragType is set on dependence if a Drag is even possible. More...
 
SdPageObjsTLVGetObjects ()
 
void FreshTree (const SdDrawDocument *pDoc)
 
virtual weld::WindowGetFrameWeld () const override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 

Private Member Functions

void UpdateNavigator ()
 

Private Attributes

ViewShellBasemrViewShellBase
 

Additional Inherited Members

- Public Types inherited from SdNavigatorWin
typedef ::std::function< void()> UpdateRequestFunctor
 
- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Present the navigator as control that can be displayed inside the sidebar.

This wrapper has two main responsibilities:

Definition at line 36 of file NavigatorWrapper.hxx.

Constructor & Destructor Documentation

◆ NavigatorWrapper()

sd::sidebar::NavigatorWrapper::NavigatorWrapper ( weld::Widget pParent,
sd::ViewShellBase rViewShellBase,
SfxBindings pBindings 
)

Member Function Documentation

◆ GetHeightForWidth()

css::ui::LayoutSize sd::sidebar::NavigatorWrapper::GetHeightForWidth ( const sal_Int32  nWidth)
overridevirtual

Definition at line 37 of file NavigatorWrapper.cxx.

◆ UpdateNavigator()

void sd::sidebar::NavigatorWrapper::UpdateNavigator ( )
private

Member Data Documentation

◆ mrViewShellBase

ViewShellBase& sd::sidebar::NavigatorWrapper::mrViewShellBase
private

Definition at line 50 of file NavigatorWrapper.hxx.

Referenced by UpdateNavigator().


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