LibreOffice Module svx (master) 1
|
#include <colrctrl.hxx>
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 OUString &rID, const OUString &rUIXMLDescription) | |
virtual | ~SfxDockingWindow () override |
virtual void | dispose () 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::Rectangle & | GetInnerRect () const |
const tools::Rectangle & | GetOuterRect () const |
SfxBindings & | GetBindings () const |
sal_uInt16 | GetType () const |
SfxChildAlignment | GetAlignment () const |
void | SetAlignment (SfxChildAlignment eAlign) |
const Size & | GetFloatingSize () const |
void | SetFloatingSize (const Size &rSize) |
void | SetMinOutputSizePixel (const Size &rSize) |
const Size & | GetMinOutputSizePixel () const |
virtual bool | EventNotify (NotifyEvent &rNEvt) override |
DECL_DLLPRIVATE_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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
void | FillValueSet () |
DECL_LINK (SelectHdl, ValueSet *, void) | |
virtual void | GetFocus () override |
This function is called when the window gets the focus. More... | |
virtual bool | Close () override |
Private Attributes | |
XColorListRef | pColorList |
std::unique_ptr< SvxColorValueSet_docking > | xColorSet |
std::unique_ptr< weld::CustomWeld > | xColorSetWin |
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 void | Resize () override |
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 | Resizing (Size &rSize) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual bool | Close () override |
virtual void | Move () override |
SAL_DLLPRIVATE SfxChildWindow * | GetChildWindow_Impl () |
Protected Attributes inherited from SfxDockingWindow | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Box > | m_xContainer |
Definition at line 69 of file colrctrl.hxx.
SvxColorDockingWindow::SvxColorDockingWindow | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pCW, | ||
vcl::Window * | pParent | ||
) |
Definition at line 181 of file colrctrl.cxx.
References FillValueSet(), SfxBindings::GetDispatcher(), SvxColorValueSet::getEntryEdgeLength(), SfxDispatcher::GetFrame(), SfxShell::GetItem(), SfxViewShell::GetObjectShell(), SfxShell::GetViewShell(), Size::Height(), HID_COLOR_CTL_COLORS, HID_CTRL_COLOR, LINK, pColorList, Size::setHeight(), SetHelpId(), SetText(), Size::setWidth(), SfxListener::StartListening(), SvxResId(), Size::Width(), and xColorSet.
|
overridevirtual |
Definition at line 233 of file colrctrl.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 284 of file colrctrl.cxx.
References SfxDockingWindow::Close(), SfxDispatcher::ExecuteList(), SfxDockingWindow::GetBindings(), and SfxBindings::GetDispatcher().
|
private |
|
overridevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 238 of file colrctrl.cxx.
References SfxDockingWindow::dispose(), SfxListener::EndListening(), SfxDockingWindow::GetBindings(), xColorSet, and xColorSetWin.
|
overridevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 404 of file colrctrl.cxx.
References SfxDockingWindow::EventNotify(), vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), NotifyEvent::GetKeyEvent(), NotifyEvent::GetType(), and KEY_ESCAPE.
|
private |
Definition at line 258 of file colrctrl.cxx.
References COL_BLACK(), COL_WHITE(), SvxColorValueSet::getEntryEdgeLength(), Size::Height(), pColorList, SvxResId(), Size::Width(), and xColorSet.
Referenced by Notify(), and SvxColorDockingWindow().
|
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 393 of file colrctrl.cxx.
References xColorSet.
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 246 of file colrctrl.cxx.
References FillValueSet(), SfxPoolItemHint::GetObject(), and pColorList.
|
friend |
Definition at line 71 of file colrctrl.hxx.
|
private |
Definition at line 74 of file colrctrl.hxx.
Referenced by FillValueSet(), Notify(), and SvxColorDockingWindow().
|
private |
Definition at line 75 of file colrctrl.hxx.
Referenced by dispose(), FillValueSet(), GetFocus(), and SvxColorDockingWindow().
|
private |
Definition at line 76 of file colrctrl.hxx.
Referenced by dispose().