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

#include <hbox.h>

Inheritance diagram for FieldCode:
[legend]
Collaboration diagram for FieldCode:
[legend]

Public Member Functions

 FieldCode ()
 
virtual ~FieldCode () override
 
virtual bool Read (HWPFile &hwpf) override
 Read properties from HIODevice object like stream, file, memory. More...
 
- Public Member Functions inherited from HBox
 HBox (hchar hch)
 Construct a HBox object with parameter hch. More...
 
virtual ~HBox ()
 
int WSize ()
 
virtual bool Read (HWPFile &hwpf)
 Read properties from HIODevice object like stream, file, memory. More...
 

Public Attributes

uchar type [2]
 
std::array< char, 4 > reserved1
 
unsigned short location_info
 
std::array< char, 22 > reserved2
 
std::unique_ptr< hchar[]> str1
 
std::unique_ptr< hchar[]> str2
 
std::unique_ptr< hchar[]> str3
 
std::unique_ptr< DateCodem_pDate
 
- Public Attributes inherited from HBox
hchar hh
 

Detailed Description

Definition at line 81 of file hbox.h.

Constructor & Destructor Documentation

◆ FieldCode()

FieldCode::FieldCode ( )

Definition at line 81 of file hbox.cxx.

◆ ~FieldCode()

FieldCode::~FieldCode ( )
overridevirtual

Definition at line 87 of file hbox.cxx.

Member Function Documentation

◆ Read()

bool FieldCode::Read ( HWPFile hwpf)
overridevirtual

Read properties from HIODevice object like stream, file, memory.

Parameters
hwpfHWPFile Object having all information for a hwp file.
Returns
True if reading from stream is successful.

Reimplemented from HBox.

Definition at line 64 of file hwpread.cxx.

References HWPFile::AddDateFormat(), DATE_SIZE, DateCode::format, i, location_info, m_pDate, HWPFile::Read2b(), HWPFile::Read4b(), HWPFile::ReadBlock(), reserved1, reserved2, size, HWPFile::SkipBlock(), str1, str2, str3, and type.

Member Data Documentation

◆ location_info

unsigned short FieldCode::location_info

Definition at line 85 of file hbox.h.

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

◆ m_pDate

std::unique_ptr<DateCode> FieldCode::m_pDate

Definition at line 91 of file hbox.h.

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

◆ reserved1

std::array<char, 4> FieldCode::reserved1

Definition at line 84 of file hbox.h.

Referenced by Read().

◆ reserved2

std::array<char, 22> FieldCode::reserved2

Definition at line 86 of file hbox.h.

Referenced by Read().

◆ str1

std::unique_ptr<hchar[]> FieldCode::str1

Definition at line 87 of file hbox.h.

Referenced by Read().

◆ str2

std::unique_ptr<hchar[]> FieldCode::str2

Definition at line 88 of file hbox.h.

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

◆ str3

std::unique_ptr<hchar[]> FieldCode::str3

Definition at line 89 of file hbox.h.

Referenced by HwpReader::make_text_p3(), HwpReader::makeFieldCode(), and Read().

◆ type

uchar FieldCode::type[2]

Definition at line 83 of file hbox.h.

Referenced by HwpReader::make_text_p3(), HwpReader::makeFieldCode(), and Read().


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