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 ( )

Definition at line 811 of file atrfrm.cxx.

Member Function Documentation

void SwColumn::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 825 of file atrfrm.cxx.

References m_nLeft, m_nRight, m_nWish, and void().

sal_uInt16 SwColumn::GetLeft ( ) const
sal_uInt16 SwColumn::GetRight ( ) const
sal_uInt16 SwColumn::GetWishWidth ( ) const
bool SwColumn::operator== ( const SwColumn rCmp) const

Definition at line 818 of file atrfrm.cxx.

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

void SwColumn::SetLeft ( sal_uInt16  nNew)
void SwColumn::SetRight ( sal_uInt16  nNew)
void SwColumn::SetWishWidth ( sal_uInt16  nNew)

Member Data Documentation

sal_uInt16 SwColumn::m_nLeft

Left border.

Definition at line 38 of file fmtclds.hxx.

Referenced by dumpAsXml(), and GetLeft().

sal_uInt16 SwColumn::m_nRight

Right border.

Definition at line 39 of file fmtclds.hxx.

Referenced by dumpAsXml(), and GetRight().

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(), and operator==().

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