LibreOffice Module vbahelper (master) 1
|
#include <vbashape.hxx>
Public Member Functions | |
ScVbaShape (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::drawing::XShape > xShape, css::uno::Reference< css::drawing::XShapes > xShapes, css::uno::Reference< css::frame::XModel > xModel, sal_Int32 nType) | |
virtual | ~ScVbaShape () override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &_name) override |
virtual OUString SAL_CALL | getAlternativeText () override |
virtual void SAL_CALL | setAlternativeText (const OUString &_name) override |
virtual double SAL_CALL | getHeight () override |
virtual void SAL_CALL | setHeight (double _height) override |
virtual double SAL_CALL | getWidth () override |
virtual void SAL_CALL | setWidth (double _width) override |
virtual double SAL_CALL | getLeft () override |
virtual void SAL_CALL | setLeft (double _left) override |
virtual double SAL_CALL | getTop () override |
virtual void SAL_CALL | setTop (double _top) override |
virtual sal_Bool SAL_CALL | getVisible () override |
virtual void SAL_CALL | setVisible (sal_Bool _visible) override |
virtual sal_Int32 SAL_CALL | getZOrderPosition () override |
virtual sal_Int32 SAL_CALL | getType () override |
virtual double SAL_CALL | getRotation () override |
virtual void SAL_CALL | setRotation (double _rotation) override |
virtual css::uno::Reference< ov::msforms::XLineFormat > SAL_CALL | getLine () override |
virtual css::uno::Reference< ov::msforms::XFillFormat > SAL_CALL | getFill () override |
virtual css::uno::Reference< ov::msforms::XPictureFormat > SAL_CALL | getPictureFormat () override |
virtual sal_Bool SAL_CALL | getLockAspectRatio () override |
virtual void SAL_CALL | setLockAspectRatio (sal_Bool _lockaspectratio) override |
virtual sal_Bool SAL_CALL | getLockAnchor () override |
virtual void SAL_CALL | setLockAnchor (sal_Bool _lockanchor) override |
virtual ::sal_Int32 SAL_CALL | getRelativeHorizontalPosition () override |
virtual void SAL_CALL | setRelativeHorizontalPosition (::sal_Int32 _relativehorizontalposition) override |
virtual ::sal_Int32 SAL_CALL | getRelativeVerticalPosition () override |
virtual void SAL_CALL | setRelativeVerticalPosition (::sal_Int32 _relativeverticalposition) override |
virtual css::uno::Any SAL_CALL | TextFrame () override |
virtual css::uno::Any SAL_CALL | WrapFormat () override |
virtual void SAL_CALL | Delete () override |
virtual void SAL_CALL | ZOrder (sal_Int32 ZOrderCmd) override |
virtual void SAL_CALL | IncrementRotation (double Increment) override |
virtual void SAL_CALL | IncrementLeft (double Increment) override |
virtual void SAL_CALL | IncrementTop (double Increment) override |
virtual void SAL_CALL | ScaleHeight (double Factor, sal_Bool RelativeToOriginalSize, sal_Int32 Scale) override |
virtual void SAL_CALL | ScaleWidth (double Factor, sal_Bool RelativeToOriginalSize, sal_Int32 Scale) override |
virtual void SAL_CALL | Select (const css::uno::Any &Replace) override |
virtual css::uno::Any SAL_CALL | ShapeRange (const css::uno::Any &index) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEventObject) override |
Public Member Functions inherited from InheritedHelperInterfaceImpl< 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 |
Static Public Member Functions | |
static sal_Int32 | getType (const css::uno::Reference< css::drawing::XShape > &rShape) |
static sal_Int32 | getAutoShapeType (const css::uno::Reference< css::drawing::XShape > &rShape) |
Protected Member Functions | |
void | addListeners () |
void | removeShapeListener () |
void | removeShapesListener () |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
Protected Attributes | |
ov::ShapeHelper | m_aShapeHelper |
css::uno::Reference< css::drawing::XShape > | m_xShape |
css::uno::Reference< css::drawing::XShapes > | m_xShapes |
css::uno::Reference< css::beans::XPropertySet > | m_xPropertySet |
sal_Int32 | m_nType |
css::uno::Reference< css::frame::XModel > | m_xModel |
Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 60 of file vbashape.hxx.
ScVbaShape::ScVbaShape | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
css::uno::Reference< css::drawing::XShape > | xShape, | ||
css::uno::Reference< css::drawing::XShapes > | xShapes, | ||
css::uno::Reference< css::frame::XModel > | xModel, | ||
sal_Int32 | nType | ||
) |
css::lang::IllegalArgumentException | |
css::uno::RuntimeException |
Definition at line 52 of file vbashape.cxx.
References addListeners(), m_xModel, m_xPropertySet, m_xShape, nType, and xModel.
|
overridevirtual |
Definition at line 64 of file vbashape.cxx.
|
protected |
Definition at line 86 of file vbashape.cxx.
References m_xShape, and m_xShapes.
Referenced by ScVbaShape().
|
overridevirtual |
Definition at line 405 of file vbashape.cxx.
|
overridevirtual |
Definition at line 69 of file vbashape.cxx.
References removeShapeListener(), and removeShapesListener().
|
overridevirtual |
Definition at line 221 of file vbashape.cxx.
References m_xShape.
|
static |
|
overridevirtual |
Definition at line 378 of file vbashape.cxx.
References m_xShape, and InheritedHelperInterfaceImpl< Ifc >::mxContext.
|
overridevirtual |
Definition at line 237 of file vbashape.cxx.
References ooo::vba::ShapeHelper::getHeight(), and m_aShapeHelper.
Referenced by ScaleHeight().
|
overridevirtual |
Definition at line 261 of file vbashape.cxx.
References ooo::vba::ShapeHelper::getLeft(), left, m_aShapeHelper, and m_xPropertySet.
Referenced by IncrementLeft(), and ScaleWidth().
|
overridevirtual |
Definition at line 371 of file vbashape.cxx.
References m_xShape, and InheritedHelperInterfaceImpl< Ifc >::mxContext.
|
overridevirtual |
Definition at line 570 of file vbashape.cxx.
|
overridevirtual |
Definition at line 557 of file vbashape.cxx.
|
overridevirtual |
Definition at line 205 of file vbashape.cxx.
|
overridevirtual |
Definition at line 384 of file vbashape.cxx.
References m_xShape, and InheritedHelperInterfaceImpl< Ifc >::mxContext.
|
override |
Definition at line 583 of file vbashape.cxx.
References m_xPropertySet, and nType.
|
override |
Definition at line 654 of file vbashape.cxx.
References m_xPropertySet, and nType.
|
overridevirtual |
Definition at line 354 of file vbashape.cxx.
References m_xPropertySet.
Referenced by IncrementRotation().
|
overrideprotectedvirtual |
Implements InheritedHelperInterfaceImpl< Ifc >.
Definition at line 738 of file vbashape.cxx.
|
overrideprotectedvirtual |
Implements InheritedHelperInterfaceImpl< Ifc >.
Definition at line 744 of file vbashape.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 293 of file vbashape.cxx.
References ooo::vba::ShapeHelper::getTop(), m_aShapeHelper, m_xPropertySet, and top.
Referenced by IncrementTop(), and ScaleHeight().
|
overridevirtual |
Definition at line 348 of file vbashape.cxx.
References m_nType.
Referenced by ScVbaShapes::AddEllipse(), ScVbaShapes::AddLine(), ScVbaShapes::AddRectangle(), ScVbaShapes::AddTextboxInWriter(), ScVbaShapeRange::createCollectionObject(), ScVbaShapes::createCollectionObject(), and getAutoShapeType().
|
static |
|
overridevirtual |
Definition at line 324 of file vbashape.cxx.
|
overridevirtual |
Definition at line 249 of file vbashape.cxx.
References ooo::vba::ShapeHelper::getWidth(), and m_aShapeHelper.
Referenced by ScaleWidth().
|
overridevirtual |
Definition at line 339 of file vbashape.cxx.
References m_xPropertySet.
|
overridevirtual |
Definition at line 454 of file vbashape.cxx.
|
overridevirtual |
Definition at line 446 of file vbashape.cxx.
References getRotation(), and setRotation().
|
overridevirtual |
Definition at line 462 of file vbashape.cxx.
|
protected |
css::uno::RuntimeException |
Definition at line 98 of file vbashape.cxx.
References m_xPropertySet, and m_xShape.
Referenced by disposing().
|
protected |
css::uno::RuntimeException |
Definition at line 110 of file vbashape.cxx.
References m_xShapes.
Referenced by disposing().
|
overridevirtual |
Definition at line 470 of file vbashape.cxx.
References getHeight(), getTop(), Scale, setHeight(), and setTop().
|
overridevirtual |
Definition at line 499 of file vbashape.cxx.
References getLeft(), getWidth(), Scale, setLeft(), and setWidth().
|
overridevirtual |
Definition at line 528 of file vbashape.cxx.
|
overridevirtual |
Definition at line 230 of file vbashape.cxx.
References m_xShape.
|
overridevirtual |
Definition at line 243 of file vbashape.cxx.
References m_aShapeHelper, and ooo::vba::ShapeHelper::setHeight().
Referenced by ScaleHeight().
|
overridevirtual |
Definition at line 279 of file vbashape.cxx.
References m_aShapeHelper, m_xPropertySet, and ooo::vba::ShapeHelper::setLeft().
Referenced by IncrementLeft(), and ScaleWidth().
|
overridevirtual |
Definition at line 577 of file vbashape.cxx.
|
overridevirtual |
Definition at line 564 of file vbashape.cxx.
|
overridevirtual |
Definition at line 214 of file vbashape.cxx.
References m_xShape.
|
overridevirtual |
Definition at line 620 of file vbashape.cxx.
References ERRCODE_BASIC_BAD_ARGUMENT, m_xPropertySet, and nType.
|
overridevirtual |
Definition at line 691 of file vbashape.cxx.
References ERRCODE_BASIC_BAD_ARGUMENT, m_xPropertySet, and nType.
|
overridevirtual |
Definition at line 364 of file vbashape.cxx.
References m_xPropertySet.
Referenced by IncrementRotation().
|
overridevirtual |
Definition at line 310 of file vbashape.cxx.
References m_aShapeHelper, m_xPropertySet, and ooo::vba::ShapeHelper::setTop().
Referenced by IncrementTop(), and ScaleHeight().
|
overridevirtual |
Definition at line 332 of file vbashape.cxx.
|
overridevirtual |
Definition at line 255 of file vbashape.cxx.
References m_aShapeHelper, and ooo::vba::ShapeHelper::setWidth().
Referenced by ScaleWidth().
|
overridevirtual |
Definition at line 538 of file vbashape.cxx.
References index, m_xModel, m_xShape, InheritedHelperInterfaceImpl< Ifc >::mxContext, and InheritedHelperInterfaceImpl< Ifc >::mxParent.
|
overridevirtual |
Definition at line 391 of file vbashape.cxx.
References InheritedHelperInterfaceImpl< Ifc >::getParent(), comphelper::getProcessComponentContext(), m_xModel, m_xShape, and InheritedHelperInterfaceImpl< Ifc >::mxContext.
|
overridevirtual |
Definition at line 725 of file vbashape.cxx.
References InheritedHelperInterfaceImpl< Ifc >::getParent(), comphelper::getProcessComponentContext(), m_xModel, and m_xShape.
|
overridevirtual |
Definition at line 412 of file vbashape.cxx.
References m_xPropertySet, and SAL_MAX_INT32.
|
protected |
Definition at line 63 of file vbashape.hxx.
Referenced by getHeight(), getLeft(), getTop(), getWidth(), setHeight(), setLeft(), setTop(), and setWidth().
|
protected |
Definition at line 67 of file vbashape.hxx.
Referenced by getType().
|
protected |
Definition at line 68 of file vbashape.hxx.
Referenced by Select(), ShapeRange(), TextFrame(), and WrapFormat().
|
protected |
Definition at line 66 of file vbashape.hxx.
Referenced by getLeft(), getRelativeHorizontalPosition(), getRelativeVerticalPosition(), getRotation(), getTop(), getZOrderPosition(), removeShapeListener(), ScVbaShape(), setLeft(), setRelativeHorizontalPosition(), setRelativeVerticalPosition(), setRotation(), setTop(), and ZOrder().
|
protected |
Definition at line 64 of file vbashape.hxx.
Referenced by addListeners(), Delete(), getAlternativeText(), getFill(), getLine(), getName(), getPictureFormat(), removeShapeListener(), ScVbaShape(), Select(), setAlternativeText(), setName(), ShapeRange(), TextFrame(), and WrapFormat().
|
protected |
Definition at line 65 of file vbashape.hxx.
Referenced by addListeners(), Delete(), and removeShapesListener().