LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SfxUnoPanel Class Referencefinal

get the Panel More...

#include <UnoPanel.hxx>

Inheritance diagram for SfxUnoPanel:
[legend]
Collaboration diagram for SfxUnoPanel:
[legend]

Public Member Functions

 SfxUnoPanel (css::uno::Reference< css::frame::XFrame >, OUString, OUString)
 
virtual OUString SAL_CALL getId () override
 
virtual OUString SAL_CALL getTitle () override
 
virtual void SAL_CALL setTitle (const OUString &newTitle) override
 
virtual sal_Bool SAL_CALL isExpanded () override
 
virtual void SAL_CALL expand (const sal_Bool bCollapseOther) override
 
virtual void SAL_CALL collapse () override
 
virtual sal_Int32 SAL_CALL getOrderIndex () override
 
virtual void SAL_CALL setOrderIndex (const sal_Int32 newOrderIndex) override
 
virtual void SAL_CALL moveFirst () override
 
virtual void SAL_CALL moveLast () override
 
virtual void SAL_CALL moveUp () override
 
virtual void SAL_CALL moveDown () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getDialog () override
 

Private Member Functions

sfx2::sidebar::SidebarControllergetSidebarController ()
 
sal_Int32 GetMaxOrderIndex (const sfx2::sidebar::ResourceManager::PanelContextDescriptorContainer &rPanels)
 
sal_Int32 GetMinOrderIndex (const sfx2::sidebar::ResourceManager::PanelContextDescriptorContainer &rPanels)
 

Private Attributes

const css::uno::Reference< css::frame::XFrame > xFrame
 
const OUString mPanelId
 
const OUString mDeckId
 
VclPtr< sfx2::sidebar::DeckmpDeck
 
std::weak_ptr< sfx2::sidebar::PanelmxPanel
 

Detailed Description

get the Panel

Definition at line 29 of file UnoPanel.hxx.

Constructor & Destructor Documentation

◆ SfxUnoPanel()

SfxUnoPanel::SfxUnoPanel ( css::uno::Reference< css::frame::XFrame >  ,
OUString  ,
OUString   
)

Definition at line 28 of file UnoPanel.cxx.

References getSidebarController(), mDeckId, mPanelId, mpDeck, mxPanel, and xFrame.

Member Function Documentation

◆ collapse()

void SAL_CALL SfxUnoPanel::collapse ( )
overridevirtual

Definition at line 114 of file UnoPanel.cxx.

References getSidebarController(), and mxPanel.

◆ expand()

void SAL_CALL SfxUnoPanel::expand ( const sal_Bool  bCollapseOther)
overridevirtual

Definition at line 90 of file UnoPanel.cxx.

References getSidebarController(), mPanelId, mpDeck, and mxPanel.

◆ getDialog()

uno::Reference< awt::XWindow > SAL_CALL SfxUnoPanel::getDialog ( )
overridevirtual

Definition at line 125 of file UnoPanel.cxx.

References mxPanel.

◆ getId()

OUString SAL_CALL SfxUnoPanel::getId ( )
overridevirtual

Definition at line 45 of file UnoPanel.cxx.

References mPanelId.

◆ GetMaxOrderIndex()

sal_Int32 SfxUnoPanel::GetMaxOrderIndex ( const sfx2::sidebar::ResourceManager::PanelContextDescriptorContainer rPanels)
private

Definition at line 280 of file UnoPanel.cxx.

References getSidebarController(), and index.

Referenced by moveDown(), and moveLast().

◆ GetMinOrderIndex()

sal_Int32 SfxUnoPanel::GetMinOrderIndex ( const sfx2::sidebar::ResourceManager::PanelContextDescriptorContainer rPanels)
private

Definition at line 265 of file UnoPanel.cxx.

References getSidebarController(), and index.

Referenced by moveFirst(), and moveUp().

◆ getOrderIndex()

sal_Int32 SAL_CALL SfxUnoPanel::getOrderIndex ( )
overridevirtual

Definition at line 133 of file UnoPanel.cxx.

References getSidebarController(), index, and mPanelId.

Referenced by moveDown(), moveFirst(), moveLast(), and moveUp().

◆ getSidebarController()

SidebarController * SfxUnoPanel::getSidebarController ( )
private

◆ getTitle()

OUString SAL_CALL SfxUnoPanel::getTitle ( )
overridevirtual

Definition at line 52 of file UnoPanel.cxx.

References mxPanel.

◆ isExpanded()

sal_Bool SAL_CALL SfxUnoPanel::isExpanded ( )
overridevirtual

Definition at line 81 of file UnoPanel.cxx.

References mxPanel.

◆ moveDown()

void SAL_CALL SfxUnoPanel::moveDown ( )
overridevirtual

◆ moveFirst()

void SAL_CALL SfxUnoPanel::moveFirst ( )
overridevirtual

◆ moveLast()

void SAL_CALL SfxUnoPanel::moveLast ( )
overridevirtual

◆ moveUp()

void SAL_CALL SfxUnoPanel::moveUp ( )
overridevirtual

◆ setOrderIndex()

void SAL_CALL SfxUnoPanel::setOrderIndex ( const sal_Int32  newOrderIndex)
overridevirtual

Definition at line 142 of file UnoPanel.cxx.

References getSidebarController(), and mPanelId.

◆ setTitle()

void SAL_CALL SfxUnoPanel::setTitle ( const OUString &  newTitle)
overridevirtual

Definition at line 64 of file UnoPanel.cxx.

References getSidebarController(), mPanelId, and mxPanel.

Member Data Documentation

◆ mDeckId

const OUString SfxUnoPanel::mDeckId
private

Definition at line 60 of file UnoPanel.hxx.

Referenced by moveDown(), moveFirst(), moveLast(), moveUp(), and SfxUnoPanel().

◆ mPanelId

const OUString SfxUnoPanel::mPanelId
private

◆ mpDeck

VclPtr<sfx2::sidebar::Deck> SfxUnoPanel::mpDeck
private

Definition at line 62 of file UnoPanel.hxx.

Referenced by expand(), and SfxUnoPanel().

◆ mxPanel

std::weak_ptr<sfx2::sidebar::Panel> SfxUnoPanel::mxPanel
private

Definition at line 63 of file UnoPanel.hxx.

Referenced by collapse(), expand(), getDialog(), getTitle(), isExpanded(), setTitle(), and SfxUnoPanel().

◆ xFrame

const css::uno::Reference<css::frame::XFrame> SfxUnoPanel::xFrame
private

Definition at line 56 of file UnoPanel.hxx.

Referenced by getSidebarController().


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