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

#include <sdrmeasureprimitive2d.hxx>

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

Public Member Functions

 SdrMeasurePrimitive2D (const attribute::SdrLineShadowTextAttribute &rSdrLSTAttribute, const basegfx::B2DPoint &rStart, const basegfx::B2DPoint &rEnd, MeasureTextPosition eHorizontal, MeasureTextPosition eVertical, double fDistance, double fUpper, double fLower, double fLeftDelta, double fRightDelta, bool bBelow, bool bTextRotation, bool bTextAutoAngle)
 
const attribute::SdrLineShadowTextAttributegetSdrLSTAttribute () const
 
const basegfx::B2DPointgetStart () const
 
const basegfx::B2DPointgetEnd () const
 
MeasureTextPosition getHorizontal () const
 
MeasureTextPosition getVertical () const
 
double getDistance () const
 
double getUpper () const
 
double getLower () const
 
double getLeftDelta () const
 
double getRightDelta () const
 
bool getBelow () const
 
bool getTextRotation () const
 
bool getTextAutoAngle () const
 
virtual bool operator== (const BasePrimitive2D &rPrimitive) const override
 
- Public Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D
 BufferedDecompositionPrimitive2D ()
 
virtual void get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const override
 
- 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 sal_uInt32 getPrimitive2DID () const =0
 
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
 

Protected Member Functions

virtual void create2DDecomposition (Primitive2DContainer &rContainer, const geometry::ViewInformation2D &aViewInformation) const override
 
- Protected Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D
const Primitive2DContainergetBuffered2DDecomposition () const
 
void setBuffered2DDecomposition (const Primitive2DContainer &rNew)
 

Private Member Functions

Primitive2DReference impCreatePart (const attribute::SdrLineAttribute &rLineAttribute, const basegfx::B2DHomMatrix &rObjectMatrix, const basegfx::B2DPoint &rStart, const basegfx::B2DPoint &rEnd, bool bLeftActive, bool bRightActive) const
 

Private Attributes

attribute::SdrLineShadowTextAttribute const maSdrLSTAttribute
 
basegfx::B2DPoint const maStart
 
basegfx::B2DPoint const maEnd
 
MeasureTextPosition const meHorizontal
 
MeasureTextPosition const meVertical
 
double const mfDistance
 
double const mfUpper
 
double const mfLower
 
double const mfLeftDelta
 
double const mfRightDelta
 
bool const mbBelow: 1
 
bool const mbTextRotation: 1
 
bool const mbTextAutoAngle: 1
 

Detailed Description

Definition at line 48 of file sdrmeasureprimitive2d.hxx.

Constructor & Destructor Documentation

drawinglayer::primitive2d::SdrMeasurePrimitive2D::SdrMeasurePrimitive2D ( const attribute::SdrLineShadowTextAttribute rSdrLSTAttribute,
const basegfx::B2DPoint rStart,
const basegfx::B2DPoint rEnd,
MeasureTextPosition  eHorizontal,
MeasureTextPosition  eVertical,
double  fDistance,
double  fUpper,
double  fLower,
double  fLeftDelta,
double  fRightDelta,
bool  bBelow,
bool  bTextRotation,
bool  bTextAutoAngle 
)

Definition at line 440 of file sdrmeasureprimitive2d.cxx.

References maEnd, and maStart.

Member Function Documentation

void drawinglayer::primitive2d::SdrMeasurePrimitive2D::create2DDecomposition ( Primitive2DContainer rContainer,
const geometry::ViewInformation2D aViewInformation 
) const
overrideprotectedvirtual

Reimplemented from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D.

Definition at line 85 of file sdrmeasureprimitive2d.cxx.

