Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

ODe_Style_PageLayout Class Reference

A <style:page-layout> element. More...

#include <ODe_Style_PageLayout.h>

List of all members.

Public Member Functions

void setName (const gchar *pName)
void setName (const UT_UTF8String &rName)
const gchar * getName () const
void fetchAttributesFromAbiDoc (PD_Document *pAbiDoc)
void fetchAttributesFromAbiSection (const PP_AttrProp *pAP)
 Fetch attributes from an AbiWord <section> tag.
bool write (GsfOutput *pODT, const UT_UTF8String &rSpacesOffset) const
 Write the <style:page-layout> element.
const char * getPageMarginTop (void)
const char * getPageMarginLeft (void)
const char * getPageMarginHeader (void)

Static Public Member Functions

static bool hasPageLayoutInfo (const PP_AttrProp *pAP)

Private Member Functions

bool _haveHeaderInfo () const
bool _haveFooterInfo () const

Private Attributes

UT_UTF8String m_name
UT_UTF8String m_pageWidth
UT_UTF8String m_pageHeight
UT_UTF8String m_printOrientation
UT_UTF8String m_marginTop
UT_UTF8String m_marginBottom
UT_UTF8String m_marginLeft
UT_UTF8String m_marginRight
UT_UTF8String m_backgroundColor
UT_UTF8String m_headerHeight
UT_UTF8String m_footerHeight
UT_UTF8String m_backgroundImage

Detailed Description

A <style:page-layout> element.

Member Function Documentation

bool ODe_Style_PageLayout::_haveFooterInfo (  )  const [inline, private]

References UT_UTF8String::empty(), and m_footerHeight.

Referenced by write().

bool ODe_Style_PageLayout::_haveHeaderInfo (  )  const [inline, private]

References UT_UTF8String::empty(), and m_headerHeight.

Referenced by write().

void ODe_Style_PageLayout::fetchAttributesFromAbiDoc ( PD_Document pAbiDoc  ) 
void ODe_Style_PageLayout::fetchAttributesFromAbiSection ( const PP_AttrProp pAP  ) 
const gchar* ODe_Style_PageLayout::getName (  )  const [inline]
const char* ODe_Style_PageLayout::getPageMarginHeader ( void   )  [inline]
const char* ODe_Style_PageLayout::getPageMarginLeft ( void   )  [inline]
const char* ODe_Style_PageLayout::getPageMarginTop ( void   )  [inline]
bool ODe_Style_PageLayout::hasPageLayoutInfo ( const PP_AttrProp pAP  )  [static]
void ODe_Style_PageLayout::setName ( const UT_UTF8String rName  )  [inline]

References m_name.

void ODe_Style_PageLayout::setName ( const gchar *  pName  )  [inline]
bool ODe_Style_PageLayout::write ( GsfOutput *  pODT,
const UT_UTF8String rSpacesOffset 
) const

Member Data Documentation

Referenced by getName(), setName(), and write().

Referenced by fetchAttributesFromAbiDoc(), and write().

Referenced by fetchAttributesFromAbiDoc(), and write().

Referenced by fetchAttributesFromAbiDoc(), and write().

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