63 #include <com/sun/star/drawing/ProjectionMode.hpp>
64 #include <com/sun/star/drawing/ShadeMode.hpp>
83 #include <com/sun/star/drawing/LineCap.hpp>
91 attribute::GradientStyle XGradientStyleToGradientStyle(css::awt::GradientStyle eStyle)
95 case css::awt::GradientStyle_LINEAR :
97 return attribute::GradientStyle::Linear;
99 case css::awt::GradientStyle_AXIAL :
101 return attribute::GradientStyle::Axial;
103 case css::awt::GradientStyle_RADIAL :
105 return attribute::GradientStyle::Radial;
107 case css::awt::GradientStyle_ELLIPTICAL :
109 return attribute::GradientStyle::Elliptical;
111 case css::awt::GradientStyle_SQUARE :
113 return attribute::GradientStyle::Square;
117 return attribute::GradientStyle::Rect;
122 attribute::HatchStyle XHatchStyleToHatchStyle(css::drawing::HatchStyle eStyle)
126 case css::drawing::HatchStyle_SINGLE :
128 return attribute::HatchStyle::Single;
130 case css::drawing::HatchStyle_DOUBLE :
132 return attribute::HatchStyle::Double;
136 return attribute::HatchStyle::Triple;
145 case css::drawing::LineJoint_BEVEL :
149 case css::drawing::LineJoint_MIDDLE :
150 case css::drawing::LineJoint_MITER :
154 case css::drawing::LineJoint_ROUND :
214 attribute::SdrGlowAttribute createNewSdrGlowAttribute(
const SfxItemSet& rSet)
218 return attribute::SdrGlowAttribute();
222 aColor.
SetAlpha(255 - std::round(nTransparency / 100.0 * 255.0));
224 attribute::SdrGlowAttribute glowAttr{ nRadius, aColor };
228 sal_Int32 getSoftEdgeRadius(
const SfxItemSet& rSet)
242 if(drawing::LineStyle_NONE != eStyle)
246 if(nTransparence > 100)
251 if(100 != nTransparence)
257 ::std::vector< double > aDotDashArray;
258 double fFullDotDashLen(0.0);
260 if(drawing::LineStyle_DASH == eStyle)
266 fFullDotDashLen = rDash.
CreateDotDashArray(aDotDashArray, static_cast<double>(nWidth));
271 LineJointToB2DLineJoin(eJoint),
272 static_cast<double>(nWidth),
273 static_cast<double>(nTransparence) * 0.01,
292 double fStartWidth(0.0);
293 double fEndWidth(0.0);
294 bool bStartActive(
false);
295 bool bEndActive(
false);
296 bool bStartCentered(
true);
297 bool bEndCentered(
true);
301 if(nTempStartWidth < 0)
303 fStartWidth = (
static_cast<double>(-nTempStartWidth) * fWidth) * 0.01;
307 fStartWidth =
static_cast<double>(nTempStartWidth);
310 if(0.0 != fStartWidth)
314 if(aStartPolyPolygon.count() && aStartPolyPolygon.getB2DPolygon(0).count())
324 if(nTempEndWidth < 0)
326 fEndWidth = (
static_cast<double>(-nTempEndWidth) * fWidth) * 0.01;
330 fEndWidth =
static_cast<double>(nTempEndWidth);
345 if(bStartActive || bEndActive)
348 aStartPolyPolygon, aEndPolyPolygon, fStartWidth, fEndWidth,
349 bStartActive, bEndActive, bStartCentered, bEndCentered);
363 if(nTransparence > 100)
372 if(nFillTransparence > 100)
374 nFillTransparence = 100;
377 if(nTransparence == nFillTransparence)
387 if(100 != nTransparence)
414 if(nTransparence > 100)
419 if(drawing::FillStyle_NONE != eStyle)
421 if(100 != nTransparence)
432 const bool bCompletelyTransparent(0xff == nStartLuminance && 0xff == nEndLuminance);
434 if(bCompletelyTransparent)
441 if(100 != nTransparence)
455 case drawing::FillStyle_GRADIENT :
459 const Color aStartColor(aXGradient.GetStartColor());
460 const sal_uInt16 nStartIntens(aXGradient.GetStartIntens());
463 if(nStartIntens != 100)
466 aStart =
interpolate(aBlack, aStart, static_cast<double>(nStartIntens) * 0.01);
469 const Color aEndColor(aXGradient.GetEndColor());
470 const sal_uInt16 nEndIntens(aXGradient.GetEndIntens());
473 if(nEndIntens != 100)
476 aEnd =
interpolate(aBlack, aEnd, static_cast<double>(nEndIntens) * 0.01);
480 XGradientStyleToGradientStyle(aXGradient.GetGradientStyle()),
481 static_cast<double>(aXGradient.GetBorder()) * 0.01,
482 static_cast<double>(aXGradient.GetXOffset()) * 0.01,
483 static_cast<double>(aXGradient.GetYOffset()) * 0.01,
484 static_cast<double>(aXGradient.GetAngle().get()) *
F_PI1800,
491 case drawing::FillStyle_HATCH :
494 const Color aColorB(rHatch.GetColor());
497 XHatchStyleToHatchStyle(rHatch.GetHatchStyle()),
498 static_cast<double>(rHatch.GetDistance()),
499 static_cast<double>(rHatch.GetAngle().get()) *
F_PI1800,
506 case drawing::FillStyle_BITMAP :
514 static_cast<double>(nTransparence) * 0.01,
522 if(nTransparence == 100)
542 const sal_Int32* pLeft,
543 const sal_Int32* pUpper,
544 const sal_Int32* pRight,
545 const sal_Int32* pLower)
556 bool bInEditMode(
false);
575 aOutlinerParaObject = *pTempObj;
590 const bool bWrongSpell(rDrawTextOutliner.GetControlWord() & EEControlBits::ONLINESPELLING);
628 const bool bCompletelyTransparent(0xff == nStartLuminance && 0xff == nEndLuminance);
629 const bool bNotTransparent(0x00 == nStartLuminance && 0x00 == nEndLuminance);
635 if(!bNotTransparent && !bCompletelyTransparent)
637 const double fStartLum(nStartLuminance / 255.0);
638 const double fEndLum(nEndLuminance / 255.0);
642 static_cast<double>(rGradient.
GetBorder()) * 0.01,
643 static_cast<double>(rGradient.
GetXOffset()) * 0.01,
644 static_cast<double>(rGradient.
GetYOffset()) * 0.01,
658 if(GraphicType::Bitmap != aGraphic.GetType() && GraphicType::GdiMetafile != aGraphic.GetType())
661 OSL_ENSURE(
false,
"No fill graphic in SfxItemSet (!)");
665 Size aPrefSize(aGraphic.GetPrefSize());
667 if(!aPrefSize.Width() || !aPrefSize.Height())
670 if(GraphicType::Bitmap == aGraphic.GetType())
672 aGraphic.SetPrefSize(aGraphic.GetBitmapEx().GetSizePixel());
673 aGraphic.SetPrefMapMode(
MapMode(MapUnit::MapPixel));
674 aPrefSize = aGraphic.GetPrefSize();
678 if(!aPrefSize.Width() || !aPrefSize.Height())
681 OSL_ENSURE(
false,
"Graphic has no size in SfxItemSet (!)");
687 basegfx::B2DVector aGraphicLogicSize(aGraphic.GetPrefSize().Width(), aGraphic.GetPrefSize().Height());
689 if (aGraphic.GetPrefMapMode().GetMapUnit() != aDestinationMapUnit)
695 if(MapUnit::MapPixel == aGraphic.GetPrefMapMode().GetMapUnit())
698 aGraphic.GetPrefSize(),
704 aGraphic.GetPrefSize(),
705 aGraphic.GetPrefMapMode(),
746 if(!bSuppressText && pText)
754 const sal_Int32 nSoftEdgeRadius(getSoftEdgeRadius(rSet));
766 bool bFontworkHideContour(
false);
779 bFontworkHideContour =
true;
784 if(!bFontworkHideContour)
800 const sal_Int32 nSoftEdgeRadius(getSoftEdgeRadius(rSet));
803 aGlow, nSoftEdgeRadius);
819 bool bFontworkHideContour(
false);
830 bFontworkHideContour =
true;
834 if(!bFontworkHideContour)
867 const sal_Int32 nSoftEdgeRadius(getSoftEdgeRadius(rSet));
870 aShadow, aFillFloatTransGradient,
871 aText, aGlow, nSoftEdgeRadius);
911 aLine, aFill, aLineStartEnd, aShadow, aFillFloatTransGradient);
920 css::drawing::ProjectionMode aProjectionMode(css::drawing::ProjectionMode_PARALLEL);
923 if(1 == nProjectionValue)
925 aProjectionMode = css::drawing::ProjectionMode_PERSPECTIVE;
932 const double fShadowSlant(
936 css::drawing::ShadeMode aShadeMode(css::drawing::ShadeMode_FLAT);
941 aShadeMode = css::drawing::ShadeMode_PHONG;
943 else if(2 == nShadeValue)
945 aShadeMode = css::drawing::ShadeMode_SMOOTH;
947 else if(3 == nShadeValue)
949 aShadeMode = css::drawing::ShadeMode_DRAFT;
961 ::std::vector< attribute::Sdr3DLightAttribute > aLightVector;
967 aLightVector.emplace_back(aColor,
aDirection,
true);
974 aLightVector.emplace_back(aColor,
aDirection,
false);
981 aLightVector.emplace_back(aColor,
aDirection,
false);
988 aLightVector.emplace_back(aColor,
aDirection,
false);
995 aLightVector.emplace_back(aColor,
aDirection,
false);
1002 aLightVector.emplace_back(aColor,
aDirection,
false);
1009 aLightVector.emplace_back(aColor,
aDirection,
false);
1016 aLightVector.emplace_back(aColor,
aDirection,
false);
1028 rfCornerRadiusX = rfCornerRadiusY =
static_cast<double>(nRadius);
1030 if(0.0 != rfCornerRadiusX)
1032 const double fHalfObjectWidth(rObjectRange.
getWidth() * 0.5);
1034 if(0.0 != fHalfObjectWidth)
1036 if(rfCornerRadiusX < 0.0)
1038 rfCornerRadiusX = 0.0;
1041 if(rfCornerRadiusX > fHalfObjectWidth)
1043 rfCornerRadiusX = fHalfObjectWidth;
1046 rfCornerRadiusX /= fHalfObjectWidth;
1050 rfCornerRadiusX = 0.0;
1054 if(0.0 == rfCornerRadiusY)
1057 const double fHalfObjectHeight(rObjectRange.
getHeight() * 0.5);
1059 if(0.0 != fHalfObjectHeight)
1061 if(rfCornerRadiusY < 0.0)
1063 rfCornerRadiusY = 0.0;
1066 if(rfCornerRadiusY > fHalfObjectHeight)
1068 rfCornerRadiusY = fHalfObjectHeight;
1071 rfCornerRadiusY /= fHalfObjectHeight;
1075 rfCornerRadiusY = 0.0;
1083 const sal_Int32* pLeft,
1084 const sal_Int32* pUpper,
1085 const sal_Int32* pRight,
1086 const sal_Int32* pLower)
1091 bool bFontworkHideContour(
false);
1102 bFontworkHideContour =
true;
1106 if(!bFontworkHideContour)
SdrOutliner & GetDrawOutliner(const SdrTextObj *pObj=nullptr) const
constexpr TypedWhichId< XColorItem > SDRATTR_GLOW_COLOR(SDRATTR_GLOW_FIRST+1)
constexpr TypedWhichId< XFormTextHideFormItem > XATTR_FORMTXTHIDEFORM(XATTR_TEXT_FIRST+10)
tools::Long GetTextLowerDistance() const
Bottom inner spacing to borders.
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_4(SDRATTR_3DSCENE_FIRST+16)
constexpr TypedWhichId< SdrPercentItem > SDRATTR_SHADOWTRANSPARENCE(SDRATTR_SHADOW_FIRST+4)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_5(SDRATTR_3DSCENE_FIRST+25)
constexpr TypedWhichId< XLineEndItem > XATTR_LINEEND(XATTR_LINE_FIRST+5)
constexpr TypedWhichId< XLineEndCenterItem > XATTR_LINEENDCENTER(XATTR_LINE_FIRST+9)
void SetAlpha(sal_uInt8 nAlpha)
constexpr TypedWhichId< XFillBmpTileOffsetYItem > XATTR_FILLBMP_TILEOFFSETY(XATTR_FILL_FIRST+15)
constexpr TypedWhichId< XLineStartItem > XATTR_LINESTART(XATTR_LINE_FIRST+4)
Degree10 GetAngle() const
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_2(SDRATTR_3DSCENE_FIRST+22)
constexpr TypedWhichId< XLineJointItem > XATTR_LINEJOINT(XATTR_LINE_FIRST+11)
attribute::SdrFillAttribute createNewSdrFillAttribute(const SfxItemSet &rSet)
Point LogicToLogic(const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_5(SDRATTR_3DSCENE_FIRST+8)
attribute::SdrLineEffectsTextAttribute createNewSdrLineEffectsTextAttribute(const SfxItemSet &rSet, const SdrText *pText)
constexpr TypedWhichId< SfxMetricItem > XATTR_FILLBMP_SIZEX(XATTR_FILL_FIRST+9)
tools::Long GetTextLeftDistance() const
Left inner spacing to borders.
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_TEXT_CONTOURFRAME(SDRATTR_MISC_FIRST+21)
constexpr TypedWhichId< XFillStyleItem > XATTR_FILLSTYLE(XATTR_FILL_FIRST)
sal_uInt8 GetLuminance() const
constexpr TypedWhichId< XLineWidthItem > XATTR_LINEWIDTH(XATTR_LINE_FIRST+2)
bool IsInEditMode() const
attribute::SdrFillGraphicAttribute createNewSdrFillGraphicAttribute(const SfxItemSet &rSet)
SdrTextAniKind GetTextAniKind() const
constexpr TypedWhichId< XLineStyleItem > XATTR_LINESTYLE(XATTR_LINE_FIRST)
bool isHideContour() const
constexpr TypedWhichId< XLineDashItem > XATTR_LINEDASH(XATTR_LINE_FIRST+1)
constexpr TypedWhichId< XFillHatchItem > XATTR_FILLHATCH(XATTR_FILL_FIRST+3)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_7(SDRATTR_3DSCENE_FIRST+19)
constexpr TypedWhichId< XFillBackgroundItem > XATTR_FILLBACKGROUND(XATTR_FILL_FIRST+19)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_2(SDRATTR_3DSCENE_FIRST+14)
SdrTextAniKind
Animation type for text frame.
static OutputDevice * GetDefaultDevice()
HSLColor interpolate(const HSLColor &rFrom, const HSLColor &rTo, double t, bool bCCW)
const Color & GetStartColor() const
constexpr TypedWhichId< XLineTransparenceItem > XATTR_LINETRANSPARENCE(XATTR_LINE_FIRST+10)
virtual MapUnit GetMetric(sal_uInt16 nWhich) const
attribute::SdrLineFillShadowAttribute3D createNewSdrLineFillShadowAttribute(const SfxItemSet &rSet, bool bSuppressFill)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_DISTANCE(SDRATTR_3DSCENE_FIRST+1)
B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const
sal_uInt16 GetYOffset() const
SdrTextHorzAdjust GetTextHorizontalAdjust(const SfxItemSet &rSet) const
constexpr TypedWhichId< SfxUInt16Item > SDRATTR_3DSCENE_SHADOW_SLANT(SDRATTR_3DSCENE_FIRST+29)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_3(SDRATTR_3DSCENE_FIRST+6)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_7(SDRATTR_3DSCENE_FIRST+27)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_6(SDRATTR_3DSCENE_FIRST+26)
attribute::SdrLineAttribute createNewSdrLineAttribute(const SfxItemSet &rSet)
constexpr TypedWhichId< XColorItem > SDRATTR_SHADOWCOLOR(SDRATTR_SHADOW_FIRST+1)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_6(SDRATTR_3DSCENE_FIRST+18)
sal_uInt16 GetDots() const
sal_uInt16 GetXOffset() const
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWSIZEX(SDRATTR_SHADOW_FIRST+7)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_1(SDRATTR_3DSCENE_FIRST+13)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_SHADOW(SDRATTR_SHADOW_FIRST+0)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_1(SDRATTR_3DSCENE_FIRST+4)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWBLUR(SDRATTR_SHADOW_FIRST+9)
constexpr TypedWhichId< XFormTextStyleItem > XATTR_FORMTXTSTYLE(XATTR_TEXT_FIRST)
constexpr TypedWhichId< SdrPercentItem > SDRATTR_GLOW_TRANSPARENCY(SDRATTR_GLOW_FIRST+2)
std::unique_ptr< OutlinerParaObject > CreateEditOutlinerParaObject() const
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_3(SDRATTR_3DSCENE_FIRST+15)
UNDERLYING_TYPE get() const
attribute::SdrTextAttribute createNewSdrTextAttribute(const SfxItemSet &rSet, const SdrText &rText, const sal_Int32 *pLeft, const sal_Int32 *pUpper, const sal_Int32 *pRight, const sal_Int32 *pLower)
sal_uInt16 GetBorder() const
constexpr TypedWhichId< XLineStartWidthItem > XATTR_LINESTARTWIDTH(XATTR_LINE_FIRST+6)
constexpr TypedWhichId< XFillTransparenceItem > XATTR_FILLTRANSPARENCE(XATTR_FILL_FIRST+5)
constexpr TypedWhichId< XFillGradientItem > XATTR_FILLGRADIENT(XATTR_FILL_FIRST+2)
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
attribute::FillGradientAttribute createNewTransparenceGradientAttribute(const SfxItemSet &rSet)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_7(SDRATTR_3DSCENE_FIRST+10)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_1(SDRATTR_3DSCENE_FIRST+21)
constexpr TypedWhichId< XFillBitmapItem > XATTR_FILLBITMAP(XATTR_FILL_FIRST+4)
css::drawing::Direction3D aDirection
bool IsFitToSize() const
returns true if the old feature for fitting shape content should into shape is enabled. implies IsAutoFit()==false!
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_5(SDRATTR_3DSCENE_FIRST+17)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_TWO_SIDED_LIGHTING(SDRATTR_3DSCENE_FIRST+3)
SdrTextObj & GetObject() const
constexpr TypedWhichId< XLineEndWidthItem > XATTR_LINEENDWIDTH(XATTR_LINE_FIRST+7)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_AMBIENTCOLOR(SDRATTR_3DSCENE_FIRST+12)
constexpr TypedWhichId< XFillBmpPosItem > XATTR_FILLBMP_POS(XATTR_FILL_FIRST+8)
tools::Long Width() const
SdrModel & getSdrModelFromSdrObject() const
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWYDIST(SDRATTR_SHADOW_FIRST+3)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_8(SDRATTR_3DSCENE_FIRST+20)
constexpr double deg2rad(double v)
virtual SdrText * getActiveText() const
returns the currently active text.
double CreateDotDashArray(::std::vector< double > &rDotDashArray, double fLineWidth) const
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_8(SDRATTR_3DSCENE_FIRST+28)
void calculateRelativeCornerRadius(sal_Int32 nRadius, const basegfx::B2DRange &rObjectRange, double &rfCornerRadiusX, double &rfCornerRadiusY)
constexpr TypedWhichId< XLineStartCenterItem > XATTR_LINESTARTCENTER(XATTR_LINE_FIRST+8)
constexpr TypedWhichId< Svx3DPerspectiveItem > SDRATTR_3DSCENE_PERSPECTIVE(SDRATTR_3DSCENE_FIRST+0)
attribute::SdrEffectsTextAttribute createNewSdrEffectsTextAttribute(const SfxItemSet &rSet, const SdrText *pText, bool bSuppressText)
SfxItemPool * GetPool() const
attribute::SdrLineStartEndAttribute createNewSdrLineStartEndAttribute(const SfxItemSet &rSet, double fWidth)
Point PixelToLogic(const Point &rDevicePt) const
tools::Long GetTextRightDistance() const
Right inner spacing to borders.
css::awt::GradientStyle GetGradientStyle() const
constexpr TypedWhichId< XFillColorItem > XATTR_FILLCOLOR(XATTR_FILL_FIRST+1)
constexpr TypedWhichId< XGradientStepCountItem > XATTR_GRADIENTSTEPCOUNT(XATTR_FILL_FIRST+6)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWXDIST(SDRATTR_SHADOW_FIRST+2)
tools::Long GetTextUpperDistance() const
Top inner spacing to borders.
attribute::SdrSceneAttribute createNewSdrSceneAttribute(const SfxItemSet &rSet)
constexpr TypedWhichId< XFillFloatTransparenceItem > XATTR_FILLFLOATTRANSPARENCE(XATTR_FILL_FIRST+11)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
constexpr TypedWhichId< XFillBmpPosOffsetYItem > XATTR_FILLBMP_POSOFFSETY(XATTR_FILL_FIRST+18)
constexpr TypedWhichId< XFillBmpStretchItem > XATTR_FILLBMP_STRETCH(XATTR_FILL_FIRST+16)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_GLOW_RADIUS(SDRATTR_GLOW_FIRST+0)
attribute::SdrShadowAttribute createNewSdrShadowAttribute(const SfxItemSet &rSet)
constexpr TypedWhichId< XLineCapItem > XATTR_LINECAP(XATTR_LINE_FIRST+12)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_3(SDRATTR_3DSCENE_FIRST+23)
constexpr TypedWhichId< XFillBmpPosOffsetXItem > XATTR_FILLBMP_POSOFFSETX(XATTR_FILL_FIRST+17)
tools::Long Height() const
constexpr TypedWhichId< XFillBmpTileItem > XATTR_FILLBMP_TILE(XATTR_FILL_FIRST+7)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_8(SDRATTR_3DSCENE_FIRST+11)
attribute::SdrFillTextAttribute createNewSdrFillTextAttribute(const SfxItemSet &rSet, const SdrText *pText, const sal_Int32 *pLeft, const sal_Int32 *pUpper, const sal_Int32 *pRight, const sal_Int32 *pLower)
constexpr TypedWhichId< XFillBmpSizeLogItem > XATTR_FILLBMP_SIZELOG(XATTR_FILL_FIRST+13)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_6(SDRATTR_3DSCENE_FIRST+9)
constexpr TypedWhichId< SdrTextFixedCellHeightItem > SDRATTR_TEXT_USEFIXEDCELLHEIGHT(SDRATTR_MISC_FIRST+23)
bool IsAutoFit() const
returns true if the PPT autofit of text into shape bounds is enabled. implies IsFitToSize()==false! ...
virtual sal_Int32 getTextCount() const override
returns the number of texts available for this object.
const SdrFormTextAttribute & getSdrFormTextAttribute() const
constexpr TypedWhichId< Svx3DShadeModeItem > SDRATTR_3DSCENE_SHADE_MODE(SDRATTR_3DSCENE_FIRST+30)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SOFTEDGE_RADIUS(SDRATTR_SOFTEDGE_FIRST+0)
OutlinerParaObject * GetOutlinerParaObject() const
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_2(SDRATTR_3DSCENE_FIRST+5)
constexpr TypedWhichId< XFillBmpTileOffsetXItem > XATTR_FILLBMP_TILEOFFSETX(XATTR_FILL_FIRST+14)
SdrTextVertAdjust GetTextVerticalAdjust(const SfxItemSet &rSet) const
const SfxPoolItem * GetItem(sal_uInt16 nWhich, bool bSearchInParent=true) const
constexpr TypedWhichId< XLineColorItem > XATTR_LINECOLOR(XATTR_LINE_FIRST+3)
constexpr TypedWhichId< XFillBmpSizeYItem > XATTR_FILLBMP_SIZEY(XATTR_FILL_FIRST+10)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_4(SDRATTR_3DSCENE_FIRST+7)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_4(SDRATTR_3DSCENE_FIRST+24)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWSIZEY(SDRATTR_SHADOW_FIRST+8)
attribute::SdrLineFillEffectsTextAttribute createNewSdrLineFillEffectsTextAttribute(const SfxItemSet &rSet, const SdrText *pText, bool bHasContent)
const Color & GetEndColor() const
sal_uInt16 GetDashes() const
attribute::SdrLightingAttribute createNewSdrLightingAttribute(const SfxItemSet &rSet)