a font manager which can be used to store fonts, ... More...
#include <MWAWFont.hxx>
Public Member Functions | |
MWAWFontManager (std::shared_ptr< MWAWFontConverter > const &fontConverter) | |
constructor | |
~MWAWFontManager () | |
destructor | |
int | getId (MWAWFont const &font) |
returns a span id which can be used to call the list | |
bool | getFont (int id, MWAWFont &font) const |
returns the font corresponding to an id | |
std::shared_ptr< MWAWFontConverter > | getFontConverter () |
returns the font converter | |
Protected Attributes | |
std::shared_ptr< MWAWFontManagerInternal::State > | m_state |
the state | |
Private Member Functions | |
MWAWFontManager (MWAWFontManager const &)=delete | |
MWAWFontManager & | operator= (MWAWFontManager const &)=delete |
a font manager which can be used to store fonts, ...
|
explicit |
constructor
MWAWFontManager::~MWAWFontManager | ( | ) |
destructor
|
privatedelete |
bool MWAWFontManager::getFont | ( | int | id, |
MWAWFont & | font | ||
) | const |
returns the font corresponding to an id
std::shared_ptr< MWAWFontConverter > MWAWFontManager::getFontConverter | ( | ) |
returns the font converter
int MWAWFontManager::getId | ( | MWAWFont const & | font | ) |
returns a span id which can be used to call the list
|
privatedelete |
|
protected |
the state
Referenced by getFont(), getFontConverter(), and getId().