This class represents a <office:font-face-decls> element. More...
#include <ODe_FontFaceDecls.h>
Public Member Functions | |
virtual | ~ODe_FontFaceDecls () |
Destructor. | |
void | addFont (const UT_UTF8String &rFontName) |
Add a font face declaration. | |
bool | write (GsfOutput *pODT) const |
Write the <office:font-face-decls> element. | |
Private Attributes | |
UT_GenericStringMap < UT_UTF8String * > | m_fontDecls |
This class represents a <office:font-face-decls> element.
ODe_FontFaceDecls::~ODe_FontFaceDecls | ( | ) | [virtual] |
Destructor.
References DELETEP, UT_GenericStringMap< T >::enumerate(), UT_GenericVector< T >::getItemCount(), and m_fontDecls.
void ODe_FontFaceDecls::addFont | ( | const UT_UTF8String & | rFontName | ) |
Add a font face declaration.
References UT_GenericStringMap< T >::contains(), UT_UTF8String::empty(), UT_GenericStringMap< T >::insert(), m_fontDecls, UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by ODe_DocumentData::doPostListeningWork().
bool ODe_FontFaceDecls::write | ( | GsfOutput * | pODT | ) | const |
Write the <office:font-face-decls> element.
References UT_GenericStringMap< T >::enumerate(), UT_GenericVector< T >::getItemCount(), m_fontDecls, and ODe_writeUTF8String().
Referenced by ODe_DocumentData::writeContentXML(), and ODe_DocumentData::writeStylesXML().
Referenced by addFont(), write(), and ~ODe_FontFaceDecls().