LibreOffice Module hwpfilter (master) 1
Macros | Enumerations | Functions | Variables
hbox.cxx File Reference
#include "precompile.h"
#include "hwpfile.h"
#include "hbox.h"
#include "hpara.h"
#include "hutil.h"
#include "htags.h"
#include "drawdef.h"
#include "hcode.h"
#include "datecode.h"
#include <o3tl/sprintf.hxx>
#include <rtl/character.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/string.hxx>
Include dependency graph for hbox.cxx:

Go to the source code of this file.

Macros

#define OL_HANGL_JASO   0
 
#define OL_HANGL_KANATA   1
 

Enumerations

enum  {
  OUTLINE_ON ,
  OUTLINE_NUM
}
 

Functions

static hchar olHanglJaso (int num, int type)
 
static const hcharGetOutlineStyleChars (int style)
 
static void getOutlineNumStr (int style, int level, int num, hchar *hstr)
 

Variables

const hchar kor_week []
 
const hchar china_week []
 
const char eng_week [] = { "SunMonTueWedThuFriSat" }
 
const char eng_mon [] = { "JanFebMarAprMayJunJulAugSepOctNovDec" }
 
const char *const en_mon []
 
const char *const en_week []
 

Macro Definition Documentation

◆ OL_HANGL_JASO

#define OL_HANGL_JASO   0

Definition at line 431 of file hbox.cxx.

◆ OL_HANGL_KANATA

#define OL_HANGL_KANATA   1

Definition at line 432 of file hbox.cxx.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OUTLINE_ON 
OUTLINE_NUM 

Definition at line 560 of file hbox.cxx.

Function Documentation

◆ getOutlineNumStr()

static void getOutlineNumStr ( int  style,
int  level,
int  num,
hchar hstr 
)
static

Definition at line 494 of file hbox.cxx.

References MAX_OUTLINE_LEVEL, num2roman(), OL_HANGL_KANATA, olHanglJaso(), OLSTY_NUMSIG1, and str2hstr().

Referenced by Outline::GetUnicode().

◆ GetOutlineStyleChars()

static const hchar * GetOutlineStyleChars ( int  style)
static

Definition at line 468 of file hbox.cxx.

References MAX_OUTLINE_LEVEL, OLSTY_BULLET1, and OLSTY_BULLET5.

Referenced by Outline::GetUnicode().

◆ olHanglJaso()

static hchar olHanglJaso ( int  num,
int  type 
)
static

Definition at line 434 of file hbox.cxx.

References OL_HANGL_JASO, SAL_N_ELEMENTS, and type.

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

Variable Documentation

◆ china_week

const hchar china_week[]
Initial value:
=
{
0x4CC8, 0x4BE4, 0x525A, 0x48D8, 0x45AB, 0x4270, 0x50B4
}

Definition at line 124 of file hbox.cxx.

Referenced by DateCode::GetString().

◆ en_mon

const char* const en_mon[]
Initial value:
=
{
"January", "February", "March", "April", "May", "June", "July",
"August", "September", "October", "November", "December"
}

Definition at line 130 of file hbox.cxx.

Referenced by DateCode::GetString().

◆ en_week

const char* const en_week[]
Initial value:
=
{
"Sunday", "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday"
}

Definition at line 135 of file hbox.cxx.

Referenced by DateCode::GetString().

◆ eng_mon

const char eng_mon[] = { "JanFebMarAprMayJunJulAugSepOctNovDec" }

Definition at line 129 of file hbox.cxx.

Referenced by DateCode::GetString().

◆ eng_week

const char eng_week[] = { "SunMonTueWedThuFriSat" }

Definition at line 128 of file hbox.cxx.

Referenced by DateCode::GetString().

◆ kor_week

const hchar kor_week[]
Initial value:
=
{
0xB7A9, 0xB6A9, 0xD1C1, 0xAE81, 0xA1A2, 0x8B71, 0xC9A1
}

Definition at line 120 of file hbox.cxx.

Referenced by DateCode::GetString().