LibreOffice Module hwpfilter (master) 1
Public Member Functions | Public Attributes | List of all members
HWPInfo Class Reference

HWPInfo class는 HWPFile에 대한 정보를 담고 있는 클래스이다. More...

#include <hinfo.h>

Collaboration diagram for HWPInfo:
[legend]

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
 

Detailed Description

HWPInfo class는 HWPFile에 대한 정보를 담고 있는 클래스이다.

종이나 여백 등의 레이아웃(layout) 정보는 쪽매기기에서 사용하며, 기타 내부 정보를 포함하고 있다. \

HWPInfo 클래스는 HWPFile의 #GetHWPInfo()# 함수를 통해 얻을 수 있다.

@memo Hwp 문서 정보 Contains the basic information of the hwp document: margin, layout, paper and internal data.

Definition at line 143 of file hinfo.h.

Constructor & Destructor Documentation

◆ HWPInfo()

HWPInfo::HWPInfo ( void  )

Definition at line 40 of file hinfo.cxx.

References back_info, and PaperBackInfo::isset.

◆ ~HWPInfo()

HWPInfo::~HWPInfo ( void  )

Definition at line 63 of file hinfo.cxx.

Member Function Documentation

◆ Read()

void HWPInfo::Read ( HWPFile hwpf)

Member Data Documentation

◆ annotation

unsigned char HWPInfo::annotation[ANNOTATION_LEN] = {}

Definition at line 169 of file hinfo.h.

Referenced by Read().

◆ back_info

PaperBackInfo HWPInfo::back_info

◆ beginfnnum

short HWPInfo::beginfnnum

Information about footnote.

Definition at line 176 of file hinfo.h.

Referenced by HwpReader::makeStyles(), and Read().

◆ beginpagenum

short HWPInfo::beginpagenum

Definition at line 172 of file hinfo.h.

Referenced by HwpReader::makePageStyle(), and Read().

◆ borderline

short HWPInfo::borderline

Definition at line 187 of file hinfo.h.

Referenced by HwpReader::makePageStyle(), and Read().

◆ bordermargin

hunit HWPInfo::bordermargin[4] = {}

Information about page layout.

Definition at line 186 of file hinfo.h.

Referenced by HwpReader::makePageStyle(), and Read().

◆ chain_info

DocChainInfo HWPInfo::chain_info

Information about document chain.

Definition at line 168 of file hinfo.h.

Referenced by Read().

◆ compressed

unsigned char HWPInfo::compressed

Definition at line 191 of file hinfo.h.

Referenced by Read().

◆ countfn

short HWPInfo::countfn

Definition at line 177 of file hinfo.h.

Referenced by Read().

◆ cur_col

short HWPInfo::cur_col

The column index of a document that is saved at last.

Definition at line 149 of file hinfo.h.

Referenced by Read().

◆ cur_row

short HWPInfo::cur_row

The row index of a document that is saved at last.

Definition at line 153 of file hinfo.h.

Referenced by Read().

◆ empty_line_hide

unsigned char HWPInfo::empty_line_hide

Definition at line 189 of file hinfo.h.

Referenced by Read().

◆ encrypted

short HWPInfo::encrypted

Definition at line 170 of file hinfo.h.

Referenced by Read().

◆ fnchar

unsigned char HWPInfo::fnchar

Definition at line 180 of file hinfo.h.

Referenced by Read().

◆ fnlinetype

unsigned char HWPInfo::fnlinetype

Definition at line 181 of file hinfo.h.

Referenced by HwpReader::makePageStyle(), and Read().

◆ info_block

std::unique_ptr<unsigned char[]> HWPInfo::info_block

Definition at line 199 of file hinfo.h.

Referenced by Read().

◆ info_block_len

short HWPInfo::info_block_len

Definition at line 193 of file hinfo.h.

Referenced by Read().

◆ paper

PaperInfo HWPInfo::paper

Paper Information.

Definition at line 157 of file hinfo.h.

Referenced by HwpReader::makePageStyle(), HwpReader::makePictureDRAW(), and Read().

◆ readonly

short HWPInfo::readonly

Sets the attribute of read-only or read/write.

Definition at line 163 of file hinfo.h.

Referenced by Read().

◆ reserved1

unsigned char HWPInfo::reserved1[4] = {}

Definition at line 164 of file hinfo.h.

Referenced by Read().

◆ reserved3

unsigned char HWPInfo::reserved3

Definition at line 192 of file hinfo.h.

Referenced by Read().

◆ spfnfn

hunit HWPInfo::spfnfn

Definition at line 179 of file hinfo.h.

Referenced by Read().

◆ splinefn

hunit HWPInfo::splinefn

Definition at line 178 of file hinfo.h.

Referenced by HwpReader::makePageStyle(), and Read().

◆ splinetext

hunit HWPInfo::splinetext

Definition at line 178 of file hinfo.h.

Referenced by HwpReader::makePageStyle(), and Read().

◆ summary

HWPSummary HWPInfo::summary

Summary of document.

Definition at line 198 of file hinfo.h.

Referenced by HwpReader::makeMeta(), and Read().

◆ table_move

unsigned char HWPInfo::table_move

Definition at line 190 of file hinfo.h.

Referenced by Read().


The documentation for this class was generated from the following files: