84 paper.paper_height = tmp16;
87 paper.paper_width = tmp16;
90 paper.top_margin = tmp16;
93 paper.bottom_margin = tmp16;
96 paper.left_margin = tmp16;
99 paper.right_margin = tmp16;
102 paper.header_length = tmp16;
105 paper.footer_length = tmp16;
108 paper.gutter_length = tmp16;
187 return (!hwpf.
State());
203 , outline_continue(0)
213 unsigned short tmp16;
235 hwpf.
Read1b(tab.dot_continue);
238 tab.position = tmp16;
275 unsigned short tmp16;
The HWPFile class is the main class of hwp for reading file information from stream.
size_t SkipBlock(size_t size)
Skips some bytes from HIODev.
int State(void) const
Say current state.
void SetCompressed(bool)
Sets if the stream is compressed.
bool Read1b(unsigned char &out)
Reads one byte from HIODev.
bool Read2b(unsigned short &out)
Reads two byte from HIODev.
size_t ReadBlock(void *ptr, size_t size)
Reads some bytes from HIODev not regarding endian's way.
std::unique_ptr< unsigned char[]> info_block
short cur_row
The row index of a document that is saved at last.
unsigned char empty_line_hide
unsigned char reserved1[4]
hunit bordermargin[4]
Information about page layout.
short readonly
Sets the attribute of read-only or read/write.
short beginfnnum
Information about footnote.
HWPSummary summary
Summary of document.
DocChainInfo chain_info
Information about document chain.
PaperInfo paper
Paper Information.
short cur_col
The column index of a document that is saved at last.
unsigned char annotation[ANNOTATION_LEN]
void Read(HWPFile &hwpf)
Function for reading document information (128 bytes) Document information is the information after t...
static bool HWPReadInfoBlock(void *ptr, int len, HWPFile &hwpf)
std::shared_ptr< T > make_shared(Args &&... args)
unsigned char chain_filename[CHAIN_MAX_PATH]
unsigned char chain_footnote_no
unsigned char chain_page_no
unsigned short subject[56]
unsigned short keyword[2][56]
unsigned short etc[3][56]
unsigned short author[56]
unsigned char arrange_type
unsigned char outline_continue
unsigned char reserved[2]
std::shared_ptr< ColumnDef > xColdef