22#include <ooo/vba/excel/XButton.hpp>
23#include <ooo/vba/excel/XControlObject.hpp>
24#include <ooo/vba/excel/XSheetObject.hpp>
30 namespace container {
class XIndexContainer; }
31 namespace drawing {
class XControlShape; }
42 const css::uno::Reference< ov::XHelperInterface >& rxParent,
43 const css::uno::Reference< css::uno::XComponentContext >& rxContext,
44 const css::uno::Reference< css::beans::XPropertySet >& rxPropSet,
46 const css::uno::Any& rStart,
47 const css::uno::Any& rLength );
51 virtual OUString SAL_CALL
getCaption()
override;
52 virtual void SAL_CALL
setCaption(
const OUString& rCaption )
override;
53 virtual OUString SAL_CALL
getText()
override;
54 virtual void SAL_CALL
setText(
const OUString& rText )
override;
55 virtual sal_Int32 SAL_CALL
getCount()
override;
56 virtual css::uno::Reference< ov::excel::XFont > SAL_CALL
getFont()
override;
57 virtual void SAL_CALL
setFont(
const css::uno::Reference< ov::excel::XFont >& rxFont )
override;
60 virtual void SAL_CALL
Insert(
const OUString& rString )
override;
61 virtual void SAL_CALL
Delete()
override;
74 css::uno::Reference< css::beans::XPropertySet >
mxPropSet;
87 const css::uno::Reference< ov::XHelperInterface >& rxParent,
88 const css::uno::Reference< css::uno::XComponentContext >& rxContext,
89 const css::uno::Reference< css::frame::XModel >& rxModel,
90 const css::uno::Reference< css::drawing::XShape >& rxShape );
93 virtual double SAL_CALL
getLeft()
override;
94 virtual void SAL_CALL
setLeft(
double fLeft )
override;
95 virtual double SAL_CALL
getTop()
override;
96 virtual void SAL_CALL
setTop(
double fTop )
override;
97 virtual double SAL_CALL
getWidth()
override;
98 virtual void SAL_CALL
setWidth(
double fWidth )
override;
99 virtual double SAL_CALL
getHeight()
override;
100 virtual void SAL_CALL
setHeight(
double fHeight )
override;
101 virtual OUString SAL_CALL
getName()
override;
102 virtual void SAL_CALL
setName(
const OUString& rName )
override;
104 virtual void SAL_CALL
setPlacement( sal_Int32 nPlacement )
override;
125 css::uno::Reference< css::frame::XModel >
mxModel;
126 css::uno::Reference< css::drawing::XShape >
mxShape;
137 const css::uno::Reference< ov::XHelperInterface >& rxParent,
138 const css::uno::Reference< css::uno::XComponentContext >& rxContext,
139 const css::uno::Reference< css::frame::XModel >& rxModel,
140 const css::uno::Reference< css::container::XIndexContainer >& rxFormIC,
141 const css::uno::Reference< css::drawing::XControlShape >& rxControlShape );
144 virtual OUString SAL_CALL
getName()
override;
145 virtual void SAL_CALL
setName(
const OUString& rName )
override;
147 virtual void SAL_CALL
setOnAction(
const OUString& rMacroName )
override;
163 css::uno::Reference< css::container::XIndexContainer >
mxFormIC;
168typedef ::cppu::ImplInheritanceHelper< ScVbaControlObjectBase, ov::excel::XButton >
ScVbaButton_BASE;
175 const css::uno::Reference< ov::XHelperInterface >& rxParent,
176 const css::uno::Reference< css::uno::XComponentContext >& rxContext,
177 const css::uno::Reference< css::frame::XModel >& rxModel,
178 const css::uno::Reference< css::container::XIndexContainer >& rxFormIC,
179 const css::uno::Reference< css::drawing::XControlShape >& rxControlShape );
182 virtual OUString SAL_CALL
getCaption()
override;
183 virtual void SAL_CALL
setCaption(
const OUString& rCaption )
override;
184 virtual css::uno::Reference< ov::excel::XFont > SAL_CALL
getFont()
override;
185 virtual void SAL_CALL
setFont(
const css::uno::Reference< ov::excel::XFont >& rxFont )
override;
191 virtual void SAL_CALL
setOrientation( sal_Int32 nOrientation )
override;
192 virtual css::uno::Any SAL_CALL
getValue()
override;
193 virtual void SAL_CALL
setValue(
const css::uno::Any &
nValue )
override;
194 virtual OUString SAL_CALL
getText()
override;
195 virtual void SAL_CALL
setText(
const OUString &aText )
override;
198 css::uno::Reference< ov::excel::XCharacters > SAL_CALL
Characters(
199 const css::uno::Any& rStart,
const css::uno::Any& rLength )
override;
virtual void SAL_CALL setAutoSize(sal_Bool bAutoSize) override
virtual sal_Bool SAL_CALL getAutoSize() override
sal_Int32 getModelIndexInForm() const
ScVbaControlObjectBase(const css::uno::Reference< ov::XHelperInterface > &rxParent, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XModel > &rxModel, const css::uno::Reference< css::container::XIndexContainer > &rxFormIC, const css::uno::Reference< css::drawing::XControlShape > &rxControlShape)
virtual void SAL_CALL setPrintObject(sal_Bool bPrintObject) override
css::uno::Reference< css::beans::XPropertySet > mxControlProps
virtual OUString SAL_CALL getOnAction() override
virtual OUString SAL_CALL getName() override
virtual sal_Bool SAL_CALL getPrintObject() override
virtual void SAL_CALL setName(const OUString &rName) override
bool mbNotifyMacroEventRead
void NotifyMacroEventRead()
Notify that the document contains a macro event handler.
css::uno::Reference< css::container::XIndexContainer > mxFormIC
virtual void SAL_CALL setOnAction(const OUString &rMacroName) override
Base class for drawing objects embedded in sheets.
virtual sal_Int32 SAL_CALL getPlacement() override
virtual void SAL_CALL setName(const OUString &rName) override
virtual void SAL_CALL setTop(double fTop) override
virtual void implSetDefaultProperties()
Derived classes set default properties for new drawing objects.
css::uno::Reference< css::drawing::XShape > mxShape
virtual double SAL_CALL getHeight() override
virtual OUString SAL_CALL getName() override
void setDefaultProperties(sal_Int32 nIndex)
Sets default properties after a new object has been created.
virtual double SAL_CALL getLeft() override
css::uno::Reference< css::frame::XModel > mxModel
css::uno::Reference< css::beans::XPropertySet > mxShapeProps
virtual double SAL_CALL getWidth() override
virtual void SAL_CALL setWidth(double fWidth) override
virtual sal_Bool SAL_CALL getPrintObject() override
virtual void SAL_CALL setPrintObject(sal_Bool bPrintObject) override
virtual OUString implGetBaseName() const =0
Derived classes return the base name used for new objects.
virtual void SAL_CALL setLeft(double fLeft) override
virtual void SAL_CALL setHeight(double fHeight) override
virtual double SAL_CALL getTop() override
ScVbaSheetObjectBase(const css::uno::Reference< ov::XHelperInterface > &rxParent, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XModel > &rxModel, const css::uno::Reference< css::drawing::XShape > &rxShape)
virtual void SAL_CALL setPlacement(sal_Int32 nPlacement) override
#define VBAHELPER_DECL_XHELPERINTERFACE
::cppu::ImplInheritanceHelper< ScVbaControlObjectBase, ov::excel::XButton > ScVbaButton_BASE
::cppu::ImplInheritanceHelper< ScVbaSheetObjectBase, ov::excel::XControlObject > ScVbaControlObject_BASE
InheritedHelperInterfaceWeakImpl< ov::excel::XCharacters > ScVbaButtonCharacters_BASE
InheritedHelperInterfaceWeakImpl< ov::excel::XSheetObject > ScVbaSheetObject_BASE