LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwColumn Class Reference

ColumnDescriptor. More...

#include <fmtclds.hxx>

Public Member Functions

 SwColumn ()
bool operator== (const SwColumn &) const
void SetWishWidth (sal_uInt16 nNew)
void SetLeft (sal_uInt16 nNew)
void SetRight (sal_uInt16 nNew)
sal_uInt16 GetWishWidth () const
sal_uInt16 GetLeft () const
sal_uInt16 GetRight () const
void dumpAsXml (xmlTextWriterPtr pWriter) const

Private Attributes

sal_uInt16 m_nWish
 Desired width, borders included. More...
sal_uInt16 m_nLeft
 Left border. More...
sal_uInt16 m_nRight
 Right border. More...

Detailed Description


Definition at line 33 of file fmtclds.hxx.

Constructor & Destructor Documentation

◆ SwColumn()

SwColumn::SwColumn ( )

Definition at line 810 of file atrfrm.cxx.

Member Function Documentation

◆ dumpAsXml()

void SwColumn::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 824 of file atrfrm.cxx.

References m_nLeft, m_nRight, and m_nWish.

◆ GetLeft()

sal_uInt16 SwColumn::GetLeft ( ) const

◆ GetRight()

sal_uInt16 SwColumn::GetRight ( ) const

◆ GetWishWidth()

sal_uInt16 SwColumn::GetWishWidth ( ) const

◆ operator==()

bool SwColumn::operator== ( const SwColumn rCmp) const

Definition at line 817 of file atrfrm.cxx.

References GetLeft(), GetRight(), GetWishWidth(), and m_nWish.

◆ SetLeft()

void SwColumn::SetLeft ( sal_uInt16  nNew)

◆ SetRight()

void SwColumn::SetRight ( sal_uInt16  nNew)

◆ SetWishWidth()

void SwColumn::SetWishWidth ( sal_uInt16  nNew)

Member Data Documentation

◆ m_nLeft

sal_uInt16 SwColumn::m_nLeft

Left border.

Definition at line 38 of file fmtclds.hxx.

Referenced by dumpAsXml(), GetLeft(), and SetLeft().

◆ m_nRight

sal_uInt16 SwColumn::m_nRight

Right border.

Definition at line 39 of file fmtclds.hxx.

Referenced by dumpAsXml(), GetRight(), and SetRight().

◆ m_nWish

sal_uInt16 SwColumn::m_nWish

Desired width, borders included.

It is inversely proportional to the ratio of desired width environment / current width column.

Definition at line 35 of file fmtclds.hxx.

Referenced by dumpAsXml(), GetWishWidth(), operator==(), and SetWishWidth().

The documentation for this class was generated from the following files: