libepubgen::EPUBFontManager Class Reference

Manages embedded fonts. More...

#include <EPUBImageManager.h>

List of all members.

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 (EPUBCSSSink &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 &)
EPUBFontManageroperator= (const EPUBFontManager &)
void extractFontProperties (librevenge::RVNGPropertyList const &pList, EPUBCSSProperties &cssProps) const
 convert a property list into a CSS property map

Private Attributes

EPUBManifestm_manifest
MapType_t m_map
 Font filename -> content map.
EPUBCounter m_number
SetType_t m_set
 Set of font properties.

Detailed Description

Manages embedded fonts.


Member Typedef Documentation

typedef std::unordered_map<librevenge::RVNGBinaryData, EPUBPath, BinaryDataHash, BinaryDataEqual> libepubgen::EPUBFontManager::MapType_t [private]
typedef std::unordered_set<EPUBCSSProperties, boost::hash<EPUBCSSProperties> > libepubgen::EPUBFontManager::SetType_t [private]

Constructor & Destructor Documentation


Member Function Documentation

void libepubgen::EPUBFontManager::extractFontProperties ( librevenge::RVNGPropertyList const &  pList,
EPUBCSSProperties cssProps 
) const [private]

convert a property list into a CSS property map

Referenced by insert().

void libepubgen::EPUBFontManager::insert ( const librevenge::RVNGPropertyList &  propertyList,
const EPUBPath path 
)
EPUBFontManager& libepubgen::EPUBFontManager::operator= ( const EPUBFontManager ) [private]

send the data to the sink

Referenced by libepubgen::EPUBGenerator::writeStylesheet().


Member Data Documentation

Font filename -> content map.

Referenced by insert(), and writeTo().

Set of font properties.

Referenced by insert(), and send().


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