46#include <com/sun/star/drawing/LineCap.hpp>
47#include <com/sun/star/drawing/LineStyle.hpp>
58 case css::drawing::LineJoint_BEVEL :
62 case css::drawing::LineJoint_MIDDLE :
63 case css::drawing::LineJoint_MITER :
67 case css::drawing::LineJoint_ROUND :
101 aColorAttribute = aShadowColor.getBColor();
106 aColorAttribute = aLineColor.getBColor();
115 static_cast<double>(nLineWidth),
116 impGetB2DLineJoin(eLineJoint),
123 double fFullDotDashLen(0.0);
124 ::std::vector< double > aDotDashArray;
126 if(css::drawing::LineStyle_DASH == eLineStyle)
133 fFullDotDashLen = rDash.
CreateDotDashArray(aDotDashArray,
static_cast<double>(nLineWidth));
187 const sal_uInt8 nTransparence(impGetStrokeTransparence(
false,
rSet));
190 aLineAttribute, aStrokeAttribute, nTransparence);
197 const sal_uInt8 nTransparence(impGetStrokeTransparence(
true,
rSet));
200 aLineAttribute, aStrokeAttribute, nTransparence);
266 : mpSdrFormTextAttribute(theGlobalDefault())
271 : mpSdrFormTextAttribute(rCandidate.mpSdrFormTextAttribute)
276 : mpSdrFormTextAttribute(std::move(rCandidate.mpSdrFormTextAttribute))
297 mpSdrFormTextAttribute = std::move(rCandidate.mpSdrFormTextAttribute);
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
double CreateDotDashArray(::std::vector< double > &rDotDashArray, double fLineWidth) const
sal_uInt16 GetDots() const
sal_uInt16 GetDashes() const
const Color & getFormTextShdwColor() const
sal_Int32 getFormTextDistance() const
SdrFormTextOutlineAttribute maShadowOutline
bool operator==(const ImpSdrFormTextAttribute &rCandidate) const
SdrFormTextOutlineAttribute maOutline
sal_uInt16 mnFormTextShdwTransp
ImpSdrFormTextAttribute(const SfxItemSet &rSet)
bool getFormTextMirror() const
const SdrFormTextOutlineAttribute & getShadowOutline() const
sal_Int32 getFormTextShdwYVal() const
sal_Int32 getFormTextStart() const
const SdrFormTextOutlineAttribute & getOutline() const
XFormTextStyle meFormTextStyle
XFormTextShadow getFormTextShadow() const
XFormTextStyle getFormTextStyle() const
sal_Int32 mnFormTextShdwXVal
XFormTextShadow meFormTextShadow
bool getFormTextOutline() const
sal_Int32 mnFormTextShdwYVal
Color maFormTextShdwColor
sal_Int32 getFormTextShdwXVal() const
sal_Int32 mnFormTextStart
XFormTextAdjust getFormTextAdjust() const
XFormTextAdjust meFormTextAdjust
sal_Int32 mnFormTextDistance
ImpSdrFormTextAttribute()
bool operator==(const SdrFormTextAttribute &rCandidate) const
sal_Int32 getFormTextShdwXVal() const
XFormTextAdjust getFormTextAdjust() const
sal_Int32 getFormTextStart() const
Color const & getFormTextShdwColor() const
sal_Int32 getFormTextDistance() const
o3tl::cow_wrapper< ImpSdrFormTextAttribute > ImplType
ImplType mpSdrFormTextAttribute
sal_Int32 getFormTextShdwYVal() const
bool getFormTextOutline() const
XFormTextStyle getFormTextStyle() const
const SdrFormTextOutlineAttribute & getShadowOutline() const
SdrFormTextAttribute & operator=(const SdrFormTextAttribute &rCandidate)
bool getFormTextMirror() const
XFormTextShadow getFormTextShadow() const
const SdrFormTextOutlineAttribute & getOutline() const
bool same_object(const cow_wrapper &rOther) const
STDMETHOD() Get(VARIANT *val)=0
constexpr TypedWhichId< SdrPercentItem > SDRATTR_SHADOWTRANSPARENCE(SDRATTR_SHADOW_FIRST+4)
constexpr TypedWhichId< XColorItem > SDRATTR_SHADOWCOLOR(SDRATTR_SHADOW_FIRST+1)
constexpr TypedWhichId< XLineJointItem > XATTR_LINEJOINT(XATTR_LINE_FIRST+11)
constexpr TypedWhichId< XFormTextMirrorItem > XATTR_FORMTXTMIRROR(XATTR_TEXT_FIRST+4)
constexpr TypedWhichId< XFormTextStyleItem > XATTR_FORMTXTSTYLE(XATTR_TEXT_FIRST)
constexpr TypedWhichId< XFormTextStartItem > XATTR_FORMTXTSTART(XATTR_TEXT_FIRST+3)
constexpr TypedWhichId< XLineColorItem > XATTR_LINECOLOR(XATTR_LINE_FIRST+3)
constexpr TypedWhichId< XFormTextShadowTranspItem > XATTR_FORMTXTSHDWTRANSP(XATTR_TEXT_FIRST+11)
constexpr TypedWhichId< XFormTextShadowYValItem > XATTR_FORMTXTSHDWYVAL(XATTR_TEXT_FIRST+9)
constexpr TypedWhichId< XLineCapItem > XATTR_LINECAP(XATTR_LINE_FIRST+12)
constexpr TypedWhichId< XLineDashItem > XATTR_LINEDASH(XATTR_LINE_FIRST+1)
constexpr TypedWhichId< XFormTextDistanceItem > XATTR_FORMTXTDISTANCE(XATTR_TEXT_FIRST+2)
constexpr TypedWhichId< XLineWidthItem > XATTR_LINEWIDTH(XATTR_LINE_FIRST+2)
constexpr TypedWhichId< XFormTextShadowItem > XATTR_FORMTXTSHADOW(XATTR_TEXT_FIRST+6)
constexpr TypedWhichId< XFormTextOutlineItem > XATTR_FORMTXTOUTLINE(XATTR_TEXT_FIRST+5)
constexpr TypedWhichId< XFormTextShadowXValItem > XATTR_FORMTXTSHDWXVAL(XATTR_TEXT_FIRST+8)
constexpr TypedWhichId< XFormTextShadowColorItem > XATTR_FORMTXTSHDWCOLOR(XATTR_TEXT_FIRST+7)
constexpr TypedWhichId< XLineStyleItem > XATTR_LINESTYLE(XATTR_LINE_FIRST)
constexpr TypedWhichId< XFormTextAdjustItem > XATTR_FORMTXTADJUST(XATTR_TEXT_FIRST+1)
constexpr TypedWhichId< XLineTransparenceItem > XATTR_LINETRANSPARENCE(XATTR_LINE_FIRST+10)