Public Member Functions | |
| KnownConversion () | |
| constructor | |
| Data::ConversionData const & | getConversionMaps (std::string fName) |
| returns the conversion map which corresponds to a name, or the default map | |
| void | setFamily (std::string const &fName, std::string const &family) |
| set a family correspondance | |
| ConversionData const & | getDefault () const |
| return the default converter | |
Protected Member Functions | |
| void | initMaps () |
| Internal and Low level: initializes all the conversion maps. | |
Static Protected Member Functions | |
| static void | initAMap (int const *arr, size_t numElt, std::map< unsigned char, unsigned long > &map) |
| Internal and Low level: initializes a map with a vector of numElt elements (char, unicode) | |
Protected Attributes | |
| std::map< std::string, ConversionData const * > | m_convertMap |
| the conversiont map fName -> ConversionData | |
| std::map< std::string, std::string > | m_familyMap |
| Internal and Low level: map font name -> family font name. | |
| std::map< unsigned char, unsigned long > | m_romanMap |
| Internal and Low level: map char -> unicode for roman font. | |
| std::map< unsigned char, unsigned long > | m_centralEuroMap |
| Internal and Low level: map char -> unicode for central european font. | |
| std::map< unsigned char, unsigned long > | m_cyrillicMap |
| Internal and Low level: map char -> unicode for cyrillic font. | |
| std::map< unsigned char, unsigned long > | m_turkishMap |
| Internal and Low level: map char -> unicode for turkish font. | |
| std::map< unsigned char, unsigned long > | m_symbolMap |
| Internal and Low level: map char -> unicode for symbol font. | |
| std::map< unsigned char, unsigned long > | m_dingbatsMap |
| Internal and Low level: map char -> unicode for dingbats font. | |
| std::map< unsigned char, unsigned long > | m_cursiveMap |
| Internal and Low level: map char -> unicode for cursive font. | |
| std::map< unsigned char, unsigned long > | m_mathMap |
| Internal and Low level: map char -> unicode for math font. | |
| std::map< unsigned char, unsigned long > | m_scientificMap |
| Internal and Low level: map char -> unicode for scientific font. | |
| std::map< unsigned char, unsigned long > | m_wingdingsMap |
| Internal and Low level: map char -> unicode for wingdings font. | |
| std::map< unsigned char, unsigned long > | m_SJISMap |
| Internal and Low level: simplified map char -> unicode for SJIS font. | |
| std::map< unsigned char, unsigned long > | m_unknown107Map |
| Internal and Low level: map char -> unicode for font 107. | |
| std::map< unsigned char, unsigned long > | m_unknown128Map |
| Internal and Low level: map char -> unicode for font 128. | |
| std::map< unsigned char, unsigned long > | m_unknown200Map |
| Internal and Low level: map char -> unicode for font 200. | |
| ConversionData | m_defaultConv |
| Internal and Low level: the default converter: roman. | |
| ConversionData | m_centralEuroConv |
| Internal and Low level: the default converter: central european. | |
| ConversionData | m_cyrillicConv |
| Internal and Low level: the default converter: cyrillic. | |
| ConversionData | m_turkishConv |
| Internal and Low level: the default converter: turkish. | |
| ConversionData | m_timeConv |
| Internal and Low level: the converter for times font. | |
| ConversionData | m_zapfChanceryConv |
| Internal and Low level: the converter for zapfChancery font. | |
| ConversionData | m_symbolConv |
| Internal and Low level: the converter for symbol font. | |
| ConversionData | m_dingbatsConv |
| Internal and Low level: the converter for dingbats font. | |
| ConversionData | m_cursiveConv |
| Internal and Low level: the converter for cursive font. | |
| ConversionData | m_mathConv |
| Internal and Low level: the converter for math font. | |
| ConversionData | m_scientificConv |
| Internal and Low level: the converter for scientific font. | |
| ConversionData | m_wingdingsConv |
| Internal and Low level: the converter for wingdings font. | |
| ConversionData | m_SJISConv |
| Internal and Low level: the converter for SJIS font. | |
| ConversionData | m_unknown107Conv |
| Internal and Low level: the converter for font 107. | |
| ConversionData | m_unknown128Conv |
| Internal and Low level: the converter for font 128. | |
| ConversionData | m_unknown200Conv |
| Internal and Low level: the converter for font 200. | |
constructor
| ConversionData const & MWAWFontConverterInternal::Data::KnownConversion::getConversionMaps | ( | std::string | fName | ) |
returns the conversion map which corresponds to a name, or the default map
Referenced by MWAWFontConverterInternal::State::getOdtInfo(), and MWAWFontConverterInternal::State::updateCache().
| ConversionData const& MWAWFontConverterInternal::Data::KnownConversion::getDefault | ( | ) | const [inline] |
return the default converter
| static void MWAWFontConverterInternal::Data::KnownConversion::initAMap | ( | int const * | arr, |
| size_t | numElt, | ||
| std::map< unsigned char, unsigned long > & | map | ||
| ) | [inline, static, protected] |
Internal and Low level: initializes a map with a vector of numElt elements (char, unicode)
Referenced by initMaps().
| void MWAWFontConverterInternal::Data::KnownConversion::initMaps | ( | ) | [protected] |
Internal and Low level: initializes all the conversion maps.
Referenced by KnownConversion().
| void MWAWFontConverterInternal::Data::KnownConversion::setFamily | ( | std::string const & | fName, |
| std::string const & | family | ||
| ) | [inline] |
set a family correspondance
Referenced by MWAWFontConverterInternal::State::setCorrespondance().
Internal and Low level: the default converter: central european.
Referenced by getConversionMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_centralEuroMap [protected] |
Internal and Low level: map char -> unicode for central european font.
Referenced by initMaps().
std::map<std::string, ConversionData const *> MWAWFontConverterInternal::Data::KnownConversion::m_convertMap [protected] |
the conversiont map fName -> ConversionData
Referenced by getConversionMaps(), and initMaps().
Internal and Low level: the converter for cursive font.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_cursiveMap [protected] |
Internal and Low level: map char -> unicode for cursive font.
Referenced by initMaps().
Internal and Low level: the default converter: cyrillic.
Referenced by getConversionMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_cyrillicMap [protected] |
Internal and Low level: map char -> unicode for cyrillic font.
Referenced by initMaps().
Internal and Low level: the default converter: roman.
Referenced by getConversionMaps(), getDefault(), and initMaps().
Internal and Low level: the converter for dingbats font.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_dingbatsMap [protected] |
Internal and Low level: map char -> unicode for dingbats font.
Referenced by initMaps().
std::map<std::string, std::string> MWAWFontConverterInternal::Data::KnownConversion::m_familyMap [protected] |
Internal and Low level: map font name -> family font name.
Referenced by getConversionMaps(), initMaps(), and setFamily().
Internal and Low level: the converter for math font.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_mathMap [protected] |
Internal and Low level: map char -> unicode for math font.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_romanMap [protected] |
Internal and Low level: map char -> unicode for roman font.
Referenced by initMaps().
Internal and Low level: the converter for scientific font.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_scientificMap [protected] |
Internal and Low level: map char -> unicode for scientific font.
Referenced by initMaps().
Internal and Low level: the converter for SJIS font.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_SJISMap [protected] |
Internal and Low level: simplified map char -> unicode for SJIS font.
Referenced by initMaps().
Internal and Low level: the converter for symbol font.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_symbolMap [protected] |
Internal and Low level: map char -> unicode for symbol font.
Referenced by initMaps().
Internal and Low level: the converter for times font.
Referenced by initMaps().
Internal and Low level: the default converter: turkish.
Referenced by getConversionMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_turkishMap [protected] |
Internal and Low level: map char -> unicode for turkish font.
Referenced by initMaps().
Internal and Low level: the converter for font 107.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_unknown107Map [protected] |
Internal and Low level: map char -> unicode for font 107.
Referenced by initMaps().
Internal and Low level: the converter for font 128.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_unknown128Map [protected] |
Internal and Low level: map char -> unicode for font 128.
Referenced by initMaps().
Internal and Low level: the converter for font 200.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_unknown200Map [protected] |
Internal and Low level: map char -> unicode for font 200.
Referenced by initMaps().
Internal and Low level: the converter for wingdings font.
Referenced by initMaps().
std::map<unsigned char, unsigned long> MWAWFontConverterInternal::Data::KnownConversion::m_wingdingsMap [protected] |
Internal and Low level: map char -> unicode for wingdings font.
Referenced by initMaps().
Internal and Low level: the converter for zapfChancery font.
Referenced by initMaps().