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

ColumnDescriptor.

Definition at line 33 of file fmtclds.hxx.

Constructor & Destructor Documentation

SwColumn::SwColumn ( )

Definition at line 788 of file atrfrm.cxx.

Member Function Documentation

void SwColumn::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 802 of file atrfrm.cxx.

References m_nLeft, m_nRight, and m_nWish.

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

Definition at line 795 of file atrfrm.cxx.

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

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

Member Data Documentation

sal_uInt16 SwColumn::m_nLeft
private

Left border.

Definition at line 38 of file fmtclds.hxx.

Referenced by dumpAsXml(), and GetLeft().

sal_uInt16 SwColumn::m_nRight
private

Right border.

Definition at line 39 of file fmtclds.hxx.

Referenced by dumpAsXml(), and GetRight().

sal_uInt16 SwColumn::m_nWish
private

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: