56 if (
id < 0 ||
nFonts[lang] <=
id)
72 if (nfonts <= 0 || nfonts >=
MAXFONTS)
80 for (
int jj = 0; jj < nfonts; jj++)
The HWPFile class is the main class of hwp for reading file information from stream.
int SetState(int errcode)
Sets the current state.
bool Read2b(unsigned short &out)
Reads two byte from HIODev.
size_t ReadBlock(void *ptr, size_t size)
Reads some bytes from HIODev not regarding endian's way.
const char * GetFontName(int lang, int id)
void AddFont(int lang, const char *font)
Adds a font into font list of a language.
int nFonts[NLanguage]
System font count for each language NLanguage is 7 in common case.
std::unique_ptr< char[]> fontnames[NLanguage]
list of the font family name
static char buffer[FONTNAMELEN]
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)