Manages embedded fonts. More...
#include <EPUBFontManager.h>
Classes | |
struct | BinaryDataEqual |
struct | BinaryDataHash |
Public Member Functions | |
EPUBFontManager (EPUBManifest &manifest) | |
void | insert (const librevenge::RVNGPropertyList &propertyList, const EPUBPath &path) |
void | writeTo (EPUBPackage &package) |
void | send (EPUBCSSContent &out) |
send the data to the sink | |
Private Types | |
typedef std::unordered_map< librevenge::RVNGBinaryData, EPUBPath, BinaryDataHash, BinaryDataEqual > | MapType_t |
typedef std::unordered_set< EPUBCSSProperties, boost::hash< EPUBCSSProperties > > | SetType_t |
Private Member Functions | |
EPUBFontManager (const EPUBFontManager &) | |
EPUBFontManager & | operator= (const EPUBFontManager &) |
void | extractFontProperties (librevenge::RVNGPropertyList const &pList, EPUBCSSProperties &cssProps) const |
convert a property list into a CSS property map | |
Private Attributes | |
EPUBManifest & | m_manifest |
MapType_t | m_map |
Font filename -> content map. | |
EPUBCounter | m_number |
SetType_t | m_set |
Set of font properties. | |
Manages embedded fonts.
|
private |
|
private |
|
private |
|
explicit |
|
private |
convert a property list into a CSS property map
Referenced by insert().
void libepubgen::EPUBFontManager::insert | ( | const librevenge::RVNGPropertyList & | propertyList, |
const EPUBPath & | path ) |
|
private |
void libepubgen::EPUBFontManager::send | ( | EPUBCSSContent & | out | ) |
send the data to the sink
Referenced by libepubgen::EPUBGenerator::writeStylesheet().
void libepubgen::EPUBFontManager::writeTo | ( | EPUBPackage & | package | ) |
Referenced by libepubgen::EPUBGenerator::endDocument().
|
private |
Referenced by insert().
|
private |
|
private |
Referenced by insert().
|
private |