a namespace used to convert Mac SJIS font characters in unicode More...
#include <MWAWFontSJISConverter.hxx>
| Public Member Functions | |
| MWAWFontSJISConverter () | |
| the constructor  More... | |
| ~MWAWFontSJISConverter () | |
| the destructor  More... | |
| int | unicode (unsigned char c, MWAWInputStreamPtr &input) | 
| try to return a unicode for a shift jis character ( returns -1 if the character can not be converted )  More... | |
| int | unicode (unsigned char c, unsigned char const *(&str), int len) | 
| try to return a unicode for a shift jis character ( returns -1 if the character can not be converted )  More... | |
| void | initMap () | 
| init the mapping  More... | |
| Protected Attributes | |
| std::map< int, int > | m_sjisUnicodeMap | 
| a map sjis->unicode  More... | |
a namespace used to convert Mac SJIS font characters in unicode
| MWAWFontSJISConverter::MWAWFontSJISConverter | ( | ) | 
the constructor
| MWAWFontSJISConverter::~MWAWFontSJISConverter | ( | ) | 
the destructor
| void MWAWFontSJISConverter::initMap | ( | ) | 
init the mapping
Referenced by MWAWFontSJISConverter().
| int MWAWFontSJISConverter::unicode | ( | unsigned char | c, | 
| MWAWInputStreamPtr & | input | ||
| ) | 
try to return a unicode for a shift jis character ( returns -1 if the character can not be converted )
| int MWAWFontSJISConverter::unicode | ( | unsigned char | c, | 
| unsigned char const *& | str, | ||
| int | len | ||
| ) | 
try to return a unicode for a shift jis character ( returns -1 if the character can not be converted )
| 
 | protected |