26 #include <rtl/instance.hxx>
73 sal_Int32 aTextLeftDistance,
74 sal_Int32 aTextUpperDistance,
75 sal_Int32 aTextRightDistance,
76 sal_Int32 aTextLowerDistance,
86 bool bFixedCellHeight,
89 : mpSdrText(pSdrText),
91 maSdrFormTextAttribute(),
92 maTextLeftDistance(aTextLeftDistance),
93 maTextUpperDistance(aTextUpperDistance),
94 maTextRightDistance(aTextRightDistance),
95 maTextLowerDistance(aTextLowerDistance),
96 maPropertiesVersion(0),
97 maSdrTextHorzAdjust(aSdrTextHorzAdjust),
98 maSdrTextVertAdjust(aSdrTextVertAdjust),
127 : mpSdrText(nullptr),
128 maSdrFormTextAttribute(),
129 maTextLeftDistance(0),
130 maTextUpperDistance(0),
131 maTextRightDistance(0),
132 maTextLowerDistance(0),
133 maPropertiesVersion(0),
152 assert(mpSdrText &&
"Access to text of default version of ImpSdrTextAttribute (!)");
158 assert(mxOutlinerParaObject &&
"Access to OutlinerParaObject of default version of ImpSdrTextAttribute (!)");
234 struct theGlobalDefault :
235 public rtl::Static< SdrTextAttribute::ImplType, theGlobalDefault > {};
242 sal_Int32 aTextLeftDistance,
243 sal_Int32 aTextUpperDistance,
244 sal_Int32 aTextRightDistance,
245 sal_Int32 aTextLowerDistance,
255 bool bFixedCellHeight,
258 : mpSdrTextAttribute(
260 &rSdrText, rOutlinerParaObject, eFormTextStyle, aTextLeftDistance,
261 aTextUpperDistance, aTextRightDistance, aTextLowerDistance,
262 aSdrTextHorzAdjust, aSdrTextVertAdjust, bContour, bFitToSize, bAutoFit,
263 bHideContour, bBlink, bScroll, bInEditMode, bFixedCellHeight, bWrongSpell,
269 : mpSdrTextAttribute(theGlobalDefault::
get())
274 : mpSdrTextAttribute(rCandidate.mpSdrTextAttribute)
279 : mpSdrTextAttribute(
std::move(rCandidate.mpSdrTextAttribute))
sal_uInt32 maPropertiesVersion
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
const SfxItemSet & GetItemSet() const
bool isFixedCellHeight() const
bool isWrongListEqual(const OutlinerParaObject &rCompare) const
bool isHideContour() const
sal_Int32 getTextUpperDistance() const
SdrTextVertAdjust maSdrTextVertAdjust
ImplType mpSdrTextAttribute
const SdrFormTextAttribute & getSdrFormTextAttribute() const
void impGetScrollTextTiming(drawinglayer::animation::AnimationEntryList &rAnimList, double fFrameLength, double fTextLength) const
const OutlinerParaObject & getOutlinerParaObject() const
sal_Int32 getTextRightDistance() const
bool isHideContour() const
std::shared_ptr< T > make_shared(Args &&...args)
virtual sdr::properties::BaseProperties & GetProperties() const
void impGetBlinkTextTiming(drawinglayer::animation::AnimationEntryList &rAnimList) const
SdrTextVertAdjust getSdrTextVertAdjust() const
bool operator==(const SdrTextAttribute &rCandidate) const
sal_Int32 getTextRightDistance() const
sal_Int32 maTextRightDistance
const BorderLinePrimitive2D *pCandidateB assert(pCandidateA)
std::shared_ptr< OutlinerParaObject > mxOutlinerParaObject
SdrTextHorzAdjust getSdrTextHorzAdjust() const
bool isInEditMode() const
const OutlinerParaObject & getOutlinerParaObject() const
sal_Int32 getTextLowerDistance() const
void getScrollTextTiming(drawinglayer::animation::AnimationEntryList &rAnimList, double fFrameLength, double fTextLength) const
sal_Int32 maTextUpperDistance
SdrTextObj & GetObject() const
bool same_object(const cow_wrapper &rOther) const
SdrTextAttribute & operator=(const SdrTextAttribute &rCandidate)
sal_Int32 getTextLeftDistance() const
bool operator==(const ImpSdrTextAttribute &rCandidate) const
sal_Int32 getTextLowerDistance() const
SdrTextHorzAdjust getSdrTextHorzAdjust() const
SdrFormTextAttribute maSdrFormTextAttribute
sal_Int32 getTextUpperDistance() const
void getBlinkTextTiming(drawinglayer::animation::AnimationEntryList &rAnimList) const
ImpSdrTextAttribute(const SdrText *pSdrText, const OutlinerParaObject &rOutlinerParaObject, XFormTextStyle eFormTextStyle, sal_Int32 aTextLeftDistance, sal_Int32 aTextUpperDistance, sal_Int32 aTextRightDistance, sal_Int32 aTextLowerDistance, SdrTextHorzAdjust aSdrTextHorzAdjust, SdrTextVertAdjust aSdrTextVertAdjust, bool bContour, bool bFitToSize, bool bAutoFit, bool bHideContour, bool bBlink, bool bScroll, bool bInEditMode, bool bFixedCellHeight, bool bWrongSpell, bool bChainable)
sal_Int32 maTextLeftDistance
const SdrText & getSdrText() const
sal_Int32 getTextLeftDistance() const
const SdrText & getSdrText() const
sal_Int32 maTextLowerDistance
const SdrText * mpSdrText
const SdrFormTextAttribute & getSdrFormTextAttribute() const
SdrTextVertAdjust getSdrTextVertAdjust() const
virtual sal_uInt32 getVersion() const
bool isFixedCellHeight() const
SdrTextHorzAdjust maSdrTextHorzAdjust
bool isInEditMode() const