LibreOffice Module svx (master) 1
|
#include <sdrmeasureprimitive2d.hxx>
Public Member Functions | |
SdrMeasurePrimitive2D (const attribute::SdrLineEffectsTextAttribute &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::SdrLineEffectsTextAttribute & | getSdrLSTAttribute () const |
const basegfx::B2DPoint & | getStart () const |
const basegfx::B2DPoint & | getEnd () 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 |
virtual sal_uInt32 | getPrimitive2DID () const override |
Public Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D | |
BufferedDecompositionPrimitive2D () | |
virtual void | get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const override |
void | setTransparenceForShadow (sal_uInt16 nTransparenceForShadow) |
sal_uInt16 | getTransparenceForShadow () const |
Public Member Functions inherited from drawinglayer::primitive2d::BasePrimitive2D | |
BasePrimitive2D () | |
virtual | ~BasePrimitive2D () override |
virtual bool | operator== (const BasePrimitive2D &rPrimitive) const |
bool | operator!= (const BasePrimitive2D &rPrimitive) const |
virtual basegfx::B2DRange | getB2DRange (const geometry::ViewInformation2D &rViewInformation) const |
virtual sal_uInt32 | getPrimitive2DID () const=0 |
virtual void | get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const |
Primitive2DContainer | getDecomposition (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) |
css::geometry::RealRectangle2D | getRange (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) |
virtual sal_Int64 | estimateUsage () |
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 |
virtual void | create2DDecomposition (Primitive2DContainer &rContainer, const geometry::ViewInformation2D &aViewInformation) const override |
Private Attributes | |
attribute::SdrLineEffectsTextAttribute | maSdrLSTAttribute |
basegfx::B2DPoint | maStart |
basegfx::B2DPoint | maEnd |
MeasureTextPosition | meHorizontal |
MeasureTextPosition | meVertical |
double | mfDistance |
double | mfUpper |
double | mfLower |
double | mfLeftDelta |
double | mfRightDelta |
bool | mbBelow: 1 |
bool | mbTextRotation: 1 |
bool | mbTextAutoAngle: 1 |
Additional Inherited Members | |
Protected Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D | |
const Primitive2DContainer & | getBuffered2DDecomposition () const |
void | setBuffered2DDecomposition (Primitive2DContainer &&rNew) |
virtual void | create2DDecomposition (Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const=0 |
Definition at line 46 of file sdrmeasureprimitive2d.hxx.
drawinglayer::primitive2d::SdrMeasurePrimitive2D::SdrMeasurePrimitive2D | ( | const attribute::SdrLineEffectsTextAttribute & | 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 436 of file sdrmeasureprimitive2d.cxx.
|
overrideprivatevirtual |
Implements drawinglayer::primitive2d::BufferedDecompositionPrimitive2D.
Definition at line 82 of file sdrmeasureprimitive2d.cxx.
References drawinglayer::primitive2d::Primitive2DContainer::append(), drawinglayer::primitive2d::createEmbeddedShadowPrimitive(), basegfx::utils::createShearXRotateTranslateB2DHomMatrix(), getBelow(), getDistance(), getEnd(), drawinglayer::attribute::SdrLineStartEndAttribute::getEndPolyPolygon(), drawinglayer::attribute::SdrLineStartEndAttribute::getEndWidth(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), getHorizontal(), getLeftDelta(), basegfx::B2DVector::getLength(), drawinglayer::attribute::SdrLineEffectsTextAttribute::getLine(), drawinglayer::attribute::SdrLineEffectsTextAttribute::getLineStartEnd(), getLower(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), drawinglayer::attribute::SdrTextAttribute::getOutlinerParaObject(), basegfx::utils::getRange(), getRightDelta(), getSdrLSTAttribute(), drawinglayer::attribute::SdrTextAttribute::getSdrText(), getStart(), drawinglayer::attribute::SdrLineStartEndAttribute::getStartPolyPolygon(), drawinglayer::attribute::SdrLineStartEndAttribute::getStartWidth(), drawinglayer::attribute::SdrEffectsTextAttribute::getText(), getTextAutoAngle(), drawinglayer::attribute::SdrTextAttribute::getTextLeftDistance(), drawinglayer::attribute::SdrTextAttribute::getTextLowerDistance(), drawinglayer::attribute::SdrTextAttribute::getTextRightDistance(), getTextRotation(), drawinglayer::attribute::SdrTextAttribute::getTextUpperDistance(), getUpper(), getVertical(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), drawinglayer::attribute::SdrLineAttribute::getWidth(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), impCreatePart(), drawinglayer::attribute::SdrLineAttribute::isDefault(), 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().
|
inline |
Definition at line 103 of file sdrmeasureprimitive2d.hxx.
References mbBelow.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 98 of file sdrmeasureprimitive2d.hxx.
References mfDistance.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 95 of file sdrmeasureprimitive2d.hxx.
References maEnd.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 96 of file sdrmeasureprimitive2d.hxx.
References meHorizontal.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 101 of file sdrmeasureprimitive2d.hxx.
References mfLeftDelta.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 100 of file sdrmeasureprimitive2d.hxx.
References mfLower.
Referenced by create2DDecomposition(), and operator==().
|
overridevirtual |
Implements drawinglayer::primitive2d::BasePrimitive2D.
Definition at line 491 of file sdrmeasureprimitive2d.cxx.
References PRIMITIVE2D_ID_SDRMEASUREPRIMITIVE2D.
|
inline |
Definition at line 102 of file sdrmeasureprimitive2d.hxx.
References mfRightDelta.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 93 of file sdrmeasureprimitive2d.hxx.
References maSdrLSTAttribute.
Referenced by create2DDecomposition(), impCreatePart(), and operator==().
|
inline |
Definition at line 94 of file sdrmeasureprimitive2d.hxx.
References maStart.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 105 of file sdrmeasureprimitive2d.hxx.
References mbTextAutoAngle.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 104 of file sdrmeasureprimitive2d.hxx.
References mbTextRotation.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 99 of file sdrmeasureprimitive2d.hxx.
References mfUpper.
Referenced by create2DDecomposition(), and operator==().
|
inline |
Definition at line 97 of file sdrmeasureprimitive2d.hxx.
References meVertical.
Referenced by create2DDecomposition(), and operator==().
|
private |
Definition at line 38 of file sdrmeasureprimitive2d.cxx.
References basegfx::B2DPolygon::append(), drawinglayer::primitive2d::createPolygonLinePrimitive(), drawinglayer::attribute::SdrLineStartEndAttribute::getEndPolyPolygon(), drawinglayer::attribute::SdrLineStartEndAttribute::getEndWidth(), drawinglayer::attribute::SdrLineEffectsTextAttribute::getLineStartEnd(), getSdrLSTAttribute(), drawinglayer::attribute::SdrLineStartEndAttribute::getStartPolyPolygon(), drawinglayer::attribute::SdrLineStartEndAttribute::getStartWidth(), drawinglayer::attribute::SdrLineStartEndAttribute::isDefault(), drawinglayer::attribute::SdrLineStartEndAttribute::isEndActive(), drawinglayer::attribute::SdrLineStartEndAttribute::isEndCentered(), drawinglayer::attribute::SdrLineStartEndAttribute::isStartActive(), drawinglayer::attribute::SdrLineStartEndAttribute::isStartCentered(), and basegfx::B2DPolygon::transform().
Referenced by create2DDecomposition().
|
overridevirtual |
Reimplemented from drawinglayer::primitive2d::BasePrimitive2D.
Definition at line 466 of file sdrmeasureprimitive2d.cxx.
References getBelow(), getDistance(), getEnd(), getHorizontal(), getLeftDelta(), getLower(), getRightDelta(), getSdrLSTAttribute(), getStart(), getTextAutoAngle(), getTextRotation(), getUpper(), and getVertical().
|
private |
Definition at line 51 of file sdrmeasureprimitive2d.hxx.
Referenced by getEnd().
|
private |
Definition at line 49 of file sdrmeasureprimitive2d.hxx.
Referenced by getSdrLSTAttribute().
|
private |
Definition at line 50 of file sdrmeasureprimitive2d.hxx.
Referenced by getStart().
|
private |
Definition at line 60 of file sdrmeasureprimitive2d.hxx.
Referenced by getBelow().
|
private |
Definition at line 62 of file sdrmeasureprimitive2d.hxx.
Referenced by getTextAutoAngle().
|
private |
Definition at line 61 of file sdrmeasureprimitive2d.hxx.
Referenced by getTextRotation().
|
private |
Definition at line 52 of file sdrmeasureprimitive2d.hxx.
Referenced by getHorizontal().
|
private |
Definition at line 53 of file sdrmeasureprimitive2d.hxx.
Referenced by getVertical().
|
private |
Definition at line 54 of file sdrmeasureprimitive2d.hxx.
Referenced by getDistance().
|
private |
Definition at line 57 of file sdrmeasureprimitive2d.hxx.
Referenced by getLeftDelta().
|
private |
Definition at line 56 of file sdrmeasureprimitive2d.hxx.
Referenced by getLower().
|
private |
Definition at line 58 of file sdrmeasureprimitive2d.hxx.
Referenced by getRightDelta().
|
private |
Definition at line 55 of file sdrmeasureprimitive2d.hxx.
Referenced by getUpper().