WPXPageSpan Class Reference

#include <WPXPageSpan.h>

List of all members.

Public Member Functions

 WPXPageSpan ()
 WPXPageSpan (const WPXPageSpan &page, float paragraphMarginLeft, float paragraphMarginRight)
 WPXPageSpan (const WPXPageSpan &page)
virtual ~WPXPageSpan ()
const bool getHeaderFooterSuppression (const uint8_t headerFooterType) const
const float getFormLength () const
const float getFormWidth () const
const WPXFormOrientation getFormOrientation () const
const float getMarginLeft () const
const float getMarginRight () const
const float getMarginTop () const
const float getMarginBottom () const
const int getPageSpan () const
const std::vector
< WPXHeaderFooter > & 
getHeaderFooterList () const
void setHeaderFooter (const WPXHeaderFooterType type, const uint8_t headerFooterType, const WPXHeaderFooterOccurence occurence, const WPXSubDocument *subDocument, WPXTableList tableList)
void setHeadFooterSuppression (const uint8_t headerFooterType, const bool suppress)
void setFormLength (const float formLength)
void setFormWidth (const float formWidth)
void setFormOrientation (const WPXFormOrientation formOrientation)
void setMarginLeft (const float marginLeft)
void setMarginRight (const float marginRight)
void setMarginTop (const float marginTop)
void setMarginBottom (const float marginBottom)
void setPageSpan (const int pageSpan)
void makeConsistent (int startingPageNumber)

Protected Member Functions

void _removeHeaderFooter (WPXHeaderFooterType type, WPXHeaderFooterOccurence occurence)
bool _containsHeaderFooter (WPXHeaderFooterType type, WPXHeaderFooterOccurence occurence)

Private Attributes

bool m_isHeaderFooterSuppressed [WPX_NUM_HEADER_FOOTER_TYPES]
float m_formLength
float m_formWidth
WPXFormOrientation m_formOrientation
float m_marginLeft
float m_marginRight
float m_marginTop
float m_marginBottom
std::vector< WPXHeaderFooterm_headerFooterList
int m_pageSpan

Constructor & Destructor Documentation

WPXPageSpan::WPXPageSpan (  ) 
WPXPageSpan::WPXPageSpan ( const WPXPageSpan page,
float  paragraphMarginLeft,
float  paragraphMarginRight 
)
WPXPageSpan::WPXPageSpan ( const WPXPageSpan page  ) 
WPXPageSpan::~WPXPageSpan (  )  [virtual]

Member Function Documentation

bool WPXPageSpan::_containsHeaderFooter ( WPXHeaderFooterType  type,
WPXHeaderFooterOccurence  occurence 
) [protected]

Referenced by setHeaderFooter().

void WPXPageSpan::_removeHeaderFooter ( WPXHeaderFooterType  type,
WPXHeaderFooterOccurence  occurence 
) [protected]

Referenced by setHeaderFooter().

const float WPXPageSpan::getFormLength (  )  const [inline]
const WPXFormOrientation WPXPageSpan::getFormOrientation (  )  const [inline]
const float WPXPageSpan::getFormWidth (  )  const [inline]
const std::vector<WPXHeaderFooter>& WPXPageSpan::getHeaderFooterList (  )  const [inline]
const bool WPXPageSpan::getHeaderFooterSuppression ( const uint8_t  headerFooterType  )  const [inline]
const float WPXPageSpan::getMarginBottom (  )  const [inline]
const float WPXPageSpan::getMarginLeft (  )  const [inline]
const float WPXPageSpan::getMarginRight (  )  const [inline]
const float WPXPageSpan::getMarginTop (  )  const [inline]
const int WPXPageSpan::getPageSpan (  )  const [inline]
void WPXPageSpan::makeConsistent ( int  startingPageNumber  ) 
void WPXPageSpan::setFormLength ( const float  formLength  )  [inline]
void WPXPageSpan::setFormOrientation ( const WPXFormOrientation  formOrientation  )  [inline]
void WPXPageSpan::setFormWidth ( const float  formWidth  )  [inline]
void WPXPageSpan::setHeaderFooter ( const WPXHeaderFooterType  type,
const uint8_t  headerFooterType,
const WPXHeaderFooterOccurence  occurence,
const WPXSubDocument subDocument,
WPXTableList  tableList 
)
void WPXPageSpan::setHeadFooterSuppression ( const uint8_t  headerFooterType,
const bool  suppress 
) [inline]
void WPXPageSpan::setMarginBottom ( const float  marginBottom  )  [inline]
void WPXPageSpan::setMarginLeft ( const float  marginLeft  )  [inline]
void WPXPageSpan::setMarginRight ( const float  marginRight  )  [inline]
void WPXPageSpan::setMarginTop ( const float  marginTop  )  [inline]
void WPXPageSpan::setPageSpan ( const int  pageSpan  )  [inline]

Member Data Documentation

float WPXPageSpan::m_formLength [private]

Referenced by getFormLength(), and setFormLength().

float WPXPageSpan::m_formWidth [private]

Referenced by getFormWidth(), and setFormWidth().

bool WPXPageSpan::m_isHeaderFooterSuppressed[WPX_NUM_HEADER_FOOTER_TYPES] [private]
float WPXPageSpan::m_marginBottom [private]

Referenced by getMarginBottom(), and setMarginBottom().

float WPXPageSpan::m_marginLeft [private]

Referenced by getMarginLeft(), and setMarginLeft().

float WPXPageSpan::m_marginRight [private]

Referenced by getMarginRight(), and setMarginRight().

float WPXPageSpan::m_marginTop [private]

Referenced by getMarginTop(), and setMarginTop().

int WPXPageSpan::m_pageSpan [private]

Referenced by getPageSpan(), and setPageSpan().


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

Generated on Mon Jul 5 15:17:37 2010 for libwpd by doxygen 1.6.3