LibreOffice Module svx (master) 1
|
#include <clipboardctl.hxx>
Public Member Functions | |
SFX_DECL_TOOLBOX_CONTROL () | |
SvxClipBoardControl (sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx) | |
virtual | ~SvxClipBoardControl () override |
void | CreatePopupWindow () override |
virtual void | StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override |
Public Member Functions inherited from SfxToolBoxControl | |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override |
virtual void SAL_CALL | execute (sal_Int16 KeyModifier) override |
virtual void SAL_CALL | click () override |
virtual void SAL_CALL | doubleClick () override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | createPopupWindow () override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | createItemWindow (const css::uno::Reference< css::awt::XWindow > &rParent) override |
SFX_DECL_TOOLBOX_CONTROL () | |
SfxToolBoxControl (sal_uInt16 nSlotID, ToolBoxItemId nId, ToolBox &rBox, bool bShowStrings=false) | |
virtual | ~SfxToolBoxControl () override |
ToolBox & | GetToolBox () const |
ToolBoxItemId | GetId () const |
unsigned short | GetSlotId () const |
void | Dispatch (const OUString &aCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs) |
Private Attributes | |
std::unique_ptr< SfxPoolItem > | pClipboardFmtItem |
bool | bDisabled |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxToolBoxControl | |
static void | Dispatch (const css::uno::Reference< css::frame::XDispatchProvider > &rDispatchProvider, const OUString &rCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs) |
static SfxItemState | GetItemState (const SfxPoolItem *pState) |
static rtl::Reference< SfxToolBoxControl > | CreateControl (sal_uInt16 nSlotId, ToolBoxItemId nTbxId, ToolBox *pBox, SfxModule const *pMod) |
static void | RegisterToolBoxControl (SfxModule *, const SfxTbxCtrlFactory &) |
Protected Member Functions inherited from SfxToolBoxControl | |
virtual void | StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) |
virtual void | Select (sal_uInt16 nSelectModifier) |
virtual void | DoubleClick () |
virtual void | Click () |
virtual void | CreatePopupWindow () |
virtual VclPtr< InterimItemWindow > | CreateItemWindow (vcl::Window *pParent) |
Definition at line 32 of file clipboardctl.hxx.
SvxClipBoardControl::SvxClipBoardControl | ( | sal_uInt16 | nSlotId, |
ToolBoxItemId | nId, | ||
ToolBox & | rTbx | ||
) |
Definition at line 41 of file clipboardctl.cxx.
References ToolBox::GetItemBits(), SfxToolBoxControl::GetToolBox(), vcl::Window::Invalidate(), nId, and ToolBox::SetItemBits().
|
overridevirtual |
Definition at line 53 of file clipboardctl.cxx.
|
overridevirtual |
Reimplemented from SfxToolBoxControl.
Definition at line 57 of file clipboardctl.cxx.
References a, Any, SvxClipboardFormatItem::Count(), Application::CreateBuilder(), SfxToolBoxControl::Dispatch(), ToolBox::EndSelection(), SvxClipboardFormatItem::GetClipbrdFormatId(), SvxClipboardFormatItem::GetClipbrdFormatName(), SfxToolBoxControl::GetId(), ToolBox::GetItemRect(), weld::GetPopupParent(), SvPasteObjectHelper::GetSotFormatUIName(), SfxToolBoxControl::GetToolBox(), i, comphelper::makePropertyValue(), nCount, nId, pClipboardFmtItem, CntUInt32Item::QueryValue(), and ToolBox::SetItemDown().
SvxClipBoardControl::SFX_DECL_TOOLBOX_CONTROL | ( | ) |
|
overridevirtual |
Reimplemented from SfxToolBoxControl.
Definition at line 97 of file clipboardctl.cxx.
References bDisabled, SfxPoolItem::Clone(), ToolBox::EnableItem(), SfxToolBoxControl::GetId(), SfxToolBoxControl::GetItemState(), SfxToolBoxControl::GetToolBox(), vcl::Window::Invalidate(), pClipboardFmtItem, and ToolBox::SetItemBits().
|
private |
Definition at line 35 of file clipboardctl.hxx.
Referenced by StateChangedAtToolBoxControl().
|
private |
Definition at line 34 of file clipboardctl.hxx.
Referenced by CreatePopupWindow(), and StateChangedAtToolBoxControl().