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 alignment More...
 

Public Member Functions

 MWAWTabStop (double position=0.0, Alignment alignment=LEFT, uint16_t leaderCharacter='\0', uint16_t decimalCharacter='.')
 constructor More...
 
void addTo (librevenge::RVNGPropertyListVector &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 alignment ( 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

◆ Alignment

the tab alignment

Enumerator
LEFT 
RIGHT 
CENTER 
DECIMAL 
BAR 

Constructor & Destructor Documentation

◆ MWAWTabStop()

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

constructor

Member Function Documentation

◆ addTo()

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

add a tab to the propList

◆ cmp()

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

a comparison function

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

◆ operator!=()

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

operator!=

◆ operator==()

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

operator==

Friends And Related Function Documentation

◆ operator<<

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

operator <<

Member Data Documentation

◆ m_alignment

◆ m_decimalCharacter

◆ m_leaderCharacter

◆ m_position


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

Generated on Fri Sep 18 2020 18:14:52 for libmwaw by doxygen 1.8.20