LibreOffice Module hwpfilter (master) 1
Functions
hutil.cxx File Reference
#include "precompile.h"
#include "hwpfile.h"
#include "hbox.h"
#include "hutil.h"
Include dependency graph for hutil.cxx:

Go to the source code of this file.

Functions

static char * get_one_roman (int num, char one, char five, char ten, char *str)
 
void num2roman (int num, char *buf)
 Transfer number to roman character. More...
 
void str2hstr (const char *c, hchar *i)
 Transfer 8bit string to 16bit string used internally in hwp. More...
 

Function Documentation

◆ get_one_roman()

static char * get_one_roman ( int  num,
char  one,
char  five,
char  ten,
char *  str 
)
static

Definition at line 26 of file hutil.cxx.

References one.

Referenced by num2roman().

◆ num2roman()

void num2roman ( int  num,
char *  buf 
)

Transfer number to roman character.

Definition at line 53 of file hutil.cxx.

References get_one_roman(), and pt.

Referenced by getOutlineNumStr(), and Outline::GetUnicode().

◆ str2hstr()

void str2hstr ( const char *  c,
hchar i 
)

Transfer 8bit string to 16bit string used internally in hwp.

Definition at line 63 of file hutil.cxx.

References ch, and i.

Referenced by getOutlineNumStr(), and Outline::GetUnicode().