WPXPageSpan Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Private Attributes | List of all members
WPXPageSpan Class Reference

`#include <WPXPageSpan.h>`

## Public Member Functions
| WPXPageSpan ()
| WPXPageSpan (const WPXPageSpan &page, double paragraphMarginLeft, double paragraphMarginRight)
virtual | ~WPXPageSpan ()
bool | getPageNumberSuppression () const
bool | getHeaderFooterSuppression (const unsigned char headerFooterType) const
double | getFormLength () const
double | getFormWidth () const
WPXFormOrientation | getFormOrientation () const
double | getMarginLeft () const
double | getMarginRight () const
double | getMarginTop () const
double | getMarginBottom () const
WPXPageNumberPosition | getPageNumberPosition () const
bool | getPageNumberOverriden () const
int | getPageNumberOverride () const
WPXNumberingType | getPageNumberingType () const
double | getPageNumberingFontSize () const
librevenge::RVNGString | getPageNumberingFontName () const
int | getPageSpan () const
const std::vector < WPXHeaderFooter > & | getHeaderFooterList () const
void | setHeaderFooter (const WPXHeaderFooterType type, const unsigned char headerFooterType, const WPXHeaderFooterOccurrence occurrence, const WPXSubDocument *subDocument, WPXTableList tableList)
void | setPageNumberSuppression (const bool suppress)
void | setHeadFooterSuppression (const unsigned char headerFooterType, const bool suppress)
void | setFormLength (const double formLength)
void | setFormWidth (const double formWidth)
void | setFormOrientation (const WPXFormOrientation formOrientation)
void | setMarginLeft (const double marginLeft)
void | setMarginRight (const double marginRight)
void | setMarginTop (const double marginTop)
void | setMarginBottom (const double marginBottom)
void | setPageNumberPosition (const WPXPageNumberPosition pageNumberPosition)
void | setPageNumber (const int pageNumberOverride)
void | setPageNumberingType (const WPXNumberingType pageNumberingType)
void | setPageNumberingFontSize (const double pageNumberingFontSize)
void | setPageNumberingFontName (const librevenge::RVNGString &pageNumberingFontName)
void | setPageSpan (const int pageSpan)

## Protected Member Functions
void | _removeHeaderFooter (WPXHeaderFooterType type, WPXHeaderFooterOccurrence occurrence)
bool | _containsHeaderFooter (WPXHeaderFooterType type, WPXHeaderFooterOccurrence occurrence)

## Private Attributes
bool | m_isHeaderFooterSuppressed [WPX_NUM_HEADER_FOOTER_TYPES]
bool | m_isPageNumberSuppressed
double | m_formLength
double | m_formWidth
WPXFormOrientation | m_formOrientation
double | m_marginLeft
double | m_marginRight
double | m_marginTop
double | m_marginBottom
WPXPageNumberPosition | m_pageNumberPosition
bool | m_isPageNumberOverridden
int | m_pageNumberOverride
WPXNumberingType | m_pageNumberingType
librevenge::RVNGString | m_pageNumberingFontName
double | m_pageNumberingFontSize
std::vector< WPXHeaderFooter > | m_headerFooterList
int | m_pageSpan

## Constructor & Destructor Documentation

WPXPageSpan::WPXPageSpan | ( |  | ) |

WPXPageSpan::WPXPageSpan | ( | const WPXPageSpan & | page,
|  | double | paragraphMarginLeft,
|  | double | paragraphMarginRight
| ) |  |

WPXPageSpan::~WPXPageSpan | ( |  | ) |
| virtual

## Member Function Documentation

bool WPXPageSpan::_containsHeaderFooter | ( | WPXHeaderFooterType | type,
|  | WPXHeaderFooterOccurrence | occurrence
| ) |  |
| protected

Referenced by setHeaderFooter().

void WPXPageSpan::_removeHeaderFooter | ( | WPXHeaderFooterType | type,
|  | WPXHeaderFooterOccurrence | occurrence
| ) |  |
| protected

Referenced by setHeaderFooter().

double WPXPageSpan::getFormLength | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan().

WPXFormOrientation WPXPageSpan::getFormOrientation | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan().

double WPXPageSpan::getFormWidth | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan().

const std::vector<WPXHeaderFooter>& WPXPageSpan::getHeaderFooterList | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), WP42StylesListener::insertBreak(), WP1StylesListener::insertBreak(), WP5StylesListener::insertBreak(), and operator==().

