MWAWTabStop Struct Reference

class to store a tab use by MWAWParagraph More...

#include <MWAWParagraph.hxx>

Public Types

enum  Alignment {
  LEFT, RIGHT, CENTER, DECIMAL,
  BAR
}
 the tab alignement More...
 

Public Member Functions

 MWAWTabStop (double position=0.0, Alignment alignment=LEFT, uint16_t leaderCharacter='\0', uint16_t decimalCharacter= '.')
 constructor More...
 
void addTo (WPXPropertyListVector &propList, double decalX=0.0) const
 add a tab to the propList More...
 
bool operator== (MWAWTabStop const &tabs) const
 operator== More...
 
bool operator!= (MWAWTabStop const &tabs) const
 operator!= More...
 
int cmp (MWAWTabStop const &tabs) const
 a comparison function More...
 

Public Attributes

double m_position
 the tab position More...
 
Alignment m_alignment
 the alignement ( left, center, ...) More...
 
uint16_t m_leaderCharacter
 the leader char More...
 
uint16_t m_decimalCharacter
 the decimal char More...
 

Friends

std::ostream & operator<< (std::ostream &o, MWAWTabStop const &ft)
 operator << More...
 

Detailed Description

class to store a tab use by MWAWParagraph

Member Enumeration Documentation

the tab alignement

Enumerator
LEFT 
RIGHT 
CENTER 
DECIMAL 
BAR 

Constructor & Destructor Documentation

MWAWTabStop::MWAWTabStop ( double  position = 0.0,
Alignment  alignment = LEFT,
uint16_t  leaderCharacter = '\0',
uint16_t  decimalCharacter = '.' 
)
inline

constructor

Member Function Documentation

void MWAWTabStop::addTo ( WPXPropertyListVector &  propList,
double  decalX = 0.0 
) const

add a tab to the propList

int MWAWTabStop::cmp ( MWAWTabStop const &  tabs) const

a comparison function

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

bool MWAWTabStop::operator!= ( MWAWTabStop const &  tabs) const
inline

operator!=

bool MWAWTabStop::operator== ( MWAWTabStop const &  tabs) const
inline

operator==

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
MWAWTabStop const &  ft 
)
friend

operator <<

Member Data Documentation


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

Generated on Tue Mar 10 2015 17:32:10 for libmwaw by doxygen 1.8.5