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 | |
STOFFPageSpan (STOFFPageSpan const &)=default | |
STOFFPageSpan (STOFFPageSpan &&)=default | |
STOFFPageSpan & | operator= (STOFFPageSpan const &)=default |
STOFFPageSpan & | operator= (STOFFPageSpan &&)=default |
~STOFFPageSpan () | |
destructor | |
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 | |
bool | operator== (std::shared_ptr< STOFFPageSpan > const &pageSpan) const |
operator== | |
bool | operator!= (std::shared_ptr< STOFFPageSpan > const &pageSpan) const |
operator!= | |
void | getPageProperty (librevenge::RVNGPropertyList &pList) const |
add the page properties in pList | |
void | sendHeaderFooters (STOFFListener *listener) const |
send the page's headers/footers if some exists | |
Public Attributes | |
int | m_pageSpan |
the number of page | |
librevenge::RVNGPropertyList | m_propertiesList [3] |
the document, header and footer property list | |
std::map< std::string, STOFFHeaderFooter > | m_occurrenceHFMap [2] |
the map occurrence to header/footer document | |
STOFFSection | m_section |
the main section | |
int | m_pageNumber |
the page number ( or -1) | |
A class which defines the page properties.
STOFFPageSpan::STOFFPageSpan | ( | ) |
constructor
|
default |
|
default |
STOFFPageSpan::~STOFFPageSpan | ( | ) |
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
void STOFFPageSpan::getPageProperty | ( | librevenge::RVNGPropertyList & | pList | ) | const |
add the page properties in pList
Referenced by STOFFGraphicListener::_openPageSpan(), STOFFSpreadsheetListener::_openPageSpan(), and STOFFGraphicListener::openMasterPage().
|
inline |
operator!=
|
default |
|
default |
bool STOFFPageSpan::operator== | ( | std::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().
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_pageNumber |
the page number ( or -1)
int STOFFPageSpan::m_pageSpan |
the number of page
Referenced by STOFFGraphicListener::_openPageSpan(), STOFFSpreadsheetListener::_openPageSpan(), SDAParser::createDocument(), SDGParser::createDocument(), SDCParser::createDocument(), SDWParser::createDocument(), getPageProperty(), StarFileManager::readOLEDirectory(), and StarObjectText::updatePageSpans().
librevenge::RVNGPropertyList STOFFPageSpan::m_propertiesList[3] |
the document, header and footer property list
Referenced by getPageProperty(), operator==(), StarObjectModel::sendMasterPages(), STOFFPageSpan(), StarObjectModelInternal::Page::updatePageSpan(), and StarObjectModel::updatePageSpans().
STOFFSection STOFFPageSpan::m_section |
the main section