References drawinglayer::primitive2d::createEmbeddedShadowPrimitive(), basegfx::utils::createShearXRotateTranslateB2DHomMatrix(), F_2PI, F_PI, F_PI2, drawinglayer::attribute::SdrLineStartEndAttribute::getEndPolyPolygon(), drawinglayer::attribute::SdrLineStartEndAttribute::getEndWidth(), basegfx::B2DRange::getHeight(), basegfx::B2DVector::getLength(), basegfx::B2DRange::getMinX(), basegfx::B2DRange::getMinY(), drawinglayer::attribute::SdrTextAttribute::getOutlinerParaObject(), basegfx::utils::getRange(), drawinglayer::attribute::SdrTextAttribute::getSdrText(), drawinglayer::attribute::SdrLineStartEndAttribute::getStartPolyPolygon(), drawinglayer::attribute::SdrLineStartEndAttribute::getStartWidth(), drawinglayer::attribute::SdrTextAttribute::getTextLeftDistance(), drawinglayer::attribute::SdrTextAttribute::getTextLowerDistance(), drawinglayer::attribute::SdrTextAttribute::getTextRightDistance(), drawinglayer::attribute::SdrTextAttribute::getTextUpperDistance(), basegfx::B2DRange::getWidth(), drawinglayer::attribute::SdrLineAttribute::getWidth(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), drawinglayer::attribute::SdrLineStartEndAttribute::isDefault(), drawinglayer::attribute::SdrTextAttribute::isDefault(), drawinglayer::attribute::SdrLineStartEndAttribute::isEndActive(), drawinglayer::attribute::SdrLineStartEndAttribute::isEndCentered(), drawinglayer::attribute::SdrTextAttribute::isScroll(), drawinglayer::attribute::SdrLineStartEndAttribute::isStartActive(), drawinglayer::attribute::SdrLineStartEndAttribute::isStartCentered(), drawinglayer::primitive2d::MEASURETEXTPOSITION_AUTOMATIC, drawinglayer::primitive2d::MEASURETEXTPOSITION_CENTERED, drawinglayer::primitive2d::MEASURETEXTPOSITION_NEGATIVE, drawinglayer::primitive2d::MEASURETEXTPOSITION_POSITIVE, basegfx::B2DHomMatrix::rotate(), SDRTEXTHORZADJUST_CENTER, SDRTEXTVERTADJUST_CENTER, and basegfx::B2DHomMatrix::translate().

bool drawinglayer::primitive2d::SdrMeasurePrimitive2D::getBelow ( ) const
inline

Definition at line 106 of file sdrmeasureprimitive2d.hxx.

References mbBelow.

Referenced by operator==().

double drawinglayer::primitive2d::SdrMeasurePrimitive2D::getDistance ( ) const
inline

Definition at line 101 of file sdrmeasureprimitive2d.hxx.

References mfDistance.

Referenced by operator==().

const basegfx::B2DPoint& drawinglayer::primitive2d::SdrMeasurePrimitive2D::getEnd ( ) const
inline

Definition at line 98 of file sdrmeasureprimitive2d.hxx.

References maEnd.

Referenced by operator==().

MeasureTextPosition drawinglayer::primitive2d::SdrMeasurePrimitive2D::getHorizontal ( ) const
inline

Definition at line 99 of file sdrmeasureprimitive2d.hxx.

References meHorizontal.

Referenced by operator==().

double drawinglayer::primitive2d::SdrMeasurePrimitive2D::getLeftDelta ( ) const
inline

Definition at line 104 of file sdrmeasureprimitive2d.hxx.

References mfLeftDelta.

Referenced by operator==().

double drawinglayer::primitive2d::SdrMeasurePrimitive2D::getLower ( ) const
inline

Definition at line 103 of file sdrmeasureprimitive2d.hxx.

References mfLower.

Referenced by operator==().

double drawinglayer::primitive2d::SdrMeasurePrimitive2D::getRightDelta ( ) const
inline

Definition at line 105 of file sdrmeasureprimitive2d.hxx.

References mfRightDelta.

Referenced by operator==().

const attribute::SdrLineShadowTextAttribute& drawinglayer::primitive2d::SdrMeasurePrimitive2D::getSdrLSTAttribute ( ) const
inline

Definition at line 96 of file sdrmeasureprimitive2d.hxx.

References maSdrLSTAttribute.

Referenced by operator==().

const basegfx::B2DPoint& drawinglayer::primitive2d::SdrMeasurePrimitive2D::getStart ( ) const
inline

Definition at line 97 of file sdrmeasureprimitive2d.hxx.

References maStart.

Referenced by operator==().

bool drawinglayer::primitive2d::SdrMeasurePrimitive2D::getTextAutoAngle ( ) const
inline

