Internal: class to store the paragraph properties. More...
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<< | |
Internal: class to store the paragraph properties.
| FullWrtTextInternal::Paragraph::Paragraph | ( | ) | [inline] |
Constructor.
| 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().
| void FullWrtTextInternal::Paragraph::setBorder | ( | FullWrtStruct::Border | border | ) | [inline] |
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().
| void FullWrtTextInternal::Paragraph::updateFromRuler | ( | Paragraph const & | ruler | ) | [inline] |
update the paragraph data from a ruler
Referenced by FullWrtText::send().
| MWAWParagraph FullWrtTextInternal::Paragraph::updateToSent | ( | ) | const [inline] |
update the paragraph data to be sent to a listener
Referenced by FullWrtText::send().
| std::ostream& operator<< | ( | std::ostream & | o, |
| Paragraph const & | ind | ||
| ) | [friend] |
operator<<
int FullWrtTextInternal::Paragraph::m_actCol [mutable] |
the index of the actual column to send
Referenced by FullWrtText::sendTable(), and updateToSent().
the align value
Referenced by FullWrtText::send(), setAlign(), and updateToSent().
the before/after spacing ( negative in point, positive in percent)
Referenced by Paragraph(), setSpacings(), and updateToSent().
the actual border
Referenced by setBorder(), and updateToSent().
the zone dimension
Referenced by getTableDimensions(), FullWrtText::readParagraphTabs(), and updateFromRuler().
the spacing
Referenced by setInterlineSpacing(), and updateToSent().
| librevenge::RVNGUnit FullWrtTextInternal::Paragraph::m_interSpacingUnit |
the spacing unit
Referenced by setInterlineSpacing(), and updateToSent().
bool FullWrtTextInternal::Paragraph::m_isSent [mutable] |
a flag to know if the parser is send or not
Referenced by FullWrtText::send(), FullWrtText::sendTable(), setAlign(), setBorder(), setInterlineSpacing(), setSpacings(), updateFromRuler(), and updateToSent().
a flag to know if this is a table
Referenced by isTable(), FullWrtText::readParagraphTabs(), updateFromRuler(), and updateToSent().
the table border id
Referenced by FullWrtText::readParagraphTabs(), FullWrtText::sendTable(), and updateFromRuler().
| std::vector<int> FullWrtTextInternal::Paragraph::m_tableFlags |
the list of table limit
Referenced by getTableDimensions(), FullWrtText::readParagraphTabs(), updateFromRuler(), and updateToSent().