A <style:master-page> element. More...
#include <ODe_Style_MasterPage.h>
A <style:master-page> element.
ODe_Style_MasterPage::ODe_Style_MasterPage | ( | const gchar * | pName, | |
const gchar * | pPageLayoutName | |||
) |
Constructor.
References m_name, m_pageLayoutName, m_pFooterContentTemp, m_pFooterEvenContentTemp, m_pHeaderContentTemp, and m_pHeaderEvenContentTemp.
ODe_Style_MasterPage::~ODe_Style_MasterPage | ( | ) | [virtual] |
Destructor.
References m_pFooterContentTemp, m_pFooterEvenContentTemp, m_pHeaderContentTemp, m_pHeaderEvenContentTemp, and ODe_gsf_output_close().
void ODe_Style_MasterPage::fetchAttributesFromAbiSection | ( | const PP_AttrProp * | pAP | ) |
Fetches info from an AbiWord <section> tag (from its attributes as properties).
References gchar, PP_AttrProp::getAttribute(), m_abiFooterEvenId, m_abiFooterId, m_abiHeaderEvenId, and m_abiHeaderId.
Referenced by ODe_Main_Listener::openSection().
const UT_UTF8String& ODe_Style_MasterPage::getAbiFooterEvenId | ( | ) | const [inline] |
References m_abiFooterEvenId.
Referenced by ODe_Main_Listener::_openHeaderFooterSection().
const UT_UTF8String& ODe_Style_MasterPage::getAbiFooterId | ( | ) | const [inline] |
References m_abiFooterId.
Referenced by ODe_Main_Listener::_openHeaderFooterSection().
const UT_UTF8String& ODe_Style_MasterPage::getAbiHeaderEvenId | ( | ) | const [inline] |
References m_abiHeaderEvenId.
Referenced by ODe_Main_Listener::_openHeaderFooterSection().
const UT_UTF8String& ODe_Style_MasterPage::getAbiHeaderId | ( | ) | const [inline] |
References m_abiHeaderId.
Referenced by ODe_Main_Listener::_openHeaderFooterSection().
GsfOutput* ODe_Style_MasterPage::getFooterContentTempFile | ( | ) | const [inline] |
References m_pFooterContentTemp.
Referenced by ODe_Main_Listener::_openHeaderFooterSection().
GsfOutput* ODe_Style_MasterPage::getFooterEvenContentTempFile | ( | ) | const [inline] |
References m_pFooterEvenContentTemp.
Referenced by ODe_Main_Listener::_openHeaderFooterSection().
GsfOutput* ODe_Style_MasterPage::getHeaderContentTempFile | ( | ) | const [inline] |
References m_pHeaderContentTemp.
Referenced by ODe_Main_Listener::_openHeaderFooterSection().
GsfOutput* ODe_Style_MasterPage::getHeaderEvenContentTempFile | ( | ) | const [inline] |
References m_pHeaderEvenContentTemp.
Referenced by ODe_Main_Listener::_openHeaderFooterSection().
bool ODe_Style_MasterPage::hasProperties | ( | ) | const [inline] |
References UT_UTF8String::empty(), m_abiFooterId, and m_abiHeaderId.
void ODe_Style_MasterPage::setName | ( | const UT_UTF8String & | rName | ) | [inline] |
References m_name.
void ODe_Style_MasterPage::setPageLayoutName | ( | const UT_UTF8String & | rPageLayoutName | ) | [inline] |
References m_pageLayoutName.
bool ODe_Style_MasterPage::write | ( | GsfOutput * | pODT | ) | const |
References ODe_Style_Style::convertStyleToNCName(), UT_UTF8String::empty(), m_abiFooterEvenId, m_abiFooterId, m_abiHeaderEvenId, m_abiHeaderId, m_name, m_pageLayoutName, m_pFooterContentTemp, m_pFooterEvenContentTemp, m_pHeaderContentTemp, m_pHeaderEvenContentTemp, ODe_gsf_output_write(), ODe_writeUTF8String(), and UT_UTF8String_sprintf().
Referenced by fetchAttributesFromAbiSection(), getAbiFooterEvenId(), and write().
Referenced by fetchAttributesFromAbiSection(), getAbiFooterId(), hasProperties(), and write().
Referenced by fetchAttributesFromAbiSection(), getAbiHeaderEvenId(), and write().
Referenced by fetchAttributesFromAbiSection(), getAbiHeaderId(), hasProperties(), and write().
UT_UTF8String ODe_Style_MasterPage::m_name [private] |
Referenced by ODe_Style_MasterPage(), setName(), and write().
Referenced by ODe_Style_MasterPage(), setPageLayoutName(), and write().
GsfOutput* ODe_Style_MasterPage::m_pFooterContentTemp [private] |
Referenced by getFooterContentTempFile(), ODe_Style_MasterPage(), write(), and ~ODe_Style_MasterPage().
GsfOutput* ODe_Style_MasterPage::m_pFooterEvenContentTemp [private] |
Referenced by getFooterEvenContentTempFile(), ODe_Style_MasterPage(), write(), and ~ODe_Style_MasterPage().
GsfOutput* ODe_Style_MasterPage::m_pHeaderContentTemp [private] |
Referenced by getHeaderContentTempFile(), ODe_Style_MasterPage(), write(), and ~ODe_Style_MasterPage().
GsfOutput* ODe_Style_MasterPage::m_pHeaderEvenContentTemp [private] |
Referenced by getHeaderEvenContentTempFile(), ODe_Style_MasterPage(), write(), and ~ODe_Style_MasterPage().