LibreOffice Module sc (master) 1
|
Base class for drawing objects embedded in sheets. More...
#include <vbasheetobject.hxx>
Public Member Functions | |
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 double SAL_CALL | getLeft () override |
virtual void SAL_CALL | setLeft (double fLeft) override |
virtual double SAL_CALL | getTop () override |
virtual void SAL_CALL | setTop (double fTop) override |
virtual double SAL_CALL | getWidth () override |
virtual void SAL_CALL | setWidth (double fWidth) override |
virtual double SAL_CALL | getHeight () override |
virtual void SAL_CALL | setHeight (double fHeight) override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &rName) override |
virtual sal_Int32 SAL_CALL | getPlacement () override |
virtual void SAL_CALL | setPlacement (sal_Int32 nPlacement) override |
virtual sal_Bool SAL_CALL | getPrintObject () override |
virtual void SAL_CALL | setPrintObject (sal_Bool bPrintObject) override |
void | setDefaultProperties (sal_Int32 nIndex) |
Sets default properties after a new object has been created. More... | |
Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... Ifc > | |
InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext) | |
virtual OUString | getServiceImplName ()=0 |
virtual css::uno::Sequence< OUString > | getServiceNames ()=0 |
virtual ::sal_Int32 SAL_CALL | getCreator () override |
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL | getParent () override |
virtual css::uno::Any SAL_CALL | Application () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Protected Member Functions | |
virtual OUString | implGetBaseName () const =0 |
Derived classes return the base name used for new objects. More... | |
virtual void | implSetDefaultProperties () |
Derived classes set default properties for new drawing objects. More... | |
Protected Attributes | |
ScVbaPalette | maPalette |
css::uno::Reference< css::frame::XModel > | mxModel |
css::uno::Reference< css::drawing::XShape > | mxShape |
css::uno::Reference< css::beans::XPropertySet > | mxShapeProps |
Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Base class for drawing objects embedded in sheets.
Definition at line 82 of file vbasheetobject.hxx.
|
explicit |
css::uno::RuntimeException |
Definition at line 167 of file vbasheetobject.cxx.
|
overridevirtual |
Definition at line 218 of file vbasheetobject.cxx.
References HmmToPoints(), and mxShape.
|
overridevirtual |
Definition at line 182 of file vbasheetobject.cxx.
References HmmToPoints(), and mxShape.
|
overridevirtual |
Definition at line 230 of file vbasheetobject.cxx.
References mxShapeProps.
|
overridevirtual |
Definition at line 240 of file vbasheetobject.cxx.
References eType, SvxShape::GetSdrObject(), SdrObject::getSdrObjectFromXShape(), mxShape, and SCA_PAGE.
|
overridevirtual |
Definition at line 280 of file vbasheetobject.cxx.
|
overridevirtual |
Definition at line 194 of file vbasheetobject.cxx.
References HmmToPoints(), and mxShape.
|
overridevirtual |
Definition at line 206 of file vbasheetobject.cxx.
References HmmToPoints(), and mxShape.
|
protectedpure virtual |
Derived classes return the base name used for new objects.
Referenced by setDefaultProperties().
|
protectedvirtual |
Derived classes set default properties for new drawing objects.
css::uno::RuntimeException |
Definition at line 300 of file vbasheetobject.cxx.
Referenced by setDefaultProperties().
void ScVbaSheetObjectBase::setDefaultProperties | ( | sal_Int32 | nIndex | ) |
Sets default properties after a new object has been created.
css::uno::RuntimeException |
Definition at line 293 of file vbasheetobject.cxx.
References aName, implGetBaseName(), implSetDefaultProperties(), nIndex, and setName().
|
overridevirtual |
Definition at line 223 of file vbasheetobject.cxx.
References mxShape, and PointsToHmm().
|
overridevirtual |
Definition at line 187 of file vbasheetobject.cxx.
References mxShape, and PointsToHmm().
|
overridevirtual |
Definition at line 235 of file vbasheetobject.cxx.
References mxShapeProps.
Referenced by setDefaultProperties().
|
overridevirtual |
Definition at line 259 of file vbasheetobject.cxx.
References eType, SvxShape::GetSdrObject(), SdrObject::getSdrObjectFromXShape(), mxShape, SCA_CELL, and SCA_PAGE.
|
overridevirtual |
Definition at line 286 of file vbasheetobject.cxx.
|
overridevirtual |
Definition at line 199 of file vbasheetobject.cxx.
References mxShape, and PointsToHmm().
|
overridevirtual |
Definition at line 211 of file vbasheetobject.cxx.
References mxShape, and PointsToHmm().
|
protected |
Definition at line 124 of file vbasheetobject.hxx.
|
protected |
Definition at line 125 of file vbasheetobject.hxx.
|
protected |
Definition at line 126 of file vbasheetobject.hxx.
Referenced by getHeight(), getLeft(), getPlacement(), getTop(), getWidth(), setHeight(), setLeft(), setPlacement(), setTop(), and setWidth().
|
protected |
Definition at line 127 of file vbasheetobject.hxx.