libepubgen::EPUBFontManager Class Reference documentation

libepubgen::EPUBFontManager Class Reference

Manages embedded fonts. More...

`#include <EPUBFontManager.h>`

## Classes
struct | BinaryDataHash
struct | BinaryDataEqual

## 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.

## Detailed Description

Manages embedded fonts.

## Member Typedef Documentation

## ◆ MapType_t

typedef std::unordered_map<librevenge::RVNGBinaryData, EPUBPath, BinaryDataHash, BinaryDataEqual> libepubgen::EPUBFontManager::MapType_t
| private

## ◆ SetType_t

typedef std::unordered_set<EPUBCSSProperties, boost::hash<EPUBCSSProperties> > libepubgen::EPUBFontManager::SetType_t
| private

## Constructor & Destructor Documentation

## ◆ EPUBFontManager() [1/2]

libepubgen::EPUBFontManager::EPUBFontManager | ( | const EPUBFontManager & |  | ) |
| private

Referenced by EPUBFontManager(), and operator=().

## ◆ EPUBFontManager() [2/2]

libepubgen::EPUBFontManager::EPUBFontManager | ( | EPUBManifest & | manifest | ) |
| explicit

## Member Function Documentation

## ◆ extractFontProperties()

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

convert a property list into a CSS property map

Referenced by insert().

## ◆ insert()

void libepubgen::EPUBFontManager::insert | ( | const librevenge::RVNGPropertyList & | propertyList,
|  | const EPUBPath & | path )

## ◆ operator=()

EPUBFontManager & libepubgen::EPUBFontManager::operator= | ( | const EPUBFontManager & |  | ) |
| private

## ◆ send()

void libepubgen::EPUBFontManager::send | ( | EPUBCSSContent & | out | ) |

send the data to the sink

## ◆ writeTo()

void libepubgen::EPUBFontManager::writeTo | ( | EPUBPackage & | package | ) |

## Member Data Documentation

## ◆ m_manifest

EPUBManifest& libepubgen::EPUBFontManager::m_manifest
| private

Referenced by EPUBFontManager(), and insert().

## ◆ m_map

MapType_t libepubgen::EPUBFontManager::m_map
| private

Font filename -> content map.

Referenced by EPUBFontManager(), insert(), and writeTo().

## ◆ m_number

EPUBCounter libepubgen::EPUBFontManager::m_number
| private

Referenced by EPUBFontManager(), and insert().

## ◆ m_set

SetType_t libepubgen::EPUBFontManager::m_set
| private

Set of font properties.

Referenced by EPUBFontManager(), insert(), and send().

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

- EPUBFontManager.h
- EPUBFontManager.cpp