LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwXShape Class Reference

#include <unodraw.hxx>

Inheritance diagram for SwXShape:
[legend]
Collaboration diagram for SwXShape:
[legend]

Public Member Functions

 SwXShape (css::uno::Reference< css::uno::XInterface > &xShape, SwDoc const *const pDoc)
 
virtual void Notify (const SfxHint &) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) 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 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::awt::Point SAL_CALL getPosition () override
 
virtual void SAL_CALL setPosition (const css::awt::Point &aPosition) override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual void SAL_CALL setSize (const css::awt::Size &aSize) override
 
virtual OUString SAL_CALL getShapeType () override
 
SwShapeDescriptor_ImplGetDescImpl ()
 
SwFrameFormatGetFrameFormat () const
 
const css::uno::Reference< css::uno::XAggregation > & GetAggregationInterface () const
 
- Public Member Functions inherited from cppu::WeakAggImplHelper6< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT 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
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
static void AddExistingShapeToFormat (SdrObject const &_rObj)
 

Protected Member Functions

virtual ~SwXShape () override
 
- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 

Private Member Functions

SvxShapeGetSvxShape ()
 
SdrObjectGetTopGroupObj (SvxShape *_pSvxShape=nullptr)
 method to determine top group object More...
 
css::awt::Point GetAttrPosition ()
 method to determine position according to the positioning attributes More...
 
css::awt::Point ConvertPositionToHoriL2R (const css::awt::Point &rObjPos, const css::awt::Size &rObjSize)
 method to convert the position (translation) of the drawing object to the layout direction horizontal left-to-right. More...
 
css::drawing::HomogenMatrix3 ConvertTransformationToLayoutDir (const css::drawing::HomogenMatrix3 &rMatrixInHoriL2R)
 method to convert the transformation of the drawing object to the layout direction, the drawing object is in More...
 
void AdjustPositionProperties (const css::awt::Point &rPosition)
 method to adjust the positioning properties More...
 
css::awt::Point ConvertStartOrEndPosToLayoutDir (const css::awt::Point &aStartOrEndPos)
 method to convert start or end position of the drawing object to the Writer specific position, which is the attribute position in layout direction More...
 
css::drawing::PolyPolygonBezierCoords ConvertPolyPolygonBezierToLayoutDir (const css::drawing::PolyPolygonBezierCoords &aPath)
 method to convert PolyPolygonBezier of the drawing object to the Writer specific position, which is the attribute position in layout direction More...
 
css::uno::Any _getPropAtAggrObj (const OUString &_rPropertyName)
 method to get property from aggregation object More...
 
void SetFrameFormat (SwFrameFormat *pFormat)
 

Private Attributes

const SwFmDrawPagem_pPage
 
SwFrameFormatm_pFormat
 
css::uno::Reference< css::uno::XAggregation > m_xShapeAgg
 
css::uno::Reference< css::drawing::XShape > mxShape
 
const SfxItemPropertySetm_pPropSet
 
const SfxItemPropertyMapEntrym_pPropertyMapEntries
 
css::uno::Reference< css::beans::XPropertySetInfo > mxPropertySetInfo
 
std::unique_ptr< SwShapeDescriptor_Implm_pImpl
 
bool m_bDescriptor
 

Friends

class SwXGroupShape
 
class SwXDrawPage
 
class SwFmDrawPage
 

Additional Inherited Members

- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 132 of file unodraw.hxx.

Constructor & Destructor Documentation

◆ ~SwXShape()

SwXShape::~SwXShape ( )
overrideprotectedvirtual

Definition at line 951 of file unodraw.cxx.

References SvtListener::EndListeningAll(), m_pImpl, m_pPage, and m_xShapeAgg.

◆ SwXShape()

SwXShape::SwXShape ( css::uno::Reference< css::uno::XInterface > &  xShape,
SwDoc const *const  pDoc 
)

Member Function Documentation

◆ _getPropAtAggrObj()

uno::Any SwXShape::_getPropAtAggrObj ( const OUString &  _rPropertyName)
private

method to get property from aggregation object

Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

Definition at line 1765 of file unodraw.cxx.

References cppu::UnoType< typename T >::get(), and m_xShapeAgg.

Referenced by getPropertyValue().

◆ addEventListener()

void SwXShape::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 2175 of file unodraw.cxx.

References SvxShape::addEventListener(), and GetSvxShape().

◆ AddExistingShapeToFormat()

void SwXShape::AddExistingShapeToFormat ( SdrObject const &  _rObj)
static

◆ addPropertyChangeListener()

