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 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
 

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
 
o3tl::span< const SfxItemPropertyMapEntrym_pPropertyMapEntries
 
css::uno::Reference< css::beans::XPropertySetInfo > mxPropertySetInfo
 
std::unique_ptr< SwShapeDescriptor_Implm_pImpl
 
bool m_bDescriptor
 

Friends

class SwXGroupShape
 
class SwFmDrawPage
 

Detailed Description

Definition at line 130 of file unodraw.hxx.

Constructor & Destructor Documentation

◆ ~SwXShape()

SwXShape::~SwXShape ( )
overrideprotectedvirtual

Definition at line 992 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 1816 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 2224 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 2051 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 2077 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 2594 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 2708 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 2489 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 2670 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 2530 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 256 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 2445 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 254 of file unodraw.hxx.

References m_pImpl.

Referenced by SwFmDrawPage::add().

◆ GetFrameFormat()

SwFrameFormat * SwXShape::GetFrameFormat ( ) const
inline

◆ getImplementationId()

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

Definition at line 1052 of file unodraw.cxx.

◆ getImplementationName()

OUString SwXShape::getImplementationName ( )
overridevirtual

Definition at line 2240 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 1833 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 1514 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(), SwFormatAnchor::GetAnchorNode(), 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 2410 of file unodraw.cxx.

References mxShape.

Referenced by setPropertyValue().

◆ getSize()

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

Definition at line 2388 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 2250 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 2421 of file unodraw.cxx.

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

Referenced by getPosition(), and setPosition().

◆ getTypes()

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

Definition at line 1036 of file unodraw.cxx.

References comphelper::concatSequences(), uno::Any::hasValue(), and m_xShapeAgg.

◆ getUnoTunnelId()

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

Definition at line 882 of file unodraw.cxx.

References comphelper::UnoIdInit::getSeq().

◆ Notify()

void SwXShape::Notify ( const SfxHint rHint)
overridevirtual

Reimplemented from SvtListener.

Definition at line 2091 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 2232 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 2064 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 2084 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 1081 of file unodraw.cxx.

References SwPosition::AdjustContent(), SwTextBoxHelper::changeAnchor(), 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::GetAnchorContentOffset(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), sw::GetAtPageRelOrientation(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SfxItemPropertyMap::getByName(), SwPosition::GetContentIndex(), IDocumentDrawModelAccess::GetControlsId(), IDocumentLayoutAccess::GetCurrentLayout(), IDocumentLayoutAccess::GetCurrentViewShell(), SwFormat::GetDoc(), SwNodes::GetEndOfContent(), SWUnoHelper::GetEnumAsInt32(), SwTextAttr::GetFlyCnt(), SwFormatFlyCnt::GetFrameFormat(), GetFrameFormat(), IDocumentDrawModelAccess::GetHeavenId(), IDocumentDrawModelAccess::GetHellId(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentLayoutAccess(), IDocumentDrawModelAccess::GetInvisibleControlsId(), IDocumentDrawModelAccess::GetInvisibleHeavenId(), IDocumentDrawModelAccess::GetInvisibleHellId(), SdrObject::GetLayer(), SwRootFrame::GetModelPositionForViewPoint(), SwDoc::GetNodes(), SdrObject::GetObjInventor(), SwFrameFormat::GetOtherTextBoxFormats(), SwPaM::GetPoint(), SwPaM::GetPointNode(), 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, o3tl::make_unsigned(), 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, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, Point, SfxItemSet::Put(), SfxPoolItem::PutValue(), RES_ANCHOR(), RES_CHAIN(), RES_DRAWFRMFMT(), 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::synchronizeGroupTextBoxProperty(), SwTextBoxHelper::syncProperty(), tools::Rectangle::TopLeft(), o3tl::tryAccess(), value, SwFormat::Which(), 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 2245 of file unodraw.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

◆ SwFmDrawPage

friend class SwFmDrawPage
friend

Definition at line 133 of file unodraw.hxx.

◆ SwXGroupShape

friend class SwXGroupShape
friend

Definition at line 132 of file unodraw.hxx.

Member Data Documentation

◆ m_bDescriptor

bool SwXShape::m_bDescriptor
private

Definition at line 148 of file unodraw.hxx.

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

◆ m_pFormat

SwFrameFormat* SwXShape::m_pFormat
private

Definition at line 135 of file unodraw.hxx.

Referenced by SwFmDrawPage::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 134 of file unodraw.hxx.

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

◆ m_pPropertyMapEntries

o3tl::span<const SfxItemPropertyMapEntry> SwXShape::m_pPropertyMapEntries
private

Definition at line 143 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 144 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: