Public Member Functions | Private Types | Private Attributes

ODi_Style_MasterPage Class Reference

Class representing a <style:master-page> More...

#include <ODi_Style_MasterPage.h>

Inheritance diagram for ODi_Style_MasterPage:
ODi_ListenerState

List of all members.

Public Member Functions

 ODi_Style_MasterPage (PD_Document *pDocument, ODi_ElementStack &rElementStack)
 Constructor.
virtual ~ODi_Style_MasterPage ()
void startElement (const gchar *pName, const gchar **ppAtts, ODi_ListenerStateAction &rAction)
void endElement (const gchar *pName, ODi_ListenerStateAction &rAction)
void charData (const gchar *, int)
const std::string & getLayoutName () const
void setLayoutStylePointer (ODi_Style_PageLayout *pPageLayoutStyle)
void definePageSizeTag (PD_Document *pDocument) const
const std::string getSectionProps () const
const std::string & getSectionDataID () const
const std::string & getName () const
const std::string & getPageLayoutName () const
const ODi_Style_PageLayoutgetPageLayout () const
const std::string & getAWHeaderSectionID () const
const std::string & getAWFooterSectionID () const
const std::string & getAWEvenHeaderSectionID () const
const std::string & getAWEvenFooterSectionID () const

Private Types

enum  ODI_ParsingState { ODI_FIRST_PASS, ODI_SECOND_PASS, ODI_POSTPONING, ODI_POSTPONED_SECOND_PASS }

Private Attributes

PD_Documentm_pAbiDocument
ODi_Style_PageLayoutm_pPageLayoutStyle
std::string m_name
std::string m_layoutName
std::string m_AW_headerSectionID
std::string m_AW_evenHeaderSectionID
std::string m_AW_footerSectionID
std::string m_AW_evenFooterSectionID
enum
ODi_Style_MasterPage::ODI_ParsingState 
m_parsingState

Detailed Description

Class representing a <style:master-page>


Member Enumeration Documentation

Enumerator:
ODI_FIRST_PASS 
ODI_SECOND_PASS 
ODI_POSTPONING 
ODI_POSTPONED_SECOND_PASS 

Constructor & Destructor Documentation

ODi_Style_MasterPage::ODi_Style_MasterPage ( PD_Document pDocument,
ODi_ElementStack rElementStack 
)

Constructor.

virtual ODi_Style_MasterPage::~ODi_Style_MasterPage (  )  [inline, virtual]

Member Function Documentation

void ODi_Style_MasterPage::charData ( const gchar *  ,
int   
) [inline, virtual]

Implements ODi_ListenerState.

void ODi_Style_MasterPage::definePageSizeTag ( PD_Document pDocument  )  const [inline]
void ODi_Style_MasterPage::endElement ( const gchar *  pName,
ODi_ListenerStateAction rAction 
) [virtual]
const std::string& ODi_Style_MasterPage::getAWEvenFooterSectionID (  )  const [inline]
const std::string& ODi_Style_MasterPage::getAWEvenHeaderSectionID (  )  const [inline]
const std::string& ODi_Style_MasterPage::getAWFooterSectionID (  )  const [inline]
const std::string& ODi_Style_MasterPage::getAWHeaderSectionID (  )  const [inline]
const std::string& ODi_Style_MasterPage::getLayoutName (  )  const [inline]
const std::string& ODi_Style_MasterPage::getName (  )  const [inline]

References m_name.

const ODi_Style_PageLayout* ODi_Style_MasterPage::getPageLayout (  )  const [inline]
const std::string& ODi_Style_MasterPage::getPageLayoutName (  )  const [inline]

References m_layoutName.

const std::string& ODi_Style_MasterPage::getSectionDataID (  )  const [inline]
void ODi_Style_MasterPage::setLayoutStylePointer ( ODi_Style_PageLayout pPageLayoutStyle  )  [inline]

Member Data Documentation

std::string ODi_Style_MasterPage::m_name [private]

Referenced by getName(), and startElement().


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