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 | |
| virtual | ~MWAWSection () |
| destructor | |
| void | setColumns (int num, double width, WPXUnit 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 (WPXPropertyList &propList) const |
| add to the propList | |
| void | addColumnsTo (WPXPropertyListVector &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
| MWAWSection::MWAWSection | ( | ) | [inline] |
constructor
| virtual MWAWSection::~MWAWSection | ( | ) | [inline, virtual] |
destructor
| void MWAWSection::addColumnsTo | ( | WPXPropertyListVector & | propList | ) | const |
add tabs to the propList
| void MWAWSection::addTo | ( | WPXPropertyList & | propList | ) | const |
add to the propList
Referenced by addColumnsTo().
| bool MWAWSection::hasSingleColumns | ( | ) | const [inline] |
returns the true if the section has only one columns
| int MWAWSection::numColumns | ( | ) | const [inline] |
returns the number of columns
Referenced by MRWText::send(), FWText::send(), CWText::sendText(), WPParser::sendWindow(), and GWText::sendZone().
| bool MWAWSection::operator!= | ( | MWAWSection const & | sec | ) | const [inline] |
operator!=
Referenced by operator==().
| bool MWAWSection::operator== | ( | MWAWSection const & | sec | ) | const [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(), BWText::readSection(), LWText::sendMainText(), MWProStructuresListenerState::sendSection(), MSW1Parser::sendText(), NSText::sendText(), and WNText::sendZone().
| std::ostream& operator<< | ( | std::ostream & | o, |
| MWAWSection const & | sec | ||
| ) | [friend] |
operator <<
the background color
Referenced by addTo(), operator!=(), and operator<<().
true if the text is balanced between different columns
Referenced by addTo(), MSWStruct::Section::getSection(), operator!=(), operator<<(), and BWTextInternal::Section::Section().
| std::vector<Column> MWAWSection::m_columns |
the different column
Referenced by addColumnsTo(), addTo(), WPParser::findSection(), CWParser::getMainSection(), GWParserInternal::State::getSection(), 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().
the vertical separator between columns
Referenced by addTo(), GWParserInternal::State::getSection(), MWAWSection(), operator!=(), operator<<(), MSK4Zone::readContentZones(), MRWParser::readDocInfo(), and BWText::readSection().
| double MWAWSection::m_width |
the total section width ( if set )
Referenced by operator<<().