LibreOffice Module sd (master) 1
|
Present the navigator as control that can be displayed inside the sidebar. More...
#include <NavigatorWrapper.hxx>
Public Member Functions | |
NavigatorWrapper (weld::Widget *pParent, sd::ViewShellBase &rViewShellBase, SfxBindings *pBindings) | |
virtual css::ui::LayoutSize | GetHeightForWidth (const sal_Int32 nWidth) override |
![]() | |
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... | |
SdPageObjsTLV & | GetObjects () |
void | FreshTree (const SdDrawDocument *pDoc) |
virtual weld::Window * | GetFrameWeld () const override |
![]() | |
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 | |
ViewShellBase & | mrViewShellBase |
Additional Inherited Members | |
![]() | |
typedef ::std::function< void()> | UpdateRequestFunctor |
![]() | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
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.
sd::sidebar::NavigatorWrapper::NavigatorWrapper | ( | weld::Widget * | pParent, |
sd::ViewShellBase & | rViewShellBase, | ||
SfxBindings * | pBindings | ||
) |
Definition at line 26 of file NavigatorWrapper.cxx.
References SdNavigatorWin::SetUpdateRequestFunctor(), and UpdateNavigator().
|
overridevirtual |
Definition at line 37 of file NavigatorWrapper.cxx.
|
private |
Definition at line 42 of file NavigatorWrapper.cxx.
References sd::ViewShellBase::GetDocument(), SdNavigatorWin::InitTreeLB(), and mrViewShellBase.
Referenced by NavigatorWrapper().
|
private |
Definition at line 50 of file NavigatorWrapper.hxx.
Referenced by UpdateNavigator().