19#ifndef INCLUDED_SVX_SDTFSITM_HXX
20#define INCLUDED_SVX_SDTFSITM_HXX
22#include <com/sun/star/drawing/TextFitToSizeType.hpp>
34 :
public SfxEnumItem<css::drawing::TextFitToSizeType>
45 , m_nMaxScale(rItem.GetMaxScale())
56 static OUString GetValueTextByPos(sal_uInt16 nPos);
62 void SetMaxScale(
double nMaxScale) { m_nMaxScale = nMaxScale; }
65 double m_nMaxScale = 0.0;
void SetMaxScale(double nMaxScale)
SdrTextFitToSizeTypeItem(const SdrTextFitToSizeTypeItem &rItem)
SdrTextFitToSizeTypeItem(css::drawing::TextFitToSizeType const eFit=css::drawing::TextFitToSizeType_NONE)
double GetMaxScale() const
virtual sal_uInt16 GetValueCount() const=0
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8) override
virtual bool HasBoolValue() const
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8=0) const override
virtual void SetBoolValue(bool bValue)
virtual bool GetPresentation(SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override
virtual bool GetBoolValue() const
virtual bool operator==(SfxPoolItem const &other) const override
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const=0
constexpr TypedWhichId< SdrTextFitToSizeTypeItem > SDRATTR_TEXT_FITTOSIZE(SDRATTR_MISC_FIRST+3)
#define SVXCORE_DLLPUBLIC