MWAWTabStop Struct Reference

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

#include <MWAWParagraph.hxx>

List of all members.

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
void addTo (WPXPropertyListVector &propList, double decalX=0.0) const
 add a tab to the propList
bool operator== (MWAWTabStop const &tabs) const
 operator==
bool operator!= (MWAWTabStop const &tabs) const
 operator!=
int cmp (MWAWTabStop const &tabs) const
 a comparison function

Public Attributes

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

Friends

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

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: