LibreOffice Module sc (master) 1
|
#include <shapeuno.hxx>
Public Member Functions | |
ScShapeObj (css::uno::Reference< css::drawing::XShape > &xShape) | |
virtual | ~ScShapeObj () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
virtual void SAL_CALL | attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getAnchor () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | insertTextContent (const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::text::XTextContent > &xContent, sal_Bool bAbsorb) override |
virtual void SAL_CALL | removeTextContent (const css::uno::Reference< css::text::XTextContent > &xContent) override |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursor () override |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursorByRange (const css::uno::Reference< css::text::XTextRange > &aTextPosition) override |
virtual void SAL_CALL | insertString (const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override |
virtual void SAL_CALL | insertControlCharacter (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override |
virtual css::uno::Reference< css::text::XText > SAL_CALL | getText () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getStart () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getEnd () override |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &aString) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getParent () override |
virtual void SAL_CALL | setParent (const css::uno::Reference< css::uno::XInterface > &xParent) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL | getEvents () 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 |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Static Public Member Functions | |
static const SvEventDescription * | GetSupportedMacroItems () |
Private Member Functions | |
SdrObject * | GetSdrObject () const noexcept |
void | GetShapePropertySet () |
void | GetShapePropertyState () |
Private Attributes | |
css::uno::Reference< css::uno::XAggregation > | mxShapeAgg |
css::beans::XPropertySet * | pShapePropertySet |
css::beans::XPropertyState * | pShapePropertyState |
css::uno::Reference< css::beans::XPropertySetInfo > | mxPropSetInfo |
bool | bIsTextShape |
bool | bIsNoteCaption |
Friends | |
class | ShapeUnoEventAccessImpl |
ScMacroInfo * | ScShapeObj_getShapeHyperMacroInfo (const ScShapeObj *pShape, bool bCreate) |
Additional Inherited Members | |
Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
~ImplHelper1 () SAL_NOEXCEPT | |
Definition at line 59 of file shapeuno.hxx.
ScShapeObj::ScShapeObj | ( | css::uno::Reference< css::drawing::XShape > & | xShape | ) |
Definition at line 85 of file shapeuno.cxx.
References bIsNoteCaption, bIsTextShape, GetSdrObject(), ScDrawLayer::IsNoteCaption(), m_refCount, and mxShapeAgg.
|
overridevirtual |
Definition at line 120 of file shapeuno.cxx.
|
overridevirtualnoexcept |
Definition at line 144 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1079 of file shapeuno.cxx.
References lcl_GetComponent(), and mxShapeAgg.
|
overridevirtual |
Definition at line 890 of file shapeuno.cxx.
References GetShapePropertySet(), and pShapePropertySet.
|
overridevirtual |
Definition at line 910 of file shapeuno.cxx.
References GetShapePropertySet(), and pShapePropertySet.
|
overridevirtual |
Definition at line 1028 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1157 of file shapeuno.cxx.
References mxShapeAgg.
|
overridevirtual |
Definition at line 1173 of file shapeuno.cxx.
References mxShapeAgg.
|
overridevirtual |
Definition at line 1070 of file shapeuno.cxx.
References lcl_GetComponent(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1033 of file shapeuno.cxx.
References ScRange::aStart, SdrObject::GetCurrentBoundRect(), ScDrawLayer::GetDocument(), ScDocument::GetDocumentShell(), ScDocument::GetRange(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), lcl_GetPageNum(), and tools::Rectangle::TopLeft().
|
overridevirtual |
Definition at line 1238 of file shapeuno.cxx.
References lcl_GetTextRange(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1438 of file shapeuno.cxx.
References ShapeUnoEventAccessImpl.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Definition at line 1331 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1443 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1273 of file shapeuno.cxx.
References ScDrawLayer::GetDocument(), ScDocument::GetDocumentShell(), ScDrawLayer::GetNoteCaptionData(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), lcl_GetPageNum(), and ScDrawObjData::maStart.
|
overridevirtual |
Definition at line 1005 of file shapeuno.cxx.
References GetShapePropertyState(), pShapePropertyState, SC_UNONAME_IMAGEMAP, and SvUnoImageMap_createInstance().
|
overridevirtual |
Definition at line 216 of file shapeuno.cxx.
References GetShapePropertySet(), lcl_GetShapeMap(), mxPropSetInfo, and pShapePropertySet.
|
overridevirtual |
Definition at line 932 of file shapeuno.cxx.
References GetShapePropertyState(), pShapePropertyState, SC_UNONAME_ANCHOR, SC_UNONAME_HORIPOS, SC_UNONAME_IMAGEMAP, and SC_UNONAME_VERTPOS.
|
overridevirtual |
Definition at line 963 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 679 of file shapeuno.cxx.
References ScDrawLayer::GetAnchorType(), ScDrawLayer::GetDocument(), ScDocument::GetDocumentShell(), SvxIMapInfo::GetImageMap(), SvxIMapInfo::GetIMapInfo(), SfxShell::GetName(), ScDrawLayer::GetObjDataTab(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), GetShapePropertySet(), GetSupportedMacroItems(), ScDocument::IsNegativePage(), lcl_GetCaptionPoint(), lcl_GetPageNum(), lcl_GetRelativePos(), mxShapeAgg, pShapePropertySet, SC_UNONAME_ANCHOR, SC_UNONAME_HORIPOS, SC_UNONAME_HYPERLINK, SC_UNONAME_IMAGEMAP, SC_UNONAME_MOVEPROTECT, SC_UNONAME_RESIZE_WITH_CELL, SC_UNONAME_STYLE, SC_UNONAME_URL, SC_UNONAME_VERTPOS, SCA_CELL, SCA_CELL_RESIZE, and SvUnoImageMap_createInstance().
|
privatenoexcept |
Definition at line 1336 of file shapeuno.cxx.
References SdrObject::getSdrObjectFromXShape(), and mxShapeAgg.
Referenced by getAnchor(), getParent(), getPropertyValue(), ScShapeObj(), setPropertyToDefault(), and setPropertyValue().
|
private |
Definition at line 154 of file shapeuno.cxx.
References mxShapeAgg, and pShapePropertySet.
Referenced by addPropertyChangeListener(), addVetoableChangeListener(), getPropertySetInfo(), getPropertyValue(), removePropertyChangeListener(), removeVetoableChangeListener(), and setPropertyValue().
|
private |
Definition at line 168 of file shapeuno.cxx.
References mxShapeAgg, and pShapePropertyState.
Referenced by getPropertyDefault(), getPropertyState(), and setPropertyToDefault().
|
overridevirtual |
Definition at line 1227 of file shapeuno.cxx.
References lcl_GetTextRange(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1249 of file shapeuno.cxx.
References lcl_GetTextRange(), and mxShapeAgg.
|
static |
Definition at line 69 of file shapeuno.cxx.
Referenced by getPropertyValue(), and ScServiceProvider::MakeInstance().
|
overridevirtual |
Definition at line 1453 of file shapeuno.cxx.
References bIsNoteCaption, and mxShapeAgg.
|
overridevirtual |
Definition at line 1222 of file shapeuno.cxx.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Definition at line 1311 of file shapeuno.cxx.
References bIsTextShape, cppu::ImplHelper1< class Ifc1 >::getTypes(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1207 of file shapeuno.cxx.
References lcl_GetSimpleText(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1195 of file shapeuno.cxx.
References lcl_GetSimpleText(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1114 of file shapeuno.cxx.
References lcl_CopyOneProperty(), lcl_GetText(), mxShapeAgg, SC_UNONAME_REPR, SC_UNONAME_TARGET, and SC_UNONAME_URL.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Definition at line 128 of file shapeuno.cxx.
References bIsNoteCaption, bIsTextShape, uno::Any::hasValue(), mxShapeAgg, and cppu::ImplHelper1< class Ifc1 >::queryInterface().
|
overridevirtualnoexcept |
Definition at line 149 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1089 of file shapeuno.cxx.
References lcl_GetComponent(), and mxShapeAgg.
|
overridevirtual |
Definition at line 900 of file shapeuno.cxx.
References GetShapePropertySet(), and pShapePropertySet.
|
overridevirtual |
Definition at line 1143 of file shapeuno.cxx.
References lcl_GetText(), and mxShapeAgg.
|
overridevirtual |
Definition at line 920 of file shapeuno.cxx.
References GetShapePropertySet(), and pShapePropertySet.
|
overridevirtual |
Definition at line 1304 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 976 of file shapeuno.cxx.
References SvxIMapInfo::GetIMapInfo(), GetSdrObject(), GetShapePropertyState(), pShapePropertyState, SC_UNONAME_IMAGEMAP, and SvxIMapInfo::SetImageMap().
|
overridevirtual |
Definition at line 311 of file shapeuno.cxx.
References ScRange::aEnd, SdrObject::AppendUserData(), ScRange::aStart, tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), ScAddress::Col(), ScDrawLayer::GetAnchorType(), ScDrawLayer::GetDocument(), ScDocument::GetDocumentShell(), SvxIMapInfo::GetIMapInfo(), ScDocument::GetMMRect(), ScDrawLayer::GetObjData(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), GetShapePropertySet(), ScDocument::IsNegativePage(), lcl_GetCaptionPoint(), lcl_GetPageNum(), lcl_GetRelativePos(), ScDrawObjData::maStart, ScDrawObjData::maStartOffset, ScDocument::MaxCol(), ScDocument::MaxRow(), ScDrawObjData::mbResizeWithCell, mxShapeAgg, nPos, pShapePropertySet, ScAddress::Row(), SC_UNONAME_ANCHOR, SC_UNONAME_HORIPOS, SC_UNONAME_HYPERLINK, SC_UNONAME_IMAGEMAP, SC_UNONAME_MOVEPROTECT, SC_UNONAME_RESIZE_WITH_CELL, SC_UNONAME_STYLE, SC_UNONAME_URL, SC_UNONAME_VERTPOS, SCA_CELL, SCA_CELL_RESIZE, SCA_PAGE, ScDrawLayer::SetCellAnchored(), SdrObject::setHyperlink(), SvxIMapInfo::SetImageMap(), ScDrawLayer::SetPageAnchored(), SvUnoImageMap_fillImageMap(), ScAddress::Tab(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), ScDrawLayer::UpdateCellAnchorFromPositionEnd(), Point::X(), and Point::Y().
|
overridevirtual |
Definition at line 1260 of file shapeuno.cxx.
References lcl_GetTextRange(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1448 of file shapeuno.cxx.
References ServiceName, and cppu::supportsService().
|
friend |
Definition at line 77 of file shapeuno.cxx.
|
friend |
Definition at line 78 of file shapeuno.hxx.
Referenced by getEvents().
|
private |
Definition at line 71 of file shapeuno.hxx.
Referenced by getSupportedServiceNames(), queryInterface(), and ScShapeObj().
|
private |
Definition at line 70 of file shapeuno.hxx.
Referenced by getTypes(), queryInterface(), and ScShapeObj().
|
private |
Definition at line 69 of file shapeuno.hxx.
Referenced by getPropertySetInfo().
|
private |
Definition at line 65 of file shapeuno.hxx.
Referenced by addEventListener(), createTextCursor(), createTextCursorByRange(), dispose(), getEnd(), getPropertyValue(), GetSdrObject(), GetShapePropertySet(), GetShapePropertyState(), getStart(), getString(), getSupportedServiceNames(), getTypes(), insertControlCharacter(), insertString(), insertTextContent(), queryInterface(), removeEventListener(), removeTextContent(), ScShapeObj(), setPropertyValue(), and setString().
|
private |
Definition at line 67 of file shapeuno.hxx.
Referenced by addPropertyChangeListener(), addVetoableChangeListener(), getPropertySetInfo(), getPropertyValue(), GetShapePropertySet(), removePropertyChangeListener(), removeVetoableChangeListener(), and setPropertyValue().
|
private |
Definition at line 68 of file shapeuno.hxx.
Referenced by getPropertyDefault(), getPropertyState(), GetShapePropertyState(), and setPropertyToDefault().