LibreOffice Module svx (master) 1
|
#include <fillctrl.hxx>
Public Member Functions | |
SFX_DECL_TOOLBOX_CONTROL () | |
SvxFillToolBoxControl (sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx) | |
virtual | ~SvxFillToolBoxControl () override |
virtual void | StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override |
void | Update () |
virtual VclPtr< InterimItemWindow > | CreateItemWindow (vcl::Window *pParent) 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 Member Functions | |
DECL_DLLPRIVATE_LINK (SelectFillTypeHdl, weld::ComboBox &, void) | |
DECL_DLLPRIVATE_LINK (SelectFillAttrHdl, weld::ComboBox &, void) | |
Private Attributes | |
std::unique_ptr< XFillStyleItem > | mpStyleItem |
std::unique_ptr< XFillColorItem > | mpColorItem |
std::unique_ptr< XFillGradientItem > | mpFillGradientItem |
std::unique_ptr< XFillHatchItem > | mpHatchItem |
std::unique_ptr< XFillBitmapItem > | mpBitmapItem |
VclPtr< FillControl > | mxFillControl |
weld::ComboBox * | mpLbFillType |
weld::Toolbar * | mpToolBoxColor |
weld::ComboBox * | mpLbFillAttr |
sal_Int32 | mnLastXFS |
sal_Int32 | mnLastPosGradient |
sal_Int32 | mnLastPosHatch |
sal_Int32 | mnLastPosBitmap |
sal_Int32 | mnLastPosPattern |
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 42 of file fillctrl.hxx.
SvxFillToolBoxControl::SvxFillToolBoxControl | ( | sal_uInt16 | nSlotId, |
ToolBoxItemId | nId, | ||
ToolBox & | rTbx | ||
) |
Definition at line 77 of file fillctrl.cxx.
References nId.
|
overridevirtual |
Definition at line 102 of file fillctrl.cxx.
|
overridevirtual |
Reimplemented from SfxToolBoxControl.
Definition at line 574 of file fillctrl.cxx.
References weld::ComboBox::connect_changed(), VclPtr< class reference_type >::get(), SfxToolBoxControl::GetSlotId(), LINK, m_xFrame, mpLbFillAttr, mpLbFillType, mpToolBoxColor, mxFillControl, and VclPtr< class reference_type >::reset().
|
private |
|
private |
SvxFillToolBoxControl::SFX_DECL_TOOLBOX_CONTROL | ( | ) |
References Update.
|
overridevirtual |
Reimplemented from SfxToolBoxControl.
Definition at line 106 of file fillctrl.cxx.
References weld::ComboBox::clear(), XFillStyleItem::Clone(), SfxPoolItem::Clone(), SfxObjectShell::Current(), SvxFillAttrBox::Fill(), weld::Widget::hide(), mnLastXFS, mpBitmapItem, mpColorItem, mpFillGradientItem, mpHatchItem, mpLbFillAttr, mpLbFillType, mpStyleItem, mpToolBoxColor, mxFillControl, weld::ComboBox::set_active(), weld::ComboBox::set_active_text(), weld::Widget::set_sensitive(), weld::Widget::show(), and Update().
void SvxFillToolBoxControl::Update | ( | ) |
Definition at line 347 of file fillctrl.cxx.
References weld::ComboBox::append(), XPropertyList::AsBitmapList(), Bitmap, weld::ComboBox::clear(), XPropertyList::CreatePropertyList(), SfxObjectShell::Current(), SvxFillAttrBox::Fill(), weld::ComboBox::get_active_text(), weld::ComboBox::get_count(), weld::ComboBox::get_text(), SfxShell::GetItem(), BitmapEx::GetSizePixel(), weld::Widget::hide(), BitmapEx::IsEmpty(), mnLastXFS, mpBitmapItem, mpColorItem, mpFillGradientItem, mpHatchItem, mpLbFillAttr, mpLbFillType, mpStyleItem, mpToolBoxColor, mxFillControl, nCount, PATTERN, weld::ComboBox::remove(), weld::ComboBox::set_active(), weld::ComboBox::set_active_text(), weld::Widget::set_sensitive(), weld::Widget::show(), TMP_STR_BEGIN, and TMP_STR_END.
Referenced by StateChangedAtToolBoxControl().
|
private |
Definition at line 59 of file fillctrl.hxx.
|
private |
Definition at line 57 of file fillctrl.hxx.
|
private |
Definition at line 58 of file fillctrl.hxx.
|
private |
Definition at line 60 of file fillctrl.hxx.
|
private |
Definition at line 56 of file fillctrl.hxx.
Referenced by StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 49 of file fillctrl.hxx.
Referenced by StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 46 of file fillctrl.hxx.
Referenced by StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 47 of file fillctrl.hxx.
Referenced by StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 48 of file fillctrl.hxx.
Referenced by StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 54 of file fillctrl.hxx.
Referenced by CreateItemWindow(), StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 52 of file fillctrl.hxx.
Referenced by CreateItemWindow(), StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 45 of file fillctrl.hxx.
Referenced by StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 53 of file fillctrl.hxx.
Referenced by CreateItemWindow(), StateChangedAtToolBoxControl(), and Update().
|
private |
Definition at line 51 of file fillctrl.hxx.
Referenced by CreateItemWindow(), StateChangedAtToolBoxControl(), and Update().