24 :
SfxTabPage(pPage, pController,
"cui/ui/textcolumnstabpage.ui",
"TextColumnsPage", &rInAttrs)
25 , m_xColumnsNumber(m_xBuilder->weld_spin_button(
"FLD_COL_NUMBER"))
27 m_xBuilder->weld_metric_spin_button(
"MTR_FLD_COL_SPACING",
GetModuleFieldUnit(rInAttrs)))
79 return std::make_unique<SvxTextColumnsPage>(pPage, pController, *rAttrs);
const SfxPoolItem & GetDefaultItem(sal_uInt16 nWhich) const
virtual MapUnit GetMetric(sal_uInt16 nWhich) const
SfxItemPool * GetPool() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
static const SfxPoolItem * GetItem(const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
std::unique_ptr< weld::MetricSpinButton > m_xColumnsSpacing
virtual bool FillItemSet(SfxItemSet *) override
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
virtual ~SvxTextColumnsPage() override
virtual void Reset(const SfxItemSet *) override
SvxTextColumnsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
static const WhichRangesContainer pRanges
std::unique_ptr< weld::SpinButton > m_xColumnsNumber
SVXCORE_DLLPUBLIC FieldUnit GetModuleFieldUnit(const SfxItemSet &)
constexpr TypedWhichId< SfxInt16Item > SDRATTR_TEXTCOLUMNS_NUMBER(SDRATTR_TEXTCOLUMNS_FIRST+0)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXTCOLUMNS_SPACING(SDRATTR_TEXTCOLUMNS_FIRST+1)
SVT_DLLPUBLIC sal_Int64 GetCoreValue(const weld::MetricSpinButton &rField, MapUnit eUnit)
SVT_DLLPUBLIC void SetMetricValue(weld::MetricSpinButton &rField, sal_Int64 nCoreValue, MapUnit eUnit)