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:
[legend]
Collaboration diagram for SvxColorDockingWindow:
[legend]

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
 

Friends

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 ()
 

Detailed Description

Definition at line 75 of file colrctrl.hxx.

Constructor & Destructor Documentation

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

Definition at line 242 of file colrctrl.cxx.

Member Function Documentation

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

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 494 of file colrctrl.cxx.

References aColorSet.

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

Reimplemented from SfxListener.

Definition at line 254 of file colrctrl.cxx.

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

void SvxColorDockingWindow::Resize ( )
overrideprivatevirtual

Reimplemented from SfxDockingWindow.

Definition at line 487 of file colrctrl.cxx.

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

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

Friends And Related Function Documentation

friend class SvxColorChildWindow
friend

Definition at line 77 of file colrctrl.hxx.

Member Data Documentation

VclPtr<SvxColorValueSet_docking> SvxColorDockingWindow::aColorSet
private

Definition at line 81 of file colrctrl.hxx.

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

Size SvxColorDockingWindow::aItemSize
private

Definition at line 85 of file colrctrl.hxx.

Referenced by Resizing(), and SetSize().

sal_uInt16 SvxColorDockingWindow::nCols
private

Definition at line 82 of file colrctrl.hxx.

Referenced by Resizing(), and SetSize().

long SvxColorDockingWindow::nCount
private

Definition at line 84 of file colrctrl.hxx.

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

sal_uInt16 SvxColorDockingWindow::nLines
private

Definition at line 83 of file colrctrl.hxx.

Referenced by Resizing(), and SetSize().

XColorListRef SvxColorDockingWindow::pColorList
private

Definition at line 80 of file colrctrl.hxx.

Referenced by FillValueSet(), and Notify().


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