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 More... | |
| void | setColumns (int num, double width, WPXUnit widthUnit, double colSep=0) |
| a function which sets n uniform columns More... | |
| int | numColumns () const |
| returns the number of columns More... | |
| bool | hasSingleColumns () const |
| returns the true if the section has only one columns More... | |
| void | addTo (WPXPropertyList &propList) const |
| add to the propList More... | |
| void | addColumnsTo (WPXPropertyListVector &propList) const |
| add tabs to the propList More... | |
| bool | operator!= (MWAWSection const &sec) const |
| operator!= More... | |
| bool | operator== (MWAWSection const &sec) const |
| operator== More... | |
Public Attributes | |
| std::vector< Column > | m_columns |
| the different column More... | |
| double | m_width |
| the total section width ( if set ) More... | |
| MWAWBorder | m_columnSeparator |
| the vertical separator between columns More... | |
| bool | m_balanceText |
| true if the text is balanced between different columns More... | |
| MWAWColor | m_backgroundColor |
| the background color More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, MWAWSection const &sec) |
| operator << More... | |
a class which stores section properties
|
inline |
constructor
| void MWAWSection::addColumnsTo | ( | WPXPropertyListVector & | propList | ) | const |
add tabs to the propList
| void MWAWSection::addTo | ( | WPXPropertyList & | propList | ) | const |
add to the propList
Referenced by addColumnsTo().
|
inline |
returns the true if the section has only one columns
|
inline |
returns the number of columns
Referenced by MRWText::send(), FWText::send(), CWText::sendText(), and WPParser::sendWindow().
|
inline |
operator!=
Referenced by operator==().
|
inline |
operator==
| void MWAWSection::setColumns | ( | int | num, |
| double | width, | ||
| WPXUnit | widthUnit, | ||
| double | colSep = 0 |
||
| ) |
a function which sets n uniform columns
Referenced by HMWKTextInternal::Section::getSection(), HMWJTextInternal::Section::getSection(), MSK4Zone::readContentZones(), LWText::sendMainText(), MWProStructuresListenerState::sendSection(), MSW1Parser::sendText(), NSText::sendText(), and WNText::sendZone().
|
friend |
operator <<
| MWAWColor MWAWSection::m_backgroundColor |
the background color
Referenced by addTo(), operator!=(), and operator<<().
| bool MWAWSection::m_balanceText |
true if the text is balanced between different columns
Referenced by addTo(), MSWStruct::Section::getSection(), operator!=(), and operator<<().
| std::vector<Column> MWAWSection::m_columns |
the different column
Referenced by addColumnsTo(), addTo(), WPParser::findSection(), CWParser::getMainSection(), HMWKTextInternal::Section::getSection(), MSWStruct::Section::getSection(), HMWJTextInternal::Section::getSection(), CWTextInternal::Section::getSection(), FWTextInternal::PageInfo::getSection(), MWProStructuresInternal::Section::getSection(), hasSingleColumns(), numColumns(), operator!=(), operator<<(), MRWParser::readZoneDim(), and setColumns().
| MWAWBorder MWAWSection::m_columnSeparator |
the vertical separator between columns
Referenced by addTo(), MWAWSection(), operator!=(), operator<<(), MSK4Zone::readContentZones(), and MRWParser::readDocInfo().
| double MWAWSection::m_width |
the total section width ( if set )
Referenced by operator<<().