|
LibreOffice Module svx (master) 1
|
#include <tbxcolorupdate.hxx>
Public Member Functions | |
| VclToolboxButtonColorUpdater (sal_uInt16 nSlotId, ToolBoxItemId nTbxBtnId, ToolBox *ptrTbx, bool bWideButton, const OUString &rCommandLabel, const OUString &rCommandURL, const css::uno::Reference< css::frame::XFrame > &rFrame) | |
Public Member Functions inherited from svx::ToolboxButtonColorUpdaterBase | |
| ToolboxButtonColorUpdaterBase (bool bWideButton, OUString aCommandLabel, OUString aCommandURL, sal_uInt16 nSlotId, css::uno::Reference< css::frame::XFrame > xFrame) | |
| virtual | ~ToolboxButtonColorUpdaterBase () |
| void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| void | SetRecentColor (const NamedColor &rNamedColor) |
| void | Update (const NamedColor &rNamedColor) |
| void | Update (const Color &rColor, bool bForceUpdate=false) |
| Color const & | GetCurrentColor () const |
| OUString | GetCurrentColorName () const |
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 | |
| virtual void | SetQuickHelpText (const OUString &rText) override |
| virtual OUString | GetQuickHelpText () const override |
| virtual void | SetImage (VirtualDevice *pVirDev) override |
| virtual VclPtr< VirtualDevice > | CreateVirtualDevice () const override |
| virtual bool | RecordVirtualDevice () const override |
| virtual vcl::ImageType | GetImageSize () const override |
| virtual Size | GetItemSize (const Size &rImageSize) const override |
Private Attributes | |
| ToolBoxItemId | mnBtnId |
| VclPtr< ToolBox > | mpTbx |
Additional Inherited Members | |
Protected Member Functions inherited from svx::ToolboxButtonColorUpdaterBase | |
| void | Init (sal_uInt16 nSlotId) |
| virtual void | SetQuickHelpText (const OUString &rText)=0 |
| virtual OUString | GetQuickHelpText () const =0 |
| virtual void | SetImage (VirtualDevice *pVirDev)=0 |
| virtual VclPtr< VirtualDevice > | CreateVirtualDevice () const =0 |
| virtual bool | RecordVirtualDevice () const =0 |
| virtual vcl::ImageType | GetImageSize () const =0 |
| virtual Size | GetItemSize (const Size &rImageSize) const =0 |
Protected Attributes inherited from svx::ToolboxButtonColorUpdaterBase | |
| bool | mbWideButton |
| bool | mbWasHiContrastMode |
| sal_uInt16 | mnSlotId |
| Color | maCurColor |
| tools::Rectangle | maUpdRect |
| Size | maBmpSize |
| vcl::ImageType | meImageType |
| OUString | maCommandLabel |
| OUString | maCommandURL |
| css::uno::Reference< css::frame::XFrame > | mxFrame |
Definition at line 96 of file tbxcolorupdate.hxx.
| svx::VclToolboxButtonColorUpdater::VclToolboxButtonColorUpdater | ( | sal_uInt16 | nSlotId, |
| ToolBoxItemId | nTbxBtnId, | ||
| ToolBox * | ptrTbx, | ||
| bool | bWideButton, | ||
| const OUString & | rCommandLabel, | ||
| const OUString & | rCommandURL, | ||
| const css::uno::Reference< css::frame::XFrame > & | rFrame | ||
| ) |
Definition at line 123 of file tbxcolorupdate.cxx.
References svx::ToolboxButtonColorUpdaterBase::Init().
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 158 of file tbxcolorupdate.cxx.
References VclPtr< class reference_type >::Create(), and mpTbx.
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 163 of file tbxcolorupdate.cxx.
References mpTbx.
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 168 of file tbxcolorupdate.cxx.
References svx::ToolboxButtonColorUpdaterBase::mbWideButton, mnBtnId, and mpTbx.
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 139 of file tbxcolorupdate.cxx.
|
inlineoverrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 112 of file tbxcolorupdate.hxx.
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 144 of file tbxcolorupdate.cxx.
References OutputDevice::GetConnectMetaFile(), Graphic::GetXGraphic(), mnBtnId, mpTbx, GDIMetaFile::Stop(), and GDIMetaFile::WindStart().
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 134 of file tbxcolorupdate.cxx.
|
private |
Definition at line 105 of file tbxcolorupdate.hxx.
Referenced by GetItemSize(), GetQuickHelpText(), SetImage(), and SetQuickHelpText().
Definition at line 106 of file tbxcolorupdate.hxx.
Referenced by CreateVirtualDevice(), GetImageSize(), GetItemSize(), GetQuickHelpText(), SetImage(), and SetQuickHelpText().