// The following method is called when a SvxShape-object is to be created. // Derived classes may obtain at this point a derivation or an object // that is aggregating a SvxShape. virtual css::uno::Reference< css::drawing::XShape > CreateShape( SdrObject *pObj ) const override; void RemoveShape(const SwXShape* pShape)
{ auto ppShape = find(m_vShapes.begin(), m_vShapes.end(), pShape); if(ppShape != m_vShapes.end())
m_vShapes.erase(ppShape);
};
// renamed and outlined to detect where it's called void InvalidateSwDoc(); // {pDoc = 0;}
};
class SwShapeDescriptor_Impl; typedef
cppu::WeakImplHelper
<
css::beans::XPropertySet,
css::beans::XPropertyState,
css::text::XTextContent,
css::lang::XServiceInfo,
css::lang::XUnoTunnel,
css::drawing::XShape
>
SwXShapeBaseClass; class SwXShape : public SwXShapeBaseClass
{ friendclass SwXGroupShape; friendclass SwFmDrawPage; const SwFmDrawPage* m_pPage;
css::uno::Reference< css::uno::XAggregation > m_xShapeAgg; // reference to <XShape>, determined in the // constructor by <queryAggregation> at <xShapeAgg>.
css::uno::Reference< css::drawing::XShape > mxShape;
/** method to determine top group object */
SdrObject* GetTopGroupObj( SvxShape* _pSvxShape = nullptr );
/** method to determine position according to the positioning attributes */
css::awt::Point GetAttrPosition();
/** method to convert the position (translation) of the drawing object to
the layout direction horizontal left-to-right. */
css::awt::Point ConvertPositionToHoriL2R( const css::awt::Point& rObjPos, const css::awt::Size& rObjSize );
/** method to convert the transformation of the drawing object to the layout direction,thedrawingobjectisin
*/
css::drawing::HomogenMatrix3 ConvertTransformationToLayoutDir( const css::drawing::HomogenMatrix3& rMatrixInHoriL2R );
/** method to convert start or end position of the drawing object to the Writerspecificposition,whichistheattributepositioninlayoutdirection
*/
css::awt::Point ConvertStartOrEndPosToLayoutDir( const css::awt::Point& aStartOrEndPos );
/** method to convert PolyPolygonBezier of the drawing object to the Writerspecificposition,whichistheattributepositioninlayoutdirection
*/
css::drawing::PolyPolygonBezierCoords ConvertPolyPolygonBezierToLayoutDir( const css::drawing::PolyPolygonBezierCoords& aPath );
/** method to get property from aggregation object
class SwXGroupShape final : public SwXShape, public css::drawing::XShapes
{ virtual ~SwXGroupShape() override; public:
SwXGroupShape(css::uno::Reference<css::uno::XInterface> & xShape, SwDoc const* pDoc);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.13Bemerkung:
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.