LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SvxColorDockingWindow Class Referencefinal

#include <colrctrl.hxx>

Inheritance diagram for SvxColorDockingWindow:
Collaboration diagram for SvxColorDockingWindow:

Public Member Functions

 SvxColorDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent)
virtual ~SvxColorDockingWindow () override
virtual void dispose () override
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual bool EventNotify (NotifyEvent &rNEvt) override
- Public Member Functions inherited from SfxDockingWindow
 SfxDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, WinBits nWinBits)
 SfxDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription)
virtual ~SfxDockingWindow () override
void Initialize (SfxChildWinInfo *pInfo)
virtual void FillInfo (SfxChildWinInfo &) const
virtual void StateChanged (StateChangedType nStateChange) override
void SetDockingRects (const tools::Rectangle &rOuter, const tools::Rectangle &rInner)
const tools::RectangleGetInnerRect () const
const tools::RectangleGetOuterRect () const
SfxBindingsGetBindings () const
sal_uInt16 GetType () const
SfxChildAlignment GetAlignment () const
void SetAlignment (SfxChildAlignment eAlign)
const SizeGetFloatingSize () const
void SetFloatingSize (const Size &rSize)
void SetMinOutputSizePixel (const Size &rSize)
const SizeGetMinOutputSizePixel () const
 DECL_LINK (TimerHdl, Timer *, void)
SAL_DLLPRIVATE void Initialize_Impl ()
SAL_DLLPRIVATE void SetItemSize_Impl (const Size &rSize)
SAL_DLLPRIVATE void Disappear_Impl ()
SAL_DLLPRIVATE void Reappear_Impl ()
SAL_DLLPRIVATE bool IsAutoHide_Impl () const
SAL_DLLPRIVATE void AutoShow_Impl ()
SAL_DLLPRIVATE void ReleaseChildWindow_Impl ()
- Public Member Functions inherited from SfxListener
 SfxListener ()
 SfxListener (const SfxListener &rCopy)
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
void EndListeningAll ()
bool IsListening (SfxBroadcaster &rBroadcaster) const
sal_uInt16 GetBroadcasterCount () const
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)

Private Member Functions

void FillValueSet ()
void SetSize ()
 DECL_LINK (SelectHdl, ValueSet *, void)
virtual void GetFocus () override
 This function is called when the window gets the focus. More...
virtual bool Close () override
virtual void Resize () override
virtual void Resizing (Size &rSize) override

Private Attributes

XColorListRef pColorList
VclPtr< SvxColorValueSet_dockingaColorSet
sal_uInt16 nCols
sal_uInt16 nLines
long nCount
Size aItemSize


class SvxColorChildWindow

Additional Inherited Members

- Protected Member Functions inherited from SfxDockingWindow
SfxChildAlignment CalcAlignment (const Point &rPos, tools::Rectangle &rRect)
virtual Size CalcDockingSize (SfxChildAlignment)
virtual SfxChildAlignment CheckAlignment (SfxChildAlignment, SfxChildAlignment)
virtual bool PrepareToggleFloatingMode () override
virtual void ToggleFloatingMode () override
virtual void StartDocking () override
virtual bool Docking (const Point &rPos, tools::Rectangle &rRect) override
virtual void EndDocking (const tools::Rectangle &rRect, bool bFloatMode) override
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual void Move () override
SAL_DLLPRIVATE SfxChildWindowGetChildWindow_Impl ()
- Protected Attributes inherited from SfxDockingWindow
std::unique_ptr< weld::Builderm_xBuilder
VclPtr< vcl::Windowm_xVclContentArea
std::unique_ptr< weld::Containerm_xContainer

Detailed Description

Definition at line 72 of file colrctrl.hxx.

Constructor & Destructor Documentation

SvxColorDockingWindow::SvxColorDockingWindow ( SfxBindings pBindings,
SfxChildWindow pCW,
vcl::Window pParent 
SvxColorDockingWindow::~SvxColorDockingWindow ( )

Definition at line 244 of file colrctrl.cxx.

Member Function Documentation

bool SvxColorDockingWindow::Close ( )
SvxColorDockingWindow::DECL_LINK ( SelectHdl  ,
ValueSet ,
void SvxColorDockingWindow::dispose ( void  )
bool SvxColorDockingWindow::EventNotify ( NotifyEvent rNEvt)
void SvxColorDockingWindow::FillValueSet ( )
void SvxColorDockingWindow::GetFocus ( )

This function is called when the window gets the focus.

It grabs the focus to the color value set so that it can be controlled with the keyboard.

Definition at line 496 of file colrctrl.cxx.

References aColorSet.

void SvxColorDockingWindow::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 

Reimplemented from SfxListener.

Definition at line 256 of file colrctrl.cxx.

References FillValueSet(), SfxPoolItemHint::GetObject(), and pColorList.

void SvxColorDockingWindow::Resize ( )

Reimplemented from SfxDockingWindow.

Definition at line 489 of file colrctrl.cxx.

References SfxDockingWindow::Resize(), and SetSize().

void SvxColorDockingWindow::Resizing ( Size rSize)
void SvxColorDockingWindow::SetSize ( )

Friends And Related Function Documentation

friend class SvxColorChildWindow

Definition at line 74 of file colrctrl.hxx.

Member Data Documentation

VclPtr<SvxColorValueSet_docking> SvxColorDockingWindow::aColorSet

Definition at line 78 of file colrctrl.hxx.

Referenced by dispose(), FillValueSet(), GetFocus(), Resizing(), and SetSize().

Size SvxColorDockingWindow::aItemSize

Definition at line 82 of file colrctrl.hxx.

Referenced by Resizing(), and SetSize().

sal_uInt16 SvxColorDockingWindow::nCols

Definition at line 79 of file colrctrl.hxx.

Referenced by Resizing(), and SetSize().

long SvxColorDockingWindow::nCount

Definition at line 81 of file colrctrl.hxx.

Referenced by FillValueSet(), Resizing(), and SetSize().

sal_uInt16 SvxColorDockingWindow::nLines

Definition at line 80 of file colrctrl.hxx.

Referenced by Resizing(), and SetSize().

XColorListRef SvxColorDockingWindow::pColorList

Definition at line 77 of file colrctrl.hxx.

Referenced by FillValueSet(), and Notify().

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