19 #ifndef INCLUDED_SW_INC_FMTCLDS_HXX
20 #define INCLUDED_SW_INC_FMTCLDS_HXX
47 void SetLeft ( sal_uInt16 nNew ) { m_nLeft = nNew; }
48 void SetRight( sal_uInt16 nNew ) { m_nRight = nNew; }
88 SAL_DLLPRIVATE
void Calc( sal_uInt16 nGutterWidth, sal_uInt16 nAct );
110 virtual bool PutValue(
const css::uno::Any& rVal,
sal_uInt8 nMemberId )
override;
127 sal_uInt16 GetGutterWidth(
bool bMin =
false )
const;
138 void Init( sal_uInt16 nNumCols, sal_uInt16 nGutterWidth, sal_uInt16 nAct );
144 void SetGutterWidth( sal_uInt16 nNew, sal_uInt16 nAct );
148 void SetOrtho(
bool bNew, sal_uInt16 nGutterWidth, sal_uInt16 nAct );
156 sal_uInt16 CalcColWidth( sal_uInt16 nCol, sal_uInt16 nAct )
const;
160 sal_uInt16 CalcPrtColWidth( sal_uInt16 nCol, sal_uInt16 nAct )
const;
sal_uInt16 m_nWish
Desired width, borders included.
std::vector< SwColumn > SwColumns
virtual bool operator==(const SfxPoolItem &) const =0
constexpr TypedWhichId< SwFormatCol > RES_COL(109)
void SetLeft(sal_uInt16 nNew)
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const =0
sal_uInt16 m_nLeft
Left border.
void SetRight(sal_uInt16 nNew)
void dumpAsXml(xmlTextWriterPtr pWriter) const
SfxPoolItem & operator=(const SfxPoolItem &)=delete
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId)
struct _xmlTextWriter * xmlTextWriterPtr
const SwFormatCol & GetCol(bool=true) const
sal_uInt16 GetWishWidth() const
void SetWishWidth(sal_uInt16 nNew)
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
sal_uInt16 GetRight() const
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
bool operator==(const SwColumn &) const
sal_uInt16 GetLeft() const
sal_uInt16 m_nRight
Right border.
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const