LibreOffice Module sfx2 (master) 1
Namespaces | Classes | Typedefs | Functions
sfx2::sidebar Namespace Reference

Namespaces

namespace  DeckLayouter
 Helper for layouting the direct and indirect children of a deck like title bars, panels, and scroll bars.
 

Classes

class  AsynchronousCall
 A simple asynchronous call via Application::PostUserCall. More...
 
class  Context
 
class  ContextChangeBroadcaster
 This class is a helper for broadcasting context changes that are tied to shells being activated or deactivated. More...
 
class  ContextList
 Per context data for deck and panel descriptors. More...
 
class  ControllerFactory
 Convenience class for the easy creation of toolbox controllers. More...
 
class  ControllerItem
 The sfx2::sidebar::ControllerItem is a wrapper around the SfxControllerItem that becomes necessary to allow objects (think sidebar panels) to receive state changes without having one SfxControllerItem per supported item as base class (which is not possible in C++ anyway). More...
 
class  Deck
 This is the parent window of the panels. More...
 
class  DeckDescriptor
 
class  DeckTitleBar
 
class  FocusManager
 Concentrate all focus handling in this class. More...
 
class  GripWidget
 
class  Panel
 Multiple panels form a single deck. More...
 
class  PanelDescriptor
 
class  PanelTitleBar
 
class  ResourceManager
 Read the content of the Sidebar.xcu file and provide access methods so that the sidebar can easily decide which content panels to display for a certain context. More...
 
class  Sidebar
 Accept requests for switching to certain panels or decks. More...
 
class  SidebarChildWindow
 Outer container of the sidebar window. More...
 
class  SidebarController
 
class  SidebarDockingWindow
 
class  SidebarPanelBase
 Base class for sidebar panels that provides some convenience functionality. More...
 
class  SidebarToolBox
 The sidebar tool box has two responsibilities: More...
 
class  TabBar
 The tab bar is the container for the individual tabs. More...
 
class  TabBarUIObject
 
class  Theme
 Simple collection of colors, gradients, fonts that define the look of the sidebar and its controls. More...
 
class  TitleBar
 
class  Tools
 

Typedefs

typedef std::vector< std::shared_ptr< Panel > > SharedPanelContainer
 
typedef comphelper::WeakComponentImplHelper< css::ui::XContextChangeEventListener, css::ui::XUIElement, css::ui::XToolPanel, css::ui::XSidebarPanel, css::ui::XUpdateModel > SidebarPanelBaseInterfaceBase
 
typedef comphelper::WeakComponentImplHelper< css::beans::XPropertySet, css::beans::XPropertySetInfo > ThemeInterfaceBase
 

Functions

 IMPL_LINK_NOARG (AsynchronousCall, HandleUserCall, void *, void)
 
 IMPL_LINK (FocusManager, KeyInputHdl, const KeyEvent &, rKeyEvent, bool)
 
 IMPL_LINK (Panel, DumpAsPropertyTreeHdl, tools::JsonWriter &, rJsonWriter, void)
 
 IMPL_LINK (PanelTitleBar, ExpandHdl, weld::Expander &, rExpander, void)
 
 SFX_IMPL_DOCKINGWINDOW_WITHID (SidebarChildWindow, SID_SIDEBAR)
 
 IMPL_LINK (SidebarController, WindowEventHandler, VclWindowEvent &, rEvent, void)
 
 IMPL_LINK (SidebarController, OnMenuItemSelected, const OUString &, rCurItemId, void)
 
 IMPL_LINK (SidebarController, OnSubMenuItemSelected, const OUString &, rCurItemId, void)
 
static bool isChartOrMathContext (const Context &context)
 
 IMPL_LINK (SidebarToolBox, DropDownClickHandler, ToolBox *, pToolBox, void)
 
 IMPL_LINK (SidebarToolBox, ClickHandler, ToolBox *, pToolBox, void)
 
 IMPL_LINK (SidebarToolBox, DoubleClickHandler, ToolBox *, pToolBox, void)
 
 IMPL_LINK (SidebarToolBox, SelectHandler, ToolBox *, pToolBox, void)
 
 IMPL_LINK_NOARG (SidebarToolBox, ChangedIconHandler, LinkParamNone *, void)
 
 IMPL_LINK (SidebarToolBox, ChangedDataHandler, const DataChangedEvent *, pDataChangedEvent, void)
 