Definition at line 108 of file sdrmeasureprimitive2d.hxx.

References mbTextAutoAngle.

Referenced by operator==().

bool drawinglayer::primitive2d::SdrMeasurePrimitive2D::getTextRotation ( ) const
inline

Definition at line 107 of file sdrmeasureprimitive2d.hxx.

References mbTextRotation.

Referenced by operator==().

double drawinglayer::primitive2d::SdrMeasurePrimitive2D::getUpper ( ) const
inline

Definition at line 102 of file sdrmeasureprimitive2d.hxx.

References mfUpper.

Referenced by operator==().

MeasureTextPosition drawinglayer::primitive2d::SdrMeasurePrimitive2D::getVertical ( ) const
inline

Definition at line 100 of file sdrmeasureprimitive2d.hxx.

References meVertical.

Referenced by operator==().

Primitive2DReference drawinglayer::primitive2d::SdrMeasurePrimitive2D::impCreatePart ( const attribute::SdrLineAttribute rLineAttribute,
const basegfx::B2DHomMatrix rObjectMatrix,
const basegfx::B2DPoint rStart,
const basegfx::B2DPoint rEnd,
bool  bLeftActive,
bool  bRightActive 
) const
private
bool drawinglayer::primitive2d::SdrMeasurePrimitive2D::operator== ( const BasePrimitive2D rPrimitive) const
overridevirtual

Member Data Documentation

basegfx::B2DPoint const drawinglayer::primitive2d::SdrMeasurePrimitive2D::maEnd
private

Definition at line 53 of file sdrmeasureprimitive2d.hxx.

Referenced by getEnd().

attribute::SdrLineShadowTextAttribute const drawinglayer::primitive2d::SdrMeasurePrimitive2D::maSdrLSTAttribute
private

Definition at line 51 of file sdrmeasureprimitive2d.hxx.

Referenced by getSdrLSTAttribute().

basegfx::B2DPoint const drawinglayer::primitive2d::SdrMeasurePrimitive2D::maStart
private

Definition at line 52 of file sdrmeasureprimitive2d.hxx.

Referenced by getStart().

bool const drawinglayer::primitive2d::SdrMeasurePrimitive2D::mbBelow
private

Definition at line 62 of file sdrmeasureprimitive2d.hxx.

Referenced by getBelow().

bool const drawinglayer::primitive2d::SdrMeasurePrimitive2D::mbTextAutoAngle
private

Definition at line 64 of file sdrmeasureprimitive2d.hxx.

Referenced by getTextAutoAngle().

bool const drawinglayer::primitive2d::SdrMeasurePrimitive2D::mbTextRotation
private

Definition at line 63 of file sdrmeasureprimitive2d.hxx.

Referenced by getTextRotation().

MeasureTextPosition const drawinglayer::primitive2d::SdrMeasurePrimitive2D::meHorizontal
private

Definition at line 54 of file sdrmeasureprimitive2d.hxx.

Referenced by getHorizontal().

MeasureTextPosition const drawinglayer::primitive2d::SdrMeasurePrimitive2D::meVertical
private

Definition at line 55 of file sdrmeasureprimitive2d.hxx.

Referenced by getVertical().

double const drawinglayer::primitive2d::SdrMeasurePrimitive2D::mfDistance
private

Definition at line 56 of file sdrmeasureprimitive2d.hxx.

Referenced by getDistance().

double const drawinglayer::primitive2d::SdrMeasurePrimitive2D::mfLeftDelta
private

Definition at line 59 of file sdrmeasureprimitive2d.hxx.

Referenced by getLeftDelta().

double const drawinglayer::primitive2d::SdrMeasurePrimitive2D::mfLower
private

Definition at line 58 of file sdrmeasureprimitive2d.hxx.

Referenced by getLower().

double const drawinglayer::primitive2d::SdrMeasurePrimitive2D::mfRightDelta
private

Definition at line 60 of file sdrmeasureprimitive2d.hxx.

Referenced by getRightDelta().

double const drawinglayer::primitive2d::SdrMeasurePrimitive2D::mfUpper
private

Definition at line 57 of file sdrmeasureprimitive2d.hxx.

Referenced by getUpper().


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