WPSColumnFormat Struct Reference

#include <WPSTable.h>

Public Member Functions

 WPSColumnFormat (float width=-1)
 constructor More...
 
void addTo (librevenge::RVNGPropertyList &propList) const
 add to the propList More...
 
int compare (WPSColumnFormat const &col) const
 a comparison function More...
 
bool operator== (WPSColumnFormat const &col) const
 operator== More...
 
bool operator!= (WPSColumnFormat const &col) const
 operator!= More...
 
bool operator< (WPSColumnFormat const &col) const
 operator< More...
 

Public Attributes

float m_width
 the column width, if known More...
 
bool m_isPercentWidth
 a flag to know if the width is in percent (or in point) More...
 
bool m_useOptimalWidth
 a flag to know if we need to see use-optimal column width More...
 
bool m_isHeader
 a flag to know if the column is a header column More...
 
int m_numRepeat
 the number times a column is repeated More...
 

Friends

std::ostream & operator<< (std::ostream &o, WPSColumnFormat const &col)
 operator<< More...
 

Constructor & Destructor Documentation

WPSColumnFormat::WPSColumnFormat ( float  width = -1)
inlineexplicit

constructor

Member Function Documentation

void WPSColumnFormat::addTo ( librevenge::RVNGPropertyList &  propList) const

add to the propList

int WPSColumnFormat::compare ( WPSColumnFormat const &  col) const
inline

a comparison function

Note
this comparison function does ignore m_numRepeat

Referenced by operator!=(), operator<(), and operator==().

bool WPSColumnFormat::operator!= ( WPSColumnFormat const &  col) const
inline

operator!=

bool WPSColumnFormat::operator< ( WPSColumnFormat const &  col) const
inline

operator<

bool WPSColumnFormat::operator== ( WPSColumnFormat const &  col) const
inline

operator==

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
WPSColumnFormat const &  col 
)
friend

operator<<

Member Data Documentation

bool WPSColumnFormat::m_isHeader

a flag to know if the column is a header column

Referenced by addTo(), compare(), and operator<<().

bool WPSColumnFormat::m_isPercentWidth

a flag to know if the width is in percent (or in point)

Referenced by addTo(), compare(), and operator<<().

float WPSColumnFormat::m_width

the column width, if known

Referenced by addTo(), compare(), and operator<<().


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

Generated on Sat Jul 29 2017 15:32:23 for libwps by doxygen 1.8.8