64 #include <com/sun/star/drawing/ProjectionMode.hpp>
65 #include <com/sun/star/drawing/ShadeMode.hpp>
73 #include <osl/diagnose.h>
85 #include <com/sun/star/drawing/LineCap.hpp>
93 attribute::GradientStyle XGradientStyleToGradientStyle(css::awt::GradientStyle eStyle)
97 case css::awt::GradientStyle_LINEAR :
99 return attribute::GradientStyle::Linear;
101 case css::awt::GradientStyle_AXIAL :
103 return attribute::GradientStyle::Axial;
105 case css::awt::GradientStyle_RADIAL :
107 return attribute::GradientStyle::Radial;
109 case css::awt::GradientStyle_ELLIPTICAL :
111 return attribute::GradientStyle::Elliptical;
113 case css::awt::GradientStyle_SQUARE :
115 return attribute::GradientStyle::Square;
119 return attribute::GradientStyle::Rect;
124 attribute::HatchStyle XHatchStyleToHatchStyle(css::drawing::HatchStyle eStyle)
128 case css::drawing::HatchStyle_SINGLE :
130 return attribute::HatchStyle::Single;
132 case css::drawing::HatchStyle_DOUBLE :
134 return attribute::HatchStyle::Double;
138 return attribute::HatchStyle::Triple;
147 case css::drawing::LineJoint_BEVEL :
151 case css::drawing::LineJoint_MIDDLE :
152 case css::drawing::LineJoint_MITER :
156 case css::drawing::LineJoint_ROUND :
216 attribute::SdrGlowAttribute createNewSdrGlowAttribute(
const SfxItemSet& rSet)
220 return attribute::SdrGlowAttribute();
224 aColor.
SetAlpha(255 - std::round(nTransparency / 100.0 * 255.0));
226 attribute::SdrGlowAttribute glowAttr{ nRadius, aColor };
230 sal_Int32 getSoftEdgeRadius(
const SfxItemSet& rSet)
244 if(drawing::LineStyle_NONE != eStyle)
248 if(nTransparence > 100)
253 if(100 != nTransparence)
259 ::std::vector< double > aDotDashArray;
260 double fFullDotDashLen(0.0);
262 if(drawing::LineStyle_DASH == eStyle)
268 fFullDotDashLen = rDash.
CreateDotDashArray(aDotDashArray, static_cast<double>(nWidth));
273 LineJointToB2DLineJoin(eJoint),
274 static_cast<double>(nWidth),
275 static_cast<double>(nTransparence) * 0.01,
278 std::move(aDotDashArray),
294 double fStartWidth(0.0);
295 double fEndWidth(0.0);
296 bool bStartActive(
false);
297 bool bEndActive(
false);
298 bool bStartCentered(
true);
299 bool bEndCentered(
true);
303 if(nTempStartWidth < 0)
305 fStartWidth = (
static_cast<double>(-nTempStartWidth) * fWidth) * 0.01;
309 fStartWidth =
static_cast<double>(nTempStartWidth);
312 if(0.0 != fStartWidth)
316 if(aStartPolyPolygon.count() && aStartPolyPolygon.getB2DPolygon(0).count())
326 if(nTempEndWidth < 0)
328 fEndWidth = (
static_cast<double>(-nTempEndWidth) * fWidth) * 0.01;
332 fEndWidth =
static_cast<double>(nTempEndWidth);
347 if(bStartActive || bEndActive)
350 aStartPolyPolygon, aEndPolyPolygon, fStartWidth, fEndWidth,
351 bStartActive, bEndActive, bStartCentered, bEndCentered);
365 if(nTransparence > 100)
374 if(nFillTransparence > 100)
376 nFillTransparence = 100;
379 if(nTransparence == nFillTransparence)
389 if(100 != nTransparence)
416 if(nTransparence > 100)
421 if(drawing::FillStyle_NONE != eStyle)
423 if(100 != nTransparence)
434 const bool bCompletelyTransparent(0xff == nStartLuminance && 0xff == nEndLuminance);
436 if(bCompletelyTransparent)
443 if(100 != nTransparence)
457 case drawing::FillStyle_GRADIENT :
461 const Color aStartColor(aXGradient.GetStartColor());
462 const sal_uInt16 nStartIntens(aXGradient.GetStartIntens());
465 if(nStartIntens != 100)
468 aStart =
interpolate(aBlack, aStart, static_cast<double>(nStartIntens) * 0.01);
471 const Color aEndColor(aXGradient.GetEndColor());
472 const sal_uInt16 nEndIntens(aXGradient.GetEndIntens());
475 if(nEndIntens != 100)
478 aEnd =
interpolate(aBlack, aEnd, static_cast<double>(nEndIntens) * 0.01);
482 XGradientStyleToGradientStyle(aXGradient.GetGradientStyle()),
483 static_cast<double>(aXGradient.GetBorder()) * 0.01,
484 static_cast<double>(aXGradient.GetXOffset()) * 0.01,
485 static_cast<double>(aXGradient.GetYOffset()) * 0.01,
493 case drawing::FillStyle_HATCH :
496 const Color aColorB(rHatch.GetColor());
499 XHatchStyleToHatchStyle(rHatch.GetHatchStyle()),
500 static_cast<double>(rHatch.GetDistance()),
508 case drawing::FillStyle_BITMAP :
516 static_cast<double>(nTransparence) * 0.01,
524 if(nTransparence == 100)
544 const sal_Int32* pLeft,
545 const sal_Int32* pUpper,
546 const sal_Int32* pRight,
547 const sal_Int32* pLower)
558 bool bInEditMode(
false);
577 aOutlinerParaObject = *pTempObj;
592 const bool bWrongSpell(rDrawTextOutliner.GetControlWord() & EEControlBits::ONLINESPELLING);
630 const bool bCompletelyTransparent(0xff == nStartLuminance && 0xff == nEndLuminance);
631 const bool bNotTransparent(0x00 == nStartLuminance && 0x00 == nEndLuminance);
637 if(!bNotTransparent && !bCompletelyTransparent)
639 const double fStartLum(nStartLuminance / 255.0);
640 const double fEndLum(nEndLuminance / 255.0);
644 static_cast<double>(rGradient.
GetBorder()) * 0.01,
645 static_cast<double>(rGradient.
GetXOffset()) * 0.01,
646 static_cast<double>(rGradient.
GetYOffset()) * 0.01,
661 if (aGraphic.GetType() == GraphicType::Default && !aOriginURL.isEmpty())
667 if(GraphicType::Bitmap != aGraphic.GetType() && GraphicType::GdiMetafile != aGraphic.GetType())
670 OSL_ENSURE(
false,
"No fill graphic in SfxItemSet (!)");
674 Size aPrefSize(aGraphic.GetPrefSize());
676 if(!aPrefSize.Width() || !aPrefSize.Height())
679 if(GraphicType::Bitmap == aGraphic.GetType())
681 aGraphic.SetPrefSize(aGraphic.GetBitmapEx().GetSizePixel());
682 aGraphic.SetPrefMapMode(
MapMode(MapUnit::MapPixel));
683 aPrefSize = aGraphic.GetPrefSize();
687 if(!aPrefSize.Width() || !aPrefSize.Height())
690 OSL_ENSURE(
false,
"Graphic has no size in SfxItemSet (!)");
696 basegfx::B2DVector aGraphicLogicSize(aGraphic.GetPrefSize().Width(), aGraphic.GetPrefSize().Height());
698 if (aGraphic.GetPrefMapMode().GetMapUnit() != aDestinationMapUnit)
704 if(MapUnit::MapPixel == aGraphic.GetPrefMapMode().GetMapUnit())
707 aGraphic.GetPrefSize(),
713 aGraphic.GetPrefSize(),
714 aGraphic.GetPrefMapMode(),
755 if(!bSuppressText && pText)
763 const sal_Int32 nSoftEdgeRadius(getSoftEdgeRadius(rSet));
775 bool bFontworkHideContour(
false);
788 bFontworkHideContour =
true;
793 if(!bFontworkHideContour)
809 const sal_Int32 nSoftEdgeRadius(getSoftEdgeRadius(rSet));
812 aGlow, nSoftEdgeRadius);
828 bool bFontworkHideContour(
false);
839 bFontworkHideContour =
true;
843 if(!bFontworkHideContour)
876 const sal_Int32 nSoftEdgeRadius(getSoftEdgeRadius(rSet));
879 aShadow, aFillFloatTransGradient,
880 aText, aGlow, nSoftEdgeRadius);
920 aLine, aFill, aLineStartEnd, aShadow, aFillFloatTransGradient);
929 css::drawing::ProjectionMode aProjectionMode(css::drawing::ProjectionMode_PARALLEL);
932 if(1 == nProjectionValue)
934 aProjectionMode = css::drawing::ProjectionMode_PERSPECTIVE;
941 const double fShadowSlant(
945 css::drawing::ShadeMode aShadeMode(css::drawing::ShadeMode_FLAT);
950 aShadeMode = css::drawing::ShadeMode_PHONG;
952 else if(2 == nShadeValue)
954 aShadeMode = css::drawing::ShadeMode_SMOOTH;
956 else if(3 == nShadeValue)
958 aShadeMode = css::drawing::ShadeMode_DRAFT;
970 ::std::vector< attribute::Sdr3DLightAttribute > aLightVector;
976 aLightVector.emplace_back(aColor,
aDirection,
true);
983 aLightVector.emplace_back(aColor,
aDirection,
false);
990 aLightVector.emplace_back(aColor,
aDirection,
false);
997 aLightVector.emplace_back(aColor,
aDirection,
false);
1004 aLightVector.emplace_back(aColor,
aDirection,
false);
1011 aLightVector.emplace_back(aColor,
aDirection,
false);
1018 aLightVector.emplace_back(aColor,
aDirection,
false);
1025 aLightVector.emplace_back(aColor,
aDirection,
false);
1037 rfCornerRadiusX = rfCornerRadiusY =
static_cast<double>(nRadius);
1039 if(0.0 != rfCornerRadiusX)
1041 const double fHalfObjectWidth(rObjectRange.
getWidth() * 0.5);
1043 if(0.0 != fHalfObjectWidth)
1045 if(rfCornerRadiusX < 0.0)
1047 rfCornerRadiusX = 0.0;
1050 if(rfCornerRadiusX > fHalfObjectWidth)
1052 rfCornerRadiusX = fHalfObjectWidth;
1055 rfCornerRadiusX /= fHalfObjectWidth;
1059 rfCornerRadiusX = 0.0;
1063 if(0.0 == rfCornerRadiusY)
1066 const double fHalfObjectHeight(rObjectRange.
getHeight() * 0.5);
1068 if(0.0 != fHalfObjectHeight)
1070 if(rfCornerRadiusY < 0.0)
1072 rfCornerRadiusY = 0.0;
1075 if(rfCornerRadiusY > fHalfObjectHeight)
1077 rfCornerRadiusY = fHalfObjectHeight;
1080 rfCornerRadiusY /= fHalfObjectHeight;
1084 rfCornerRadiusY = 0.0;
1092 const sal_Int32* pLeft,
1093 const sal_Int32* pUpper,
1094 const sal_Int32* pRight,
1095 const sal_Int32* pLower)
1100 bool bFontworkHideContour(
false);
1111 bFontworkHideContour =
true;
1115 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)
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
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)
SAL_WARN_UNUSED_RESULT 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)
enum SAL_DLLPUBLIC_RTTI FillStyle
constexpr double deg2rad(double v)
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
void setOriginURL(OUString const &rOriginURL)
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)
Graphic loadFromURL(OUString const &rURL, weld::Window *pParentWin)
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)
constexpr tools::Long Width() const
virtual MapUnit GetMetric(sal_uInt16 nWhich) const
OutlinerParaObject * GetOutlinerParaObject()
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)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_3(SDRATTR_3DSCENE_FIRST+15)
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)
attribute::FillGradientAttribute createNewTransparenceGradientAttribute(const SfxItemSet &rSet)
const XGradient & GetGradientValue() const
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)
SdrModel & getSdrModelFromSdrObject() const
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWYDIST(SDRATTR_SHADOW_FIRST+3)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_8(SDRATTR_3DSCENE_FIRST+20)
OUString getOriginURL() const
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)
SAL_WARN_UNUSED_RESULT 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 tools::Long Height() const
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)
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)
std::optional< OutlinerParaObject > CreateEditOutlinerParaObject() const
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)
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)