LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D Class Referencefinal

#include <sdrtextprimitive2d.hxx>

Inheritance diagram for drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D:
[legend]
Collaboration diagram for drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D:
[legend]

Public Member Functions

 SdrAutoFitTextPrimitive2D (const SdrText *pSdrText, const OutlinerParaObject &rOutlinerParaObjectPtr, const ::basegfx::B2DHomMatrix &rTextRangeTransform, bool bWordWrap)
 
const basegfx::B2DHomMatrixgetTextRangeTransform () const
 
bool getWordWrap () const
 
virtual bool operator== (const BasePrimitive2D &rPrimitive) const override
 
virtual std::unique_ptr< SdrTextPrimitive2DcreateTransformedClone (const ::basegfx::B2DHomMatrix &rTransform) const override
 
virtual sal_uInt32 getPrimitive2DID () const override
 
- Public Member Functions inherited from drawinglayer::primitive2d::SdrTextPrimitive2D
 SdrTextPrimitive2D (const SdrText *pSdrText, const OutlinerParaObject &rOutlinerParaObjectPtr)
 
const SdrTextgetSdrText () const
 
const OutlinerParaObjectgetOutlinerParaObject () const
 
virtual void get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const override
 
virtual std::unique_ptr< SdrTextPrimitive2DcreateTransformedClone (const basegfx::B2DHomMatrix &rTransform) const =0
 
- Public Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D
 BufferedDecompositionPrimitive2D ()
 
- Public Member Functions inherited from drawinglayer::primitive2d::BasePrimitive2D
 BasePrimitive2D ()
 
virtual ~BasePrimitive2D () override
 
bool operator!= (const BasePrimitive2D &rPrimitive) const
 
virtual basegfx::B2DRange getB2DRange (const geometry::ViewInformation2D &rViewInformation) const
 
virtual css::uno::Sequence<::css::uno::Reference<::css::graphic::XPrimitive2D > > SAL_CALL getDecomposition (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) override
 
virtual css::geometry::RealRectangle2D SAL_CALL getRange (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) override
 
virtual sal_Int64 SAL_CALL estimateUsage () override
 

Private Member Functions

virtual void create2DDecomposition (Primitive2DContainer &rContainer, const geometry::ViewInformation2D &aViewInformation) const override
 

Private Attributes

::basegfx::B2DHomMatrix maTextRangeTransform
 
bool mbWordWrap: 1
 

Additional Inherited Members

- Protected Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D
const Primitive2DContainergetBuffered2DDecomposition () const
 
void setBuffered2DDecomposition (const Primitive2DContainer &rNew)
 
- Static Protected Member Functions inherited from drawinglayer::primitive2d::SdrTextPrimitive2D
static void encapsulateWithTextHierarchyBlockPrimitive2D (Primitive2DContainer &rContainer, const Primitive2DContainer &rCandidate)
 

Detailed Description

Definition at line 266 of file sdrtextprimitive2d.hxx.

Constructor & Destructor Documentation

drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::SdrAutoFitTextPrimitive2D ( const SdrText pSdrText,
const OutlinerParaObject rOutlinerParaObjectPtr,
const ::basegfx::B2DHomMatrix rTextRangeTransform,
bool  bWordWrap 
)

Member Function Documentation

virtual void drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::create2DDecomposition ( Primitive2DContainer rContainer,
const geometry::ViewInformation2D aViewInformation 
) const
overrideprivatevirtual
std::unique_ptr< SdrTextPrimitive2D > drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::createTransformedClone ( const ::basegfx::B2DHomMatrix rTransform) const
overridevirtual

Definition at line 435 of file sdrtextprimitive2d.cxx.

virtual sal_uInt32 drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::getPrimitive2DID ( ) const
overridevirtual
const basegfx::B2DHomMatrix& drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::getTextRangeTransform ( ) const
inline
bool drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::getWordWrap ( ) const
inline

Definition at line 285 of file sdrtextprimitive2d.hxx.

References mbWordWrap.

Referenced by SdrTextObj::impDecomposeAutoFitTextPrimitive().

bool drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::operator== ( const BasePrimitive2D rPrimitive) const
overridevirtual

Member Data Documentation

::basegfx::B2DHomMatrix drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::maTextRangeTransform
private

Definition at line 269 of file sdrtextprimitive2d.hxx.

Referenced by getTextRangeTransform().

bool drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::mbWordWrap
private

Definition at line 271 of file sdrtextprimitive2d.hxx.

Referenced by getWordWrap().


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