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 () override throw () |
virtual void SAL_CALL | release () override throw () |
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 |
Static Public Member Functions | |
static const SvEventDescription * | GetSupportedMacroItems () |
Private Member Functions | |
SdrObject * | GetSdrObject () const throw () |
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 | |
![]() | |
~ImplHelper1 () | |
Definition at line 60 of file shapeuno.hxx.
ScShapeObj::ScShapeObj | ( | css::uno::Reference< css::drawing::XShape > & | xShape | ) |
Definition at line 83 of file shapeuno.cxx.
References bIsNoteCaption, bIsTextShape, GetSdrObject(), ScDrawLayer::IsNoteCaption(), m_refCount, and mxShapeAgg.
|
overridevirtual |
Definition at line 118 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 142 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1049 of file shapeuno.cxx.
References lcl_GetComponent(), and mxShapeAgg.
|
overridevirtual |
Definition at line 858 of file shapeuno.cxx.
References GetShapePropertySet(), and pShapePropertySet.
|
overridevirtual |
Definition at line 878 of file shapeuno.cxx.
References GetShapePropertySet(), and pShapePropertySet.
|
overridevirtual |
Definition at line 996 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1128 of file shapeuno.cxx.
References mxShapeAgg.
|
overridevirtual |
Definition at line 1144 of file shapeuno.cxx.
References mxShapeAgg.
Definition at line 1040 of file shapeuno.cxx.
References lcl_GetComponent(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1003 of file shapeuno.cxx.
References SdrObject::GetCurrentBoundRect(), ScDrawLayer::GetDocument(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), lcl_GetPageNum(), Point, and tools::Rectangle::TopLeft().
|
overridevirtual |
Definition at line 1209 of file shapeuno.cxx.
References lcl_GetTextRange(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1414 of file shapeuno.cxx.
References ShapeUnoEventAccessImpl.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class >.
Definition at line 1302 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1419 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1244 of file shapeuno.cxx.
References ScDrawLayer::GetDocument(), ScDrawLayer::GetNoteCaptionData(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), lcl_GetPageNum(), and ScDrawObjData::maStart.
|
overridevirtual |
Definition at line 973 of file shapeuno.cxx.
References GetShapePropertyState(), pShapePropertyState, SC_UNONAME_IMAGEMAP, and SvUnoImageMap_createInstance().
|
overridevirtual |
Definition at line 214 of file shapeuno.cxx.
References GetShapePropertySet(), lcl_GetShapeMap(), mxPropSetInfo, and pShapePropertySet.
|
overridevirtual |
Definition at line 900 of file shapeuno.cxx.
References GetShapePropertyState(), pShapePropertyState, SC_UNONAME_ANCHOR, SC_UNONAME_HORIPOS, SC_UNONAME_IMAGEMAP, and SC_UNONAME_VERTPOS.
Referenced by getPropertyStates().
|
overridevirtual |
Definition at line 931 of file shapeuno.cxx.
References getPropertyState().
|
overridevirtual |
Definition at line 661 of file shapeuno.cxx.
References ScDrawLayer::GetAnchorType(), ScDrawLayer::GetDocument(), ScDocument::GetDocumentShell(), SvxIMapInfo::GetImageMap(), SvxIMapInfo::GetIMapInfo(), 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_URL, SC_UNONAME_VERTPOS, SCA_CELL, SCA_CELL_RESIZE, ScShapeObj_getShapeHyperMacroInfo, and SvUnoImageMap_createInstance().
|
private |
Definition at line 1307 of file shapeuno.cxx.
References SdrObject::getSdrObjectFromXShape(), and mxShapeAgg.
Referenced by getAnchor(), getParent(), getPropertyValue(), ScShapeObj(), ScShapeObj_getShapeHyperMacroInfo(), setPropertyToDefault(), and setPropertyValue().
|
private |
Definition at line 152 of file shapeuno.cxx.
References mxShapeAgg, and pShapePropertySet.
Referenced by addPropertyChangeListener(), addVetoableChangeListener(), getPropertySetInfo(), getPropertyValue(), removePropertyChangeListener(), removeVetoableChangeListener(), and setPropertyValue().
|
private |
Definition at line 166 of file shapeuno.cxx.
References mxShapeAgg, and pShapePropertyState.
Referenced by getPropertyDefault(), getPropertyState(), and setPropertyToDefault().
|
overridevirtual |
Definition at line 1198 of file shapeuno.cxx.
References lcl_GetTextRange(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1220 of file shapeuno.cxx.
References lcl_GetTextRange(), and mxShapeAgg.
|
static |
Definition at line 67 of file shapeuno.cxx.
Referenced by getPropertyValue(), and ScServiceProvider::MakeInstance().
|
overridevirtual |
Definition at line 1429 of file shapeuno.cxx.
References bIsNoteCaption, and mxShapeAgg.
|
overridevirtual |
Definition at line 1193 of file shapeuno.cxx.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class >.
Definition at line 1282 of file shapeuno.cxx.
References bIsTextShape, cppu::ImplHelper1< class >::getTypes(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1178 of file shapeuno.cxx.
References lcl_GetSimpleText(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1166 of file shapeuno.cxx.
References lcl_GetSimpleText(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1085 of file shapeuno.cxx.
References lcl_CopyOneProperty(), lcl_GetText(), mxShapeAgg, SC_UNONAME_REPR, SC_UNONAME_TARGET, and SC_UNONAME_URL.
|
overridevirtual |
Definition at line 126 of file shapeuno.cxx.
References bIsNoteCaption, bIsTextShape, uno::Any::hasValue(), mxShapeAgg, and cppu::ImplHelper1< class >::queryInterface().
|
overridevirtual |
Definition at line 147 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 1059 of file shapeuno.cxx.
References lcl_GetComponent(), and mxShapeAgg.
|
overridevirtual |
Definition at line 868 of file shapeuno.cxx.
References GetShapePropertySet(), and pShapePropertySet.
|
overridevirtual |
Definition at line 1114 of file shapeuno.cxx.
References lcl_GetText(), and mxShapeAgg.
|
overridevirtual |
Definition at line 888 of file shapeuno.cxx.
References GetShapePropertySet(), and pShapePropertySet.
|
overridevirtual |
Definition at line 1275 of file shapeuno.cxx.
|
overridevirtual |
Definition at line 944 of file shapeuno.cxx.
References SvxIMapInfo::GetIMapInfo(), GetSdrObject(), GetShapePropertyState(), pShapePropertyState, SC_UNONAME_IMAGEMAP, and SvxIMapInfo::SetImageMap().
|
overridevirtual |
Definition at line 309 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, ScDrawObjData::mbResizeWithCell, mxShapeAgg, nPos, Point, 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_URL, SC_UNONAME_VERTPOS, SCA_CELL, SCA_CELL_RESIZE, SCA_PAGE, ScShapeObj_getShapeHyperMacroInfo, ScDrawLayer::SetCellAnchored(), ScMacroInfo::SetHlink(), SvxIMapInfo::SetImageMap(), ScDrawLayer::SetPageAnchored(), SvUnoImageMap_fillImageMap(), ScAddress::Tab(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), and ScDrawLayer::UpdateCellAnchorFromPositionEnd().
|
overridevirtual |
Definition at line 1231 of file shapeuno.cxx.
References lcl_GetTextRange(), and mxShapeAgg.
|
overridevirtual |
Definition at line 1424 of file shapeuno.cxx.
References cppu::supportsService().
|
friend |
Definition at line 75 of file shapeuno.cxx.
Referenced by getPropertyValue(), and setPropertyValue().
|
friend |
Definition at line 79 of file shapeuno.hxx.
Referenced by getEvents().
|
private |
Definition at line 72 of file shapeuno.hxx.
Referenced by getSupportedServiceNames(), queryInterface(), and ScShapeObj().
|
private |
Definition at line 71 of file shapeuno.hxx.
Referenced by getTypes(), queryInterface(), and ScShapeObj().
|
private |
Definition at line 70 of file shapeuno.hxx.
Referenced by getPropertySetInfo().
|
private |
Definition at line 66 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 68 of file shapeuno.hxx.
Referenced by addPropertyChangeListener(), addVetoableChangeListener(), getPropertySetInfo(), getPropertyValue(), GetShapePropertySet(), removePropertyChangeListener(), removeVetoableChangeListener(), and setPropertyValue().
|
private |
Definition at line 69 of file shapeuno.hxx.
Referenced by getPropertyDefault(), getPropertyState(), GetShapePropertyState(), and setPropertyToDefault().