hwpfilter/source/hinfo.h |   44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

New commits:
commit 35428625b70829ba56da99fafe205b24b0018ace
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Fri Mar 4 19:24:34 2022 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Fri Mar 4 22:02:39 2022 +0100

    Restore damaged comments
    
    They were broken in commit d1af3a5fc102f9bb3464541d83ef0fa4bb2ce2a1
    
      Author Vladimir Glazounov <v...@openoffice.org>
      Date   Wed Jun 04 09:02:42 2008 +0000
    
        INTEGRATION: CWS sw30bf04 (1.4.2); FILE MERGED
    
    It changed the original EUC-KR file encoding to ASCII.
    
    Change-Id: I423b6e7dac0a47ad7688175780f062ecaefb9101
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131027
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/hwpfilter/source/hinfo.h b/hwpfilter/source/hinfo.h
index c0381787f7d9..57067646c856 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,14 +214,14 @@ 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];               /* ???? */
+    signed char   space[NLanguage];               /* 자간 */
     unsigned char color[2];
     unsigned char shade;
     unsigned char attr;
@@ -232,7 +232,7 @@ struct CharShape
     CharShape();
 };
 
-/* ?? ?????? ???? ?????? */
+/* 탭 설정에 대한 구조체 */
 
 #define MAXTABS 40
 /**
@@ -278,7 +278,7 @@ struct ParaShape
 /**
  * Index of paragraph style
  */
-    int       index;                              /* ???????? ???????? ???? */
+    int       index;                              /* 스타일의 인덱스를 저장 */
     hunit     left_margin;
     hunit     right_margin;
     hunit     indent;

Reply via email to