void SwXShape::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 2000 of file unodraw.cxx.

References m_xShapeAgg.

◆ addVetoableChangeListener()

void SwXShape::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 2026 of file unodraw.cxx.

◆ AdjustPositionProperties()

void SwXShape::AdjustPositionProperties ( const css::awt::Point &  rPosition)
private

method to adjust the positioning properties

method to adjust the positioning properties #i31698#

Parameters
_aPositioninput parameter - point representing the new shape position. The position has to be given in the layout direction the shape is in and relative to its position alignment areas.

Definition at line 2545 of file unodraw.cxx.

References getPropertyValue(), SwPostItHelper::NONE, setPropertyValue(), and u.

Referenced by setPosition().

◆ attach()

void SwXShape::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
overridevirtual

◆ ConvertPolyPolygonBezierToLayoutDir()

css::drawing::PolyPolygonBezierCoords SwXShape::ConvertPolyPolygonBezierToLayoutDir ( const css::drawing::PolyPolygonBezierCoords &  aPath)
private

method to convert PolyPolygonBezier of the drawing object to the Writer specific position, which is the attribute position in layout direction

Definition at line 2659 of file unodraw.cxx.

References convertTwipToMm100(), basegfx::utils::createTranslateB2DHomMatrix(), basegfx::fround(), SdrObject::GetAnchorPos(), getPosition(), SvxShape::GetSdrObject(), SdrObject::GetSnapRect(), GetSvxShape(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Point, and tools::Rectangle::TopLeft().

Referenced by getPropertyValue().

◆ ConvertPositionToHoriL2R()

awt::Point SwXShape::ConvertPositionToHoriL2R ( const css::awt::Point &  rObjPos,
const css::awt::Size &  rObjSize 
)
private

method to convert the position (translation) of the drawing object to the layout direction horizontal left-to-right.

#i31698#

Definition at line 2440 of file unodraw.cxx.

References GetFrameFormat(), SwFrameFormat::GetLayoutDir(), SwFrameFormat::HORI_L2R, SwFrameFormat::HORI_R2L, and SwFrameFormat::VERT_R2L.

Referenced by setPosition().

◆ ConvertStartOrEndPosToLayoutDir()

css::awt::Point SwXShape::ConvertStartOrEndPosToLayoutDir ( const css::awt::Point &  aStartOrEndPos)
private

method to convert start or end position of the drawing object to the Writer specific position, which is the attribute position in layout direction

method to convert start or end position of the drawing object to the Writer specific position, which is the attribute position in layout direction #i59051#

Definition at line 2621 of file unodraw.cxx.

References convertTwipToMm100(), SdrObject::GetAnchorPos(), getPosition(), SvxShape::GetSdrObject(), SdrObject::GetSnapRect(), GetSvxShape(), Point, and tools::Rectangle::TopLeft().

Referenced by getPropertyValue().

◆ ConvertTransformationToLayoutDir()

drawing::HomogenMatrix3 SwXShape::ConvertTransformationToLayoutDir ( const css::drawing::HomogenMatrix3 &  rMatrixInHoriL2R)
private

method to convert the transformation of the drawing object to the layout direction, the drawing object is in

method to convert the transformation of the drawing object to the layout direction, the drawing object is in #i31698#

Definition at line 2481 of file unodraw.cxx.

References convertTwipToMm100(), basegfx::B2DHomMatrix::get(), SdrObject::GetAnchorPos(), getPosition(), SvxShape::GetSdrObject(), SdrObject::GetSnapRect(), GetSvxShape(), Point, basegfx::B2DHomMatrix::set(), tools::Rectangle::TopLeft(), and basegfx::B2DHomMatrix::translate().

Referenced by getPropertyValue().

◆ dispose()

void SwXShape::dispose ( void  )
overridevirtual

◆ GetAggregationInterface()

const css::uno::Reference< css::uno::XAggregation > & SwXShape::GetAggregationInterface ( ) const
inline

Definition at line 259 of file unodraw.hxx.

References m_xShapeAgg.

Referenced by SwUnoCursorHelper::GetSelectableFromAny().

◆ getAnchor()

uno::Reference< text::XTextRange > SwXShape::getAnchor ( )
overridevirtual

◆ GetAttrPosition()

awt::Point SwXShape::GetAttrPosition ( )
private

method to determine position according to the positioning attributes

method to determine position according to the positioning attributes #i31698#

Definition at line 2396 of file unodraw.cxx.

References convertTwipToMm100(), SdrObject::GetAnchorPos(), getPropertyValue(), SvxShape::GetSdrObject(), SdrObject::GetSnapRect(), GetSvxShape(), tools::Rectangle::Left(), and tools::Rectangle::Top().

Referenced by getPosition().

◆ GetDescImpl()

SwShapeDescriptor_Impl * SwXShape::GetDescImpl ( )
inline

Definition at line 257 of file unodraw.hxx.

References m_pImpl.

Referenced by SwXDrawPage::add().

◆ GetFrameFormat()

SwFrameFormat * SwXShape::GetFrameFormat ( ) const
inline

◆ getImplementationId()

uno::Sequence< sal_Int8 > SwXShape::getImplementationId ( )
overridevirtual

◆ getImplementationName()

OUString SwXShape::getImplementationName ( )
overridevirtual

Definition at line 2191 of file unodraw.cxx.

◆ getPosition()

awt::Point SAL_CALL SwXShape::getPosition ( )
overridevirtual

◆ getPropertyDefault()

uno::Any SwXShape::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SwXShape::getPropertySetInfo ( )
overridevirtual

◆ getPropertyState()

beans::PropertyState SwXShape::getPropertyState ( const OUString &  PropertyName)
overridevirtual

Definition at line 1782 of file unodraw.cxx.

References getPropertyStates().

◆ getPropertyStates()

uno::Sequence< beans::PropertyState > SwXShape::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual

◆ getPropertyValue()

uno::Any SwXShape::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 1463 of file unodraw.cxx.

References _getPropAtAggrObj(), ConvertPolyPolygonBezierToLayoutDir(), ConvertStartOrEndPosToLayoutDir(), ConvertTransformationToLayoutDir(), convertTwipToMm100(), SwXTextRange::CreateXTextRange(), SwFrameFormat::FindRealSdrObject(), FN_ANCHOR_POSITION, FN_SHAPE_ENDPOSITION_IN_HORI_L2R, FN_SHAPE_POSITION_LAYOUT_DIR, FN_SHAPE_STARTPOSITION_IN_HORI_L2R, FN_SHAPE_TRANSFORMATION_IN_HORI_L2R, FN_TEXT_BOX, FN_TEXT_RANGE, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SdrObject::GetAnchorPos(), SwFormat::GetAttrSet(), SfxItemPropertyMap::getByName(), SwFormatAnchor::GetContentAnchor(), SwFormat::GetDoc(), GetFrameFormat(), IDocumentDrawModelAccess::GetHellId(), SwDoc::getIDocumentDrawModelAccess(), IDocumentDrawModelAccess::GetInvisibleHellId(), SdrObject::GetLayer(), SwTextBoxHelper::getOrdNum(), SwFrameFormat::GetPositionLayoutDir(), SwTextBoxHelper::getProperty(), SfxItemPropertySet::getPropertyMap(), SfxItemPropertySet::getPropertyValue(), SdrObject::GetRelativeHeight(), SdrObject::GetRelativeHeightRelation(), SdrObject::GetRelativeWidth(), SdrObject::GetRelativeWidthRelation(), SvxShape::GetSdrObject(), SdrObject::getSdrObjectFromXShape(), GetSvxShape(), SwTextBoxHelper::isTextBox(), m_pImpl, m_pPropSet, m_xShapeAgg, MID_CHAIN_NAME, MID_CHAIN_NEXTNAME, MID_CHAIN_PREVNAME, MID_FRMSIZE_REL_HEIGHT, MID_FRMSIZE_REL_HEIGHT_RELATION, MID_FRMSIZE_REL_WIDTH, MID_FRMSIZE_REL_WIDTH_RELATION, MID_TEXT_BOX, MID_TEXT_BOX_CONTENT, mxShape, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, Point, SwTextBoxHelper::queryInterface(), SfxPoolItem::QueryValue(), RES_ANCHOR(), RES_CHAIN(), RES_DRAWFRMFMT(), RES_FOLLOW_TEXT_FLOW(), RES_FRM_SIZE(), RES_HORI_ORIENT(), RES_LR_SPACE(), RES_OPAQUE(), RES_SURROUND(), RES_UL_SPACE(), RES_VERT_ORIENT(), RES_WRAP_INFLUENCE_ON_OBJPOS(), rSet, SAL_WARN_IF, and xFrame.

Referenced by AdjustPositionProperties(), and GetAttrPosition().

◆ getShapeType()

OUString SAL_CALL SwXShape::getShapeType ( )
overridevirtual

Definition at line 2361 of file unodraw.cxx.

References mxShape.

Referenced by setPropertyValue().

◆ getSize()

awt::Size SAL_CALL SwXShape::getSize ( )
overridevirtual

Definition at line 2339 of file unodraw.cxx.

References mxShape.

Referenced by setPosition().

◆ getSomething()

sal_Int64 SAL_CALL SwXShape::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SwXShape::getSupportedServiceNames ( )
overridevirtual

Definition at line 2201 of file unodraw.cxx.

References aSeq, comphelper::concatSequences(), GetSvxShape(), and u.

◆ GetSvxShape()

SvxShape * SwXShape::GetSvxShape ( )
private

◆ GetTopGroupObj()

SdrObject * SwXShape::GetTopGroupObj ( SvxShape _pSvxShape = nullptr)
private

method to determine top group object

method to determine top group object #i31698#

Definition at line 2372 of file unodraw.cxx.

References SdrObject::getParentSdrObjectFromSdrObject(), SvxShape::GetSdrObject(), and GetSvxShape().

Referenced by getPosition(), and setPosition().

◆ getTypes()

uno::Sequence< uno::Type > SwXShape::getTypes ( )
overridevirtual

◆ getUnoTunnelId()

const uno::Sequence< sal_Int8 > & SwXShape::getUnoTunnelId ( )
static

Definition at line 841 of file unodraw.cxx.

References comphelper::UnoIdInit::getSeq().

◆ Notify()

void SwXShape::Notify ( const SfxHint rHint)
overridevirtual

Reimplemented from SvtListener.

Definition at line 2040 of file unodraw.cxx.

References SvtListener::EndListeningAll(), SfxHint::GetId(), and m_pFormat.

◆ queryInterface()

uno::Any SwXShape::queryInterface ( const css::uno::Type &  aType)
overridevirtual

◆ removeEventListener()

void SwXShape::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 2183 of file unodraw.cxx.

References GetSvxShape(), and SvxShape::removeEventListener().

◆ removePropertyChangeListener()

void SwXShape::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 2013 of file unodraw.cxx.

References m_xShapeAgg.

◆ removeVetoableChangeListener()

void SwXShape::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 2033 of file unodraw.cxx.

◆ SetFrameFormat()

void SwXShape::SetFrameFormat ( SwFrameFormat pFormat)
inlineprivate

◆ setPosition()

void SAL_CALL SwXShape::setPosition ( const css::awt::Point &  aPosition)
overridevirtual

◆ setPropertyToDefault()

void SwXShape::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual

◆ setPropertyValue()

void SwXShape::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 1041 of file unodraw.cxx.

References SwDoc::ChgAnchor(), SwTextBoxHelper::create(), SwTextNode::DeleteAttributes(), SwFrameFormat::DelFrames(), SwTextBoxHelper::destroy(), cppu::enum2int(), FindFrameFormat(), SwFrameFormat::FindSdrObject(), FN_SHAPE_POSITION_LAYOUT_DIR, FN_TEXT_BOX, FN_TEXT_RANGE, fnMoveBackward, cppu::UnoType< typename T >::get(), sw::proofreadingiterator::get(), SfxItemSet::Get(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), sw::GetAtPageRelOrientation(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SfxItemPropertyMap::getByName(), SwFormat::GetContent(), SwFormatAnchor::GetContentAnchor(), SwFormatContent::GetContentIdx(), IDocumentDrawModelAccess::GetControlsId(), IDocumentLayoutAccess::GetCurrentLayout(), IDocumentLayoutAccess::GetCurrentViewShell(), SwFormat::GetDoc(), SwNodes::GetEndOfContent(), SWUnoHelper::GetEnumAsInt32(), SwTextAttr::GetFlyCnt(), SwFormatFlyCnt::GetFrameFormat(), GetFrameFormat(), SwXFrame::GetFrameFormat(), IDocumentDrawModelAccess::GetHeavenId(), IDocumentDrawModelAccess::GetHellId(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentLayoutAccess(), SwIndex::GetIndex(), IDocumentDrawModelAccess::GetInvisibleControlsId(), IDocumentDrawModelAccess::GetInvisibleHeavenId(), IDocumentDrawModelAccess::GetInvisibleHellId(), SdrObject::GetLayer(), SwRootFrame::GetModelPositionForViewPoint(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwDoc::GetNodes(), SdrObject::GetObjInventor(), SwPaM::GetPoint(), getPosition(), SfxItemPropertySet::getPropertyMap(), SvxShape::GetSdrObject(), SdrObject::getSdrObjectFromXShape(), getShapeType(), SdrObject::GetSnapRect(), GetSvxShape(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), GoInDoc(), SwTextNode::HasHints(), SdrMarkList::InsertEntry(), SwTextNode::InsertItem(), IDocumentDrawModelAccess::IsVisibleLayerId(), m_pImpl, m_pPropSet, m_xShapeAgg, MID_ANCHOR_ANCHORFRAME, MID_ANCHOR_ANCHORTYPE, MID_CHAIN_NEXTNAME, MID_CHAIN_PREVNAME, MID_FRMSIZE_REL_HEIGHT, MID_FRMSIZE_REL_HEIGHT_RELATION, MID_FRMSIZE_REL_WIDTH, MID_FRMSIZE_REL_WIDTH_RELATION, MID_HORIORIENT_RELATION, MID_TEXT_BOX, MID_TEXT_BOX_CONTENT, SwPaM::Move(), mxShape, SwPosition::nContent, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nMemberId, SwPosition::nNode, SfxItemPropertyMapEntry::nWID, Point, SfxItemSet::Put(), SfxPoolItem::PutValue(), RES_ANCHOR(), RES_CHAIN(), RES_FOLLOW_TEXT_FLOW(), RES_FRM_SIZE(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_HORI_ORIENT(), RES_LR_SPACE(), RES_OPAQUE(), RES_SURROUND(), RES_TXTATR_FLYCNT(), RES_UL_SPACE(), RES_VERT_ORIENT(), RES_WRAP_INFLUENCE_ON_OBJPOS(), SAL_WARN, SAL_WARN_IF, SwTextBoxHelper::set(), SwFormatAnchor::SetAnchor(), SwFormat::SetFormatAttr(), SdrObject::SetLayer(), SetOnlyText, setPosition(), SwFrameFormat::SetPositionLayoutDir(), SfxItemPropertySet::setPropertyValue(), SdrObject::SetRelativeHeight(), SdrObject::SetRelativeHeightRelation(), SdrObject::SetRelativeWidth(), SdrObject::SetRelativeWidthRelation(), SwFormatAnchor::SetType(), SwTextBoxHelper::syncProperty(), tools::Rectangle::TopLeft(), o3tl::tryAccess(), value, SwTextAttr::Which(), xFrame, and sw::XTextRangeToSwPaM().

Referenced by AdjustPositionProperties(), and attach().

◆ setSize()

void SAL_CALL SwXShape::setSize ( const css::awt::Size &  aSize)
overridevirtual

◆ supportsService()

sal_Bool SwXShape::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 2196 of file unodraw.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

◆ SwFmDrawPage

friend class SwFmDrawPage
friend

Definition at line 136 of file unodraw.hxx.

◆ SwXDrawPage

friend class SwXDrawPage
friend

Definition at line 135 of file unodraw.hxx.

◆ SwXGroupShape

friend class SwXGroupShape
friend

Definition at line 134 of file unodraw.hxx.

Member Data Documentation

◆ m_bDescriptor

bool SwXShape::m_bDescriptor
private

Definition at line 151 of file unodraw.hxx.

Referenced by SwXDrawPage::add(), and SwXGroupShape::add().

◆ m_pFormat

SwFrameFormat* SwXShape::m_pFormat
private

Definition at line 138 of file unodraw.hxx.

Referenced by SwXDrawPage::add(), GetFrameFormat(), Notify(), and SetFrameFormat().

◆ m_pImpl

std::unique_ptr<SwShapeDescriptor_Impl> SwXShape::m_pImpl
private

◆ m_pPage

const SwFmDrawPage* SwXShape::m_pPage
private

Definition at line 137 of file unodraw.hxx.

Referenced by SwXDrawPage::add(), dispose(), and ~SwXShape().

◆ m_pPropertyMapEntries

const SfxItemPropertyMapEntry* SwXShape::m_pPropertyMapEntries
private

Definition at line 146 of file unodraw.hxx.

Referenced by getPropertySetInfo().

◆ m_pPropSet

const SfxItemPropertySet* SwXShape::m_pPropSet
private

◆ m_xShapeAgg

css::uno::Reference< css::uno::XAggregation > SwXShape::m_xShapeAgg
private

◆ mxPropertySetInfo

css::uno::Reference< css::beans::XPropertySetInfo > SwXShape::mxPropertySetInfo
private

Definition at line 147 of file unodraw.hxx.

Referenced by getPropertySetInfo().

◆ mxShape

css::uno::Reference< css::drawing::XShape > SwXShape::mxShape
private

The documentation for this class was generated from the following files: