class to store the paragraph properties More...
#include <WPSParagraph.h>
Public Types | |
| enum | LineSpacingType { Fixed , AtLeast } |
| the line spacing type: fixed or at least More... | |
| typedef WPSList::Level | ListLevel |
Public Member Functions | |
| WPSParagraph () | |
| constructor | |
| WPSParagraph (WPSParagraph const &)=default | |
| WPSParagraph & | operator= (WPSParagraph const &)=default |
| virtual | ~WPSParagraph () |
| void | addTo (librevenge::RVNGPropertyList &propList, bool inTable) const |
| add to the propList | |
| void | setInterline (double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed) |
| set the interline | |
Public Attributes | |
| double | m_margins [3] |
| the margins | |
| double | m_spacings [3] |
| the line spacing | |
| librevenge::RVNGUnit | m_spacingsInterlineUnit |
| the interline unit PERCENT or INCH, ... | |
| LineSpacingType | m_spacingsInterlineType |
| the interline type: fixed, atLeast, ... | |
| std::vector< WPSTabStop > | m_tabs |
| the tabulations | |
| libwps::Justification | m_justify |
| the justification | |
| int | m_breakStatus |
| a list of bits: 0x1 (unbreakable), 0x2 (do not break after) | |
| int | m_listLevelIndex |
| the actual level index | |
| ListLevel | m_listLevel |
| the actual level | |
| WPSColor | m_backgroundColor |
| the background color | |
| int | m_border |
| list of bits to indicated a border 1: LeftBorderBit, 2: RightBorderBit, ... | |
| WPSBorder | m_borderStyle |
| the border style | |
| std::string | m_extra |
| a string to store some errors | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, WPSParagraph const &ft) |
| operator << | |
class to store the paragraph properties
|
inline |
constructor
Referenced by operator<<, operator=(), MSWriteParserInternal::Paragraph::Paragraph(), and WPSParagraph().
|
default |
|
virtual |
| void WPSParagraph::addTo | ( | librevenge::RVNGPropertyList & | propList, |
| bool | inTable ) const |
add to the propList
|
default |
|
inline |
set the interline
Referenced by WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), MSWriteParser::readText(), and XYWriteParserInternal::Format::updateParagraph().
|
friend |
operator <<
| WPSColor WPSParagraph::m_backgroundColor |
the background color
Referenced by addTo(), operator<<, DosWordParser::readPAP(), WPS8TextStyle::readParagraph(), XYWriteParserInternal::Format::updateParagraph(), and WPSParagraph().
| int WPSParagraph::m_border |
list of bits to indicated a border 1: LeftBorderBit, 2: RightBorderBit, ...
Referenced by addTo(), operator<<, DosWordParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), and WPSParagraph().
| WPSBorder WPSParagraph::m_borderStyle |
the border style
Referenced by addTo(), operator<<, DosWordParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), and WPSParagraph().
| int WPSParagraph::m_breakStatus |
a list of bits: 0x1 (unbreakable), 0x2 (do not break after)
Referenced by addTo(), operator<<, DosWordParser::readPAP(), WPS4Text::readParagraph(), XYWriteParserInternal::Format::updateParagraph(), and WPSParagraph().
| std::string WPSParagraph::m_extra |
a string to store some errors
Referenced by operator<<, WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), and WPSParagraph().
| libwps::Justification WPSParagraph::m_justify |
the justification
Referenced by addTo(), operator<<, QuattroGraphInternal::SubDocument::parse(), DosWordParser::readPAP(), MSWriteParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), Quattro9Graph::readTextboxStyle(), PocketWordParser::sendParagraph(), LotusGraph::sendTextBox(), XYWriteParserInternal::Format::updateParagraph(), and WPSParagraph().
| ListLevel WPSParagraph::m_listLevel |
the actual level
Referenced by addTo(), operator<<, WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), PocketWordParser::sendParagraph(), WPSContentListener::setParagraph(), and WPSParagraph().
| int WPSParagraph::m_listLevelIndex |
the actual level index
Referenced by addTo(), operator<<, WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), PocketWordParser::sendParagraph(), WPSContentListener::setParagraph(), and WPSParagraph().
| double WPSParagraph::m_margins[3] |
the margins
Referenced by addTo(), MSWriteParser::getHeaderFooters(), operator<<, DosWordParser::readPAP(), MSWriteParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), PocketWordParser::sendParagraph(), WPSContentListener::setParagraph(), XYWriteParserInternal::Format::updateParagraph(), and WPSParagraph().
| double WPSParagraph::m_spacings[3] |
the line spacing
Referenced by addTo(), operator<<, DosWordParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), setInterline(), XYWriteParserInternal::Format::updateParagraph(), and WPSParagraph().
| LineSpacingType WPSParagraph::m_spacingsInterlineType |
the interline type: fixed, atLeast, ...
Referenced by addTo(), operator<<, setInterline(), and WPSParagraph().
| librevenge::RVNGUnit WPSParagraph::m_spacingsInterlineUnit |
the interline unit PERCENT or INCH, ...
Referenced by addTo(), operator<<, setInterline(), and WPSParagraph().
| std::vector<WPSTabStop> WPSParagraph::m_tabs |
the tabulations
Referenced by addTo(), operator<<, DosWordParser::readPAP(), MSWriteParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), XYWriteParserInternal::Format::updateParagraph(), and WPSParagraph().