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

The HBox class is the base class for all date classes in hwp document. More...

#include <hbox.h>

Inheritance diagram for HBox:
[legend]

Public Member Functions

 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

hchar hh
 

Static Private Attributes

static int boxCount = 0
 

Detailed Description

The HBox class is the base class for all date classes in hwp document.

For example, there are special character, table, image, etc. It has one character. The ascii code value of special characters are smaller than 32. General character is greater than 32.

Base class for characters

Definition at line 43 of file hbox.h.

Constructor & Destructor Documentation

◆ HBox()

HBox::HBox ( hchar  hch)
explicit

Construct a HBox object with parameter hch.

Parameters
hch16bit character being able to have Korean character.

Definition at line 39 of file hbox.cxx.

References boxCount, and hh.

◆ ~HBox()

HBox::~HBox ( )
virtual

Definition at line 46 of file hbox.cxx.

References boxCount.

Member Function Documentation

◆ Read()

bool HBox::Read ( HWPFile hwpf)
virtual

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 in SkipData, FieldCode, Bookmark, DateFormat, DateCode, Tab, TxtBox, Picture, Line, Hidden, HeaderFooter, Footnote, AutoNum, NewNum, ShowPageNum, PageNumCtrl, MailMerge, Compose, Hyphen, TocMark, IndexMark, Outline, KeepSpace, and FixedSpace.

Definition at line 40 of file hwpread.cxx.

◆ WSize()

int HBox::WSize ( )
Returns
The Size of HBox object

Definition at line 52 of file hbox.cxx.

References hh.

Member Data Documentation

◆ boxCount

int HBox::boxCount = 0
staticprivate

Definition at line 67 of file hbox.h.

Referenced by HBox(), and ~HBox().

◆ hh

hchar HBox::hh

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