a class which stores section properties More...
#include <MWAWSection.hxx>
Classes | |
| struct | Column |
| struct to store the columns properties More... | |
Public Member Functions | |
| MWAWSection () | |
| constructor | |
| MWAWSection (MWAWSection const &)=default | |
| MWAWSection & | operator= (MWAWSection const &)=default |
| MWAWSection & | operator= (MWAWSection &&)=default |
| virtual | ~MWAWSection () |
| destructor | |
| void | setColumns (int num, double width, librevenge::RVNGUnit widthUnit, double colSep=0) |
| a function which sets n uniform columns | |
| int | numColumns () const |
| returns the number of columns | |
| bool | hasSingleColumns () const |
| returns the true if the section has only one columns | |
| void | addTo (librevenge::RVNGPropertyList &propList) const |
| add to the propList | |
| void | addColumnsTo (librevenge::RVNGPropertyListVector &propList) const |
| add tabs to the propList | |
| bool | operator!= (MWAWSection const &sec) const |
| operator!= | |
| bool | operator== (MWAWSection const &sec) const |
| operator== | |
Public Attributes | |
| std::vector< Column > | m_columns |
| the different column | |
| double | m_width |
| the total section width ( if set ) | |
| MWAWBorder | m_columnSeparator |
| the vertical separator between columns | |
| bool | m_balanceText |
| true if the text is balanced between different columns | |
| MWAWColor | m_backgroundColor |
| the background color | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, MWAWSection const &sec) |
| operator << | |
a class which stores section properties
|
inline |
constructor
Referenced by MWAWSection(), operator!=(), operator<<, operator=(), operator=(), operator==(), and BeagleWksTextInternal::Section::Section().
|
default |
|
virtual |
destructor
| void MWAWSection::addColumnsTo | ( | librevenge::RVNGPropertyListVector & | propList | ) | const |
add tabs to the propList
| void MWAWSection::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add to the propList
|
inline |
returns the true if the section has only one columns
|
inline |
returns the number of columns
Referenced by MarinerWrtText::send(), ClarisWksText::sendText(), WriterPlsParser::sendWindow(), and GreatWksText::sendZone().
|
inline |
operator!=
Referenced by operator==().
|
default |
|
default |
|
inline |
operator==
| void MWAWSection::setColumns | ( | int | num, |
| double | width, | ||
| librevenge::RVNGUnit | widthUnit, | ||
| double | colSep = 0 ) |
a function which sets n uniform columns
Referenced by HanMacWrdJTextInternal::Section::getSection(), HanMacWrdKTextInternal::Section::getSection(), MsWks4Zone::readContentZones(), BeagleWksText::readSection(), LightWayTxtText::sendMainText(), ScriptWriterParser::sendMainZone(), MacWrtProStructuresListenerState::sendSection(), MsWrd1Parser::sendText(), NisusWrtText::sendText(), StudentWritingCParser::sendText(), WriteNowText::sendZone(), and RagTime5StyleManager::updateTextStyles().
|
friend |
operator <<
| MWAWColor MWAWSection::m_backgroundColor |
the background color
Referenced by addTo(), MWAWSection(), operator!=(), and operator<<.
| bool MWAWSection::m_balanceText |
true if the text is balanced between different columns
Referenced by addTo(), MsWrdStruct::Section::getSection(), MWAWSection(), operator!=(), operator<<, and BeagleWksTextInternal::Section::Section().
| std::vector<Column> MWAWSection::m_columns |
the different column
Referenced by addColumnsTo(), addTo(), WriterPlsParser::findSection(), ClarisWksDocument::getMainSection(), ClarisWksTextInternal::Section::getSection(), FullWrtTextInternal::PageInfo::getSection(), GreatWksDRParserInternal::State::getSection(), GreatWksParserInternal::State::getSection(), HanMacWrdJTextInternal::Section::getSection(), HanMacWrdKTextInternal::Section::getSection(), MacWrtProStructuresInternal::Section::getSection(), MsWrdStruct::Section::getSection(), hasSingleColumns(), MWAWSection(), numColumns(), operator!=(), operator<<, MarinerWrtParser::readZoneDim(), ScriptWriterParser::sendMainZone(), and setColumns().
| MWAWBorder MWAWSection::m_columnSeparator |
the vertical separator between columns
Referenced by addTo(), GreatWksDRParserInternal::State::getSection(), GreatWksParserInternal::State::getSection(), MWAWSection(), operator!=(), operator<<, MsWks4Zone::readContentZones(), MarinerWrtParser::readDocInfo(), and BeagleWksText::readSection().
| double MWAWSection::m_width |
the total section width ( if set )
Referenced by MWAWSection(), and operator<<.