bool WPXPageSpan::getHeaderFooterSuppression | ( | const unsigned char | headerFooterType | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), and operator==().

double WPXPageSpan::getMarginBottom | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), and operator==().

double WPXPageSpan::getMarginLeft | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), WP3StylesListener::marginChange(), WP5StylesListener::marginChange(), WP6StylesListener::marginChange(), WP1StylesListener::marginReset(), and operator==().

double WPXPageSpan::getMarginRight | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), WP3StylesListener::marginChange(), WP5StylesListener::marginChange(), WP6StylesListener::marginChange(), WP1StylesListener::marginReset(), and operator==().

double WPXPageSpan::getMarginTop | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), and operator==().

librevenge::RVNGString WPXPageSpan::getPageNumberingFontName | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), and operator==().

double WPXPageSpan::getPageNumberingFontSize | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), and operator==().

WPXNumberingType WPXPageSpan::getPageNumberingType | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), and operator==().

int WPXPageSpan::getPageNumberOverride | ( |  | ) | const
| inline

Referenced by WPXContentListener::_appendParagraphProperties(), and operator==().

bool WPXPageSpan::getPageNumberOverriden | ( |  | ) | const
| inline

Referenced by WPXContentListener::_appendParagraphProperties(), and operator==().

WPXPageNumberPosition WPXPageSpan::getPageNumberPosition | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), and operator==().

bool WPXPageSpan::getPageNumberSuppression | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan(), and operator==().

int WPXPageSpan::getPageSpan | ( |  | ) | const
| inline

Referenced by WPXContentListener::_openPageSpan().

void WPXPageSpan::setFormLength | ( | const double | formLength | ) |
| inline

Referenced by WP3StylesListener::pageFormChange(), WP5StylesListener::pageFormChange(), and WP6StylesListener::pageFormChange().

void WPXPageSpan::setFormOrientation | ( | const WPXFormOrientation | formOrientation | ) |
| inline

Referenced by WP3StylesListener::pageFormChange(), WP5StylesListener::pageFormChange(), and WP6StylesListener::pageFormChange().

void WPXPageSpan::setFormWidth | ( | const double | formWidth | ) |
| inline

Referenced by WP3StylesListener::pageFormChange(), WP5StylesListener::pageFormChange(), and WP6StylesListener::pageFormChange().

void WPXPageSpan::setHeaderFooter | ( | const WPXHeaderFooterType | type,
|  | const unsigned char | headerFooterType,
|  | const WPXHeaderFooterOccurrence | occurrence,
|  | const WPXSubDocument * | subDocument,
|  | WPXTableList | tableList
| ) |  |

Referenced by WP42StylesListener::headerFooterGroup(), WP1StylesListener::headerFooterGroup(), WP5StylesListener::headerFooterGroup(), WP3StylesListener::headerFooterGroup(), WP6StylesListener::headerFooterGroup(), WP42StylesListener::insertBreak(), WP1StylesListener::insertBreak(), and WP5StylesListener::insertBreak().

void WPXPageSpan::setHeadFooterSuppression | ( | const unsigned char | headerFooterType,
|  | const bool | suppress
| ) |  |
| inline

Referenced by WP3StylesListener::suppressPage(), WP42StylesListener::suppressPageCharacteristics(), WP1StylesListener::suppressPageCharacteristics(), WP5StylesListener::suppressPageCharacteristics(), and WP6StylesListener::suppressPageCharacteristics().

void WPXPageSpan::setMarginBottom | ( | const double | marginBottom | ) |
| inline

Referenced by WP1StylesListener::bottomMarginSet(), WP3StylesListener::pageMarginChange(), WP5StylesListener::pageMarginChange(), and WP6StylesListener::pageMarginChange().

void WPXPageSpan::setMarginLeft | ( | const double | marginLeft | ) |
| inline

Referenced by WP42StylesListener::insertBreak(), WP3StylesListener::insertBreak(), WP1StylesListener::insertBreak(), WP5StylesListener::insertBreak(), WP6StylesListener::insertBreak(), WP3StylesListener::marginChange(), WP5StylesListener::marginChange(), WP6StylesListener::marginChange(), and WP1StylesListener::marginReset().

void WPXPageSpan::setMarginRight | ( | const double | marginRight | ) |
| inline