SAL_DLLPUBLIC_EXPORT void makeNotebookbarToolBox (VclPtr< vcl::Window > &rRet, const VclPtr< vcl::Window > &pParent, VclBuilder::stringmap &rMap)
 
 IMPL_LINK_NOARG (TabBar::Item, HandleClick, const OUString &, void)
 
 IMPL_LINK_NOARG (TabBar, OnToolboxClicked, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (TitleBar, SelectionHandler, const OUString &, void)
 
class SFX2_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE ("crosscast") IContextChangeReceiver
 

Typedef Documentation

◆ SharedPanelContainer

typedef std::vector<std::shared_ptr<Panel> > sfx2::sidebar::SharedPanelContainer

Definition at line 118 of file Panel.hxx.

◆ SidebarPanelBaseInterfaceBase

typedef comphelper::WeakComponentImplHelper<css::ui::XContextChangeEventListener, css::ui::XUIElement, css::ui::XToolPanel, css::ui::XSidebarPanel, css::ui::XUpdateModel> sfx2::sidebar::SidebarPanelBaseInterfaceBase

Definition at line 46 of file SidebarPanelBase.hxx.

◆ ThemeInterfaceBase

Definition at line 37 of file Theme.hxx.

Function Documentation

◆ IMPL_LINK() [1/11]

sfx2::sidebar::IMPL_LINK ( FocusManager  ,
KeyInputHdl  ,
const KeyEvent ,
rKeyEvent  ,
bool   
)

Definition at line 499 of file FocusManager.cxx.

◆ IMPL_LINK() [2/11]

sfx2::sidebar::IMPL_LINK ( Panel  ,
DumpAsPropertyTreeHdl  ,
tools::JsonWriter ,
rJsonWriter  ,
void   
)

Definition at line 110 of file Panel.cxx.

◆ IMPL_LINK() [3/11]

sfx2::sidebar::IMPL_LINK ( PanelTitleBar  ,
ExpandHdl  ,
weld::Expander ,
rExpander  ,
void   
)

Definition at line 114 of file PanelTitleBar.cxx.

References mpPanel.

◆ IMPL_LINK() [4/11]

sfx2::sidebar::IMPL_LINK ( SidebarController  ,
OnMenuItemSelected  ,
const OUString &  ,
rCurItemId  ,
void   
)

◆ IMPL_LINK() [5/11]

sfx2::sidebar::IMPL_LINK ( SidebarController  ,
OnSubMenuItemSelected  ,
const OUString &  ,
rCurItemId  ,
void   
)

Definition at line 1191 of file SidebarController.cxx.

◆ IMPL_LINK() [6/11]

sfx2::sidebar::IMPL_LINK ( SidebarController  ,
WindowEventHandler  ,
VclWindowEvent ,
rEvent  ,
void   
)

◆ IMPL_LINK() [7/11]

sfx2::sidebar::IMPL_LINK ( SidebarToolBox  ,
ChangedDataHandler  ,
const DataChangedEvent ,
pDataChangedEvent  ,
void   
)

Definition at line 271 of file SidebarToolBox.cxx.

◆ IMPL_LINK() [8/11]

sfx2::sidebar::IMPL_LINK ( SidebarToolBox  ,
ClickHandler  ,
ToolBox ,
pToolBox  ,
void   
)

Definition at line 212 of file SidebarToolBox.cxx.

References xController.

◆ IMPL_LINK() [9/11]

sfx2::sidebar::IMPL_LINK ( SidebarToolBox  ,
DoubleClickHandler  ,
ToolBox ,
pToolBox  ,
void   
)

Definition at line 222 of file SidebarToolBox.cxx.

References xController.

◆ IMPL_LINK() [10/11]

sfx2::sidebar::IMPL_LINK ( SidebarToolBox  ,
DropDownClickHandler  ,
ToolBox ,
pToolBox  ,
void   
)

Definition at line 198 of file SidebarToolBox.cxx.

References xController.

◆ IMPL_LINK() [11/11]

sfx2::sidebar::IMPL_LINK ( SidebarToolBox  ,
SelectHandler  ,
ToolBox ,
pToolBox  ,
void   
)

Definition at line 232 of file SidebarToolBox.cxx.

References xController.

◆ IMPL_LINK_NOARG() [1/5]

sfx2::sidebar::IMPL_LINK_NOARG ( AsynchronousCall  ,
HandleUserCall  ,
void *  ,
void   
)

Definition at line 63 of file AsynchronousCall.cxx.

References maAction.

◆ IMPL_LINK_NOARG() [2/5]

sfx2::sidebar::IMPL_LINK_NOARG ( SidebarToolBox  ,
ChangedIconHandler  ,
LinkParamNone ,
void   
)

◆ IMPL_LINK_NOARG() [3/5]

sfx2::sidebar::IMPL_LINK_NOARG ( TabBar  ,
OnToolboxClicked  ,
weld::Toggleable ,
void   
)

◆ IMPL_LINK_NOARG() [4/5]

sfx2::sidebar::IMPL_LINK_NOARG ( TabBar::Item  ,
HandleClick  ,
const OUString &  ,
void   
)

Definition at line 270 of file TabBar.cxx.

References sfx2::sidebar::TabBar::maDeckActivationFunctor.

◆ IMPL_LINK_NOARG() [5/5]

sfx2::sidebar::IMPL_LINK_NOARG ( TitleBar  ,
SelectionHandler  ,
const OUString &  ,
void   
)

Definition at line 73 of file TitleBar.cxx.

◆ isChartOrMathContext()

static bool sfx2::sidebar::isChartOrMathContext ( const Context context)
static

◆ makeNotebookbarToolBox()

SAL_DLLPUBLIC_EXPORT void sfx2::sidebar::makeNotebookbarToolBox ( VclPtr< vcl::Window > &  rRet,
const VclPtr< vcl::Window > &  pParent,
VclBuilder::stringmap rMap 
)

Definition at line 332 of file SidebarToolBox.cxx.

References makeNotebookbarToolBox().

Referenced by makeNotebookbarToolBox().

◆ SAL_LOPLUGIN_ANNOTATE()

class SFX2_DLLPUBLIC sfx2::sidebar::SAL_LOPLUGIN_ANNOTATE ( "crosscast"  )

Return the preferred height with the constraint, that the window will be set to the given width.

Return the preferred height with the constraint, that the window will be set to the given width.

Definition at line 30 of file IContextChangeReceiver.hxx.

◆ SFX_IMPL_DOCKINGWINDOW_WITHID()

sfx2::sidebar::SFX_IMPL_DOCKINGWINDOW_WITHID ( SidebarChildWindow  ,
SID_SIDEBAR   
)