A class which defines the page properties. More...
#include <STOFFPageSpan.hxx>
Public Types | |
enum | ZoneType { Page =0, Header, Footer } |
the zone type More... | |
Public Member Functions | |
STOFFPageSpan () | |
constructor More... | |
virtual | ~STOFFPageSpan () |
destructor More... | |
void | addHeaderFooter (bool header, std::string const &occurrence, STOFFHeaderFooter const &hf) |
add a header on some page: occurrence must be odd|right, even|left, first, last or all More... | |
bool | operator== (shared_ptr< STOFFPageSpan > const &pageSpan) const |
operator== More... | |
bool | operator!= (shared_ptr< STOFFPageSpan > const &pageSpan) const |
operator!= More... | |
void | getPageProperty (librevenge::RVNGPropertyList &pList) const |
add the page properties in pList More... | |
void | sendHeaderFooters (STOFFListener *listener) const |
send the page's headers/footers if some exists More... | |
Public Attributes | |
int | m_pageSpan |
the number of page More... | |
librevenge::RVNGPropertyList | m_propertiesList [3] |
the document, header and footer property list More... | |
std::map< std::string, STOFFHeaderFooter > | m_occurrenceHFMap [2] |
the map occurrence to header/footer document More... | |
ZoneType | m_actualZone |
the actual zone type More... | |
A class which defines the page properties.
STOFFPageSpan::STOFFPageSpan | ( | ) |
constructor
|
virtual |
destructor
void STOFFPageSpan::addHeaderFooter | ( | bool | header, |
std::string const & | occurrence, | ||
STOFFHeaderFooter const & | hf | ||
) |
add a header on some page: occurrence must be odd|right, even|left, first, last or all
Referenced by StarPageAttribute::StarPAttributePageHF::addTo().
void STOFFPageSpan::getPageProperty | ( | librevenge::RVNGPropertyList & | pList | ) | const |
add the page properties in pList
Referenced by STOFFGraphicListener::_openPageSpan(), STOFFSpreadsheetListener::_openPageSpan(), and STOFFGraphicListener::openMasterPage().
|
inline |
operator!=
bool STOFFPageSpan::operator== | ( | shared_ptr< STOFFPageSpan > const & | pageSpan | ) | const |
operator==
Referenced by operator!=().
void STOFFPageSpan::sendHeaderFooters | ( | STOFFListener * | listener | ) | const |
send the page's headers/footers if some exists
Referenced by STOFFGraphicListener::_openPageSpan(), and STOFFSpreadsheetListener::_openPageSpan().
ZoneType STOFFPageSpan::m_actualZone |
the actual zone type
Referenced by StarPageAttribute::StarPAttributeBool::addTo(), StarPageAttribute::StarPAttributeUInt::addTo(), StarPageAttribute::StarPAttributeItemSet::addTo(), StarPageAttribute::StarPAttributeVec2i::addTo(), StarParagraphAttribute::StarPAttributeLRSpace::addTo(), StarParagraphAttribute::StarPAttributeULSpace::addTo(), StarPageAttribute::StarPAttributePage::addTo(), StarPageAttribute::StarPAttributeViewMode::addTo(), and StarObjectModelInternal::Page::updatePageSpan().
std::map<std::string, STOFFHeaderFooter> STOFFPageSpan::m_occurrenceHFMap[2] |
the map occurrence to header/footer document
Referenced by addHeaderFooter(), operator==(), and sendHeaderFooters().
int STOFFPageSpan::m_pageSpan |
librevenge::RVNGPropertyList STOFFPageSpan::m_propertiesList[3] |
the document, header and footer property list
Referenced by StarPageAttribute::StarPAttributeBool::addTo(), StarPageAttribute::StarPAttributeUInt::addTo(), StarPageAttribute::StarPAttributeVec2i::addTo(), StarParagraphAttribute::StarPAttributeLRSpace::addTo(), StarParagraphAttribute::StarPAttributeULSpace::addTo(), StarPageAttribute::StarPAttributePage::addTo(), StarPageAttribute::StarPAttributeViewMode::addTo(), getPageProperty(), operator==(), StarObjectModel::sendMasterPages(), STOFFPageSpan(), StarObjectModelInternal::Page::updatePageSpan(), and StarObjectModel::updatePageSpans().