diff options
Diffstat (limited to 'hwpfilter/source/hinfo.h')
-rw-r--r-- | hwpfilter/source/hinfo.h | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/hwpfilter/source/hinfo.h b/hwpfilter/source/hinfo.h index c415783e26a2..fe473f4effc4 100644 --- a/hwpfilter/source/hinfo.h +++ b/hwpfilter/source/hinfo.h @@ -65,19 +65,19 @@ struct PaperInfo } }; -/* ?????? ??????, ???????? ???? */ +/* 페이지 배경색, 배경그림 정보 */ struct PaperBackInfo { char type; // 0- background color, 1 - external image, 2- embedded image char reserved1[8] = {}; - int luminance; /* ???? ( -100 ~ 100 ) */ - int contrast; /* ???? ( -100 ~ 100 ) */ - char effect; /* 0-????????, 1-????????????, 2-???? */ + int luminance; /* 밝기 ( -100 ~ 100 ) */ + int contrast; /* 명암 ( -100 ~ 100 ) */ + char effect; /* 0-원래그림, 1-그레이스케일, 2-흑백 */ char reserved2[8] = {}; char filename[260 + 1] = {}; // filename unsigned char color[3] = {}; //0 - red, 1 - green, 2 - blue - unsigned short flag; /* 0 - ????????, 1 - ????????, 2 - ??????, 3 - ???????? */ - int range; /* 0-????, 1-????????, 3-??????, 4-?????? */ + unsigned short flag; /* 0 - 바둑판식, 1 - 가운데로, 2 - 쪽크기, 3 - 용지크기 */ + int range; /* 0-전체, 1-첫페이지, 3-짝수쪽, 4-홀수쪽 */ char reserved3[27] = {}; int size; std::vector<char> data; // image data @@ -95,7 +95,7 @@ struct PaperBackInfo } }; -/* ???????? ???? */ +/* 연결인쇄 정보 */ /** * Information of printing for chained page */ @@ -111,7 +111,7 @@ struct DocChainInfo } }; -/* ???? ???? */ +/* 문서 요약 */ /** * Summary of document */ @@ -128,13 +128,13 @@ struct HWPSummary }; /** - HWPInfo class?? HWPFile?? ???? ?????? ???? ???? ??????????. - ?????? ???? ???? ????????(layout) ?????? ???????????? - ????????, ???? ???? ?????? ???????? ????. \\ + HWPInfo class는 HWPFile에 대한 정보를 담고 있는 클래스이다. + 종이나 여백 등의 레이아웃(layout) 정보는 쪽매기기에서 + 사용하며, 기타 내부 정보를 포함하고 있다. \\ - HWPInfo ???????? HWPFile?? #GetHWPInfo()# ?????? ???? ???? ?? ????. + HWPInfo 클래스는 HWPFile의 #GetHWPInfo()# 함수를 통해 얻을 수 있다. - @memo Hwp ???? ???? + @memo Hwp 문서 정보 */ /** * Contains the basic information of the hwp document: @@ -169,12 +169,12 @@ class DLLEXPORT HWPInfo unsigned char annotation[ANNOTATION_LEN] = {}; short encrypted; // unsigned char reserved2[6]; - short beginpagenum; /* ?????????? ???? */ + short beginpagenum; /* 시작페이지 번호 */ /** * Information about footnote */ - short beginfnnum; /* ???????????? */ - short countfn; /* ???? ???? */ + short beginfnnum; /* 각주시작번호 */ + short countfn; /* 각주 갯수 */ hunit splinetext, splinefn; hunit spfnfn; unsigned char fnchar; @@ -191,7 +191,7 @@ class DLLEXPORT HWPInfo unsigned char compressed; unsigned char reserved3; short info_block_len; -/* ?????????? 128 ?????????? */ +/* 여기까지가 128 바이트이다 */ /** * Summary of document */ @@ -205,7 +205,7 @@ class DLLEXPORT HWPInfo }; -/* ???? ???? ?????? */ +/* 글자 모양 구조체 */ /** * @short Style of character */ @@ -214,23 +214,24 @@ struct CharShape /** * Index of character style */ - int index; /* ???????? ???????? ????. */ + int index; /* 스타일의 인덱스를 저장. */ /** * Font size */ hunit size; - unsigned char font[NLanguage]; - unsigned char ratio[NLanguage]; - signed char space[NLanguage]; /* ???? */ unsigned char color[2]; + unsigned char font; + char space; /* 자간 */ + unsigned char ratio; unsigned char shade; unsigned char attr; - unsigned char reserved[4]; void Read(HWPFile &); + + CharShape(); }; -/* ?? ?????? ???? ?????? */ +/* 탭 설정에 대한 구조체 */ #define MAXTABS 40 /** @@ -276,7 +277,7 @@ struct ParaShape /** * Index of paragraph style */ - int index; /* ???????? ???????? ???? */ + int index; /* 스타일의 인덱스를 저장 */ hunit left_margin; hunit right_margin; hunit indent; |