LibreOffice Module hwpfilter (master) 1
|
HWPInfo class는 HWPFile에 대한 정보를 담고 있는 클래스이다. More...
#include <hinfo.h>
Public Member Functions | |
HWPInfo (void) | |
~HWPInfo (void) | |
void | Read (HWPFile &hwpf) |
Function for reading document information (128 bytes) Document information is the information after the file identification information (30 bytes). More... | |
Public Attributes | |
short | cur_col |
The column index of a document that is saved at last. More... | |
short | cur_row |
The row index of a document that is saved at last. More... | |
PaperInfo | paper |
Paper Information. More... | |
PaperBackInfo | back_info |
short | readonly |
Sets the attribute of read-only or read/write. More... | |
unsigned char | reserved1 [4] = {} |
DocChainInfo | chain_info |
Information about document chain. More... | |
unsigned char | annotation [ANNOTATION_LEN] = {} |
short | encrypted |
short | beginpagenum |
short | beginfnnum |
Information about footnote. More... | |
short | countfn |
hunit | splinetext |
hunit | splinefn |
hunit | spfnfn |
unsigned char | fnchar |
unsigned char | fnlinetype |
hunit | bordermargin [4] = {} |
Information about page layout. More... | |
short | borderline |
unsigned char | empty_line_hide |
unsigned char | table_move |
unsigned char | compressed |
unsigned char | reserved3 |
short | info_block_len |
HWPSummary | summary |
Summary of document. More... | |
std::unique_ptr< unsigned char[]> | info_block |
HWPInfo class는 HWPFile에 대한 정보를 담고 있는 클래스이다.
종이나 여백 등의 레이아웃(layout) 정보는 쪽매기기에서 사용하며, 기타 내부 정보를 포함하고 있다. \
HWPInfo 클래스는 HWPFile의 #GetHWPInfo()# 함수를 통해 얻을 수 있다.
@memo Hwp 문서 정보 Contains the basic information of the hwp document: margin, layout, paper and internal data.
HWPInfo::HWPInfo | ( | void | ) |
Definition at line 40 of file hinfo.cxx.
References back_info, and PaperBackInfo::isset.
void HWPInfo::Read | ( | HWPFile & | hwpf | ) |
Function for reading document information (128 bytes) Document information is the information after the file identification information (30 bytes).
Definition at line 72 of file hinfo.cxx.
References annotation, ANNOTATION_LEN, beginfnnum, beginpagenum, borderline, bordermargin, DocChainInfo::chain_filename, DocChainInfo::chain_footnote_no, chain_info, CHAIN_MAX_PATH, DocChainInfo::chain_page_no, compressed, HWPFile::compressed, countfn, cur_col, cur_row, empty_line_hide, encrypted, HWPFile::encrypted, fnchar, fnlinetype, HWPReadInfoBlock(), info_block, info_block_len, HWPFile::info_block_len, paper, HWPSummary::Read(), HWPFile::Read1b(), HWPFile::Read2b(), HWPFile::ReadBlock(), readonly, reserved1, reserved3, HWPFile::SetCompressed(), spfnfn, splinefn, splinetext, HWPFile::State(), summary, and table_move.
Referenced by HWPFile::InfoRead().
unsigned char HWPInfo::annotation[ANNOTATION_LEN] = {} |
PaperBackInfo HWPInfo::back_info |
Definition at line 159 of file hinfo.h.
Referenced by HWPInfo(), HwpReader::makeDrawMiscStyle(), HwpReader::makePageStyle(), and SetCurrentDoc().
short HWPInfo::beginfnnum |
Information about footnote.
Definition at line 176 of file hinfo.h.
Referenced by HwpReader::makeStyles(), and Read().
short HWPInfo::beginpagenum |
Definition at line 172 of file hinfo.h.
Referenced by HwpReader::makePageStyle(), and Read().
short HWPInfo::borderline |
Definition at line 187 of file hinfo.h.
Referenced by HwpReader::makePageStyle(), and Read().
hunit HWPInfo::bordermargin[4] = {} |
Information about page layout.
Definition at line 186 of file hinfo.h.
Referenced by HwpReader::makePageStyle(), and Read().
DocChainInfo HWPInfo::chain_info |
short HWPInfo::cur_col |
short HWPInfo::cur_row |
unsigned char HWPInfo::empty_line_hide |
unsigned char HWPInfo::fnlinetype |
Definition at line 181 of file hinfo.h.
Referenced by HwpReader::makePageStyle(), and Read().
std::unique_ptr<unsigned char[]> HWPInfo::info_block |
PaperInfo HWPInfo::paper |
Paper Information.
Definition at line 157 of file hinfo.h.
Referenced by HwpReader::makePageStyle(), HwpReader::makePictureDRAW(), and Read().
short HWPInfo::readonly |
unsigned char HWPInfo::reserved1[4] = {} |
hunit HWPInfo::splinefn |
Definition at line 178 of file hinfo.h.
Referenced by HwpReader::makePageStyle(), and Read().
hunit HWPInfo::splinetext |
Definition at line 178 of file hinfo.h.
Referenced by HwpReader::makePageStyle(), and Read().
HWPSummary HWPInfo::summary |
Summary of document.
Definition at line 198 of file hinfo.h.
Referenced by HwpReader::makeMeta(), and Read().