Referenced by WP42StylesListener::insertBreak(), WP3StylesListener::insertBreak(), WP1StylesListener::insertBreak(), WP5StylesListener::insertBreak(), WP6StylesListener::insertBreak(), WP3StylesListener::marginChange(), WP5StylesListener::marginChange(), WP6StylesListener::marginChange(), and WP1StylesListener::marginReset().

void WPXPageSpan::setMarginTop | ( | const double | marginTop | ) |
| inline

Referenced by WP3StylesListener::pageMarginChange(), WP5StylesListener::pageMarginChange(), WP6StylesListener::pageMarginChange(), and WP1StylesListener::topMarginSet().

void WPXPageSpan::setPageNumber | ( | const int | pageNumberOverride | ) |
| inline

Referenced by WP6StylesListener::setPageNumber().

void WPXPageSpan::setPageNumberingFontName | ( | const librevenge::RVNGString & | pageNumberingFontName | ) |
| inline

Referenced by WP6StylesListener::pageNumberingChange().

void WPXPageSpan::setPageNumberingFontSize | ( | const double | pageNumberingFontSize | ) |
| inline

Referenced by WP6StylesListener::pageNumberingChange().

void WPXPageSpan::setPageNumberingType | ( | const WPXNumberingType | pageNumberingType | ) |
| inline

Referenced by WP6StylesListener::setPageNumberingType().

void WPXPageSpan::setPageNumberPosition | ( | const WPXPageNumberPosition | pageNumberPosition | ) |
| inline

Referenced by WP6StylesListener::pageNumberingChange().

void WPXPageSpan::setPageNumberSuppression | ( | const bool | suppress | ) |
| inline

Referenced by WP6StylesListener::suppressPageCharacteristics().

void WPXPageSpan::setPageSpan | ( | const int | pageSpan | ) |
| inline

Referenced by WP42StylesListener::insertBreak(), WP3StylesListener::insertBreak(), WP1StylesListener::insertBreak(), WP5StylesListener::insertBreak(), and WP6StylesListener::insertBreak().

## Member Data Documentation

double WPXPageSpan::m_formLength
| private

Referenced by getFormLength(), and setFormLength().

WPXFormOrientation WPXPageSpan::m_formOrientation
| private

Referenced by getFormOrientation(), and setFormOrientation().

double WPXPageSpan::m_formWidth
| private

Referenced by getFormWidth(), and setFormWidth().

std::vector<WPXHeaderFooter> WPXPageSpan::m_headerFooterList
| private

Referenced by _containsHeaderFooter(), _removeHeaderFooter(), getHeaderFooterList(), and setHeaderFooter().

bool WPXPageSpan::m_isHeaderFooterSuppressed[WPX_NUM_HEADER_FOOTER_TYPES]
| private

Referenced by getHeaderFooterSuppression(), setHeadFooterSuppression(), and WPXPageSpan().

bool WPXPageSpan::m_isPageNumberOverridden
| private

Referenced by getPageNumberOverriden(), and setPageNumber().

bool WPXPageSpan::m_isPageNumberSuppressed
| private

Referenced by getPageNumberSuppression(), and setPageNumberSuppression().

double WPXPageSpan::m_marginBottom
| private

Referenced by getMarginBottom(), and setMarginBottom().

double WPXPageSpan::m_marginLeft
| private

Referenced by getMarginLeft(), and setMarginLeft().

double WPXPageSpan::m_marginRight
| private

Referenced by getMarginRight(), and setMarginRight().

double WPXPageSpan::m_marginTop
| private

Referenced by getMarginTop(), and setMarginTop().

librevenge::RVNGString WPXPageSpan::m_pageNumberingFontName
| private

Referenced by getPageNumberingFontName(), and setPageNumberingFontName().

double WPXPageSpan::m_pageNumberingFontSize
| private

Referenced by getPageNumberingFontSize(), and setPageNumberingFontSize().

WPXNumberingType WPXPageSpan::m_pageNumberingType
| private

Referenced by getPageNumberingType(), and setPageNumberingType().

int WPXPageSpan::m_pageNumberOverride
| private

Referenced by getPageNumberOverride(), and setPageNumber().

WPXPageNumberPosition WPXPageSpan::m_pageNumberPosition
| private

Referenced by getPageNumberPosition(), and setPageNumberPosition().

int WPXPageSpan::m_pageSpan
| private

Referenced by getPageSpan(), and setPageSpan().

The documentation for this class was generated from the following files:

- WPXPageSpan.h
- WPXPageSpan.cpp