FullWrtTextInternal::Paragraph Struct Reference

Internal: class to store the paragraph properties. More...

Inheritance diagram for FullWrtTextInternal::Paragraph:
MWAWParagraph

List of all members.

Public Member Functions

 Paragraph ()
 Constructor.
bool isTable () const
 returns true if this is a table
void setAlign (int align)
 set the align type
void setInterlineSpacing (double spacing, librevenge::RVNGUnit unit)
 set the interline spacing
void setSpacings (double spacing, bool before)
 set the before/after spacing ( negative in point, positive in percent )
void setBorder (FullWrtStruct::Border border)
 set the border type
void updateFromRuler (Paragraph const &ruler)
 update the paragraph data from a ruler
bool getTableDimensions (std::vector< float > &dim) const
 returns the table dimension in points
MWAWParagraph updateToSent () const
 update the paragraph data to be sent to a listener

Public Attributes

int m_align
 the align value
double m_interSpacing
 the spacing
librevenge::RVNGUnit m_interSpacingUnit
 the spacing unit
double m_befAftSpacings [2]
 the before/after spacing ( negative in point, positive in percent)
MWAWVec2f m_dim
 the zone dimension
FullWrtStruct::Border m_border
 the actual border
bool m_isTable
 a flag to know if this is a table
int m_tableBorderId
 the table border id
std::vector< int > m_tableFlags
 the list of table limit
int m_actCol
 the index of the actual column to send
bool m_isSent
 a flag to know if the parser is send or not

Friends

std::ostream & operator<< (std::ostream &o, Paragraph const &ind)
 operator<<

Detailed Description

Internal: class to store the paragraph properties.


Constructor & Destructor Documentation

Constructor.


Member Function Documentation

bool FullWrtTextInternal::Paragraph::getTableDimensions ( std::vector< float > &  dim) const [inline]

returns the table dimension in points

Referenced by FullWrtText::sendTable().

bool FullWrtTextInternal::Paragraph::isTable ( ) const [inline]

returns true if this is a table

Referenced by FullWrtText::send().

void FullWrtTextInternal::Paragraph::setAlign ( int  align) [inline]

set the align type

Referenced by FullWrtText::send().

set the border type

Referenced by FullWrtText::send().

void FullWrtTextInternal::Paragraph::setInterlineSpacing ( double  spacing,
librevenge::RVNGUnit  unit 
) [inline]

set the interline spacing

Referenced by FullWrtText::send().

void FullWrtTextInternal::Paragraph::setSpacings ( double  spacing,
bool  before 
) [inline]

set the before/after spacing ( negative in point, positive in percent )

Referenced by FullWrtText::send().

update the paragraph data from a ruler

Referenced by FullWrtText::send().

update the paragraph data to be sent to a listener

Referenced by FullWrtText::send().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Paragraph const &  ind 
) [friend]

operator<<


Member Data Documentation

the index of the actual column to send

Referenced by FullWrtText::sendTable(), and updateToSent().

the before/after spacing ( negative in point, positive in percent)

Referenced by Paragraph(), setSpacings(), and updateToSent().

the spacing unit

Referenced by setInterlineSpacing(), and updateToSent().


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