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

Both footnote and endnote are comment. More...

#include <hbox.h>

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

Public Member Functions

 Footnote ()
 
virtual ~Footnote () 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

hchar reserved [2]
 
hchar dummy
 
unsigned char info [8]
 
unsigned short number
 The number of current footnote/endnote. More...
 
unsigned short type
 Set the type of Footnote either footnote or endnote. More...
 
hunit width
 The width of the Footnote object. More...
 
std::vector< std::unique_ptr< HWPPara > > plist
 Paragraph list of Footnote objects. More...
 
- Public Attributes inherited from HBox
hchar hh
 

Detailed Description

Both footnote and endnote are comment.

Footnote is located at the end of paragraph; endnote is located at the end of page. The Footnote class represents footnote and endnote.

Footnote or endnote

Definition at line 710 of file hbox.h.

Constructor & Destructor Documentation

◆ Footnote()

Footnote::Footnote ( )

Definition at line 655 of file hwpread.cxx.

References type.

◆ ~Footnote()

Footnote::~Footnote ( )
overridevirtual

Definition at line 408 of file hbox.cxx.

Member Function Documentation

◆ Read()

bool Footnote::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 664 of file hwpread.cxx.

References CH_FOOTNOTE, dummy, HBox::hh, HWP_InvalidFileFormat, info, number, plist, HWPFile::Read2b(), HWPFile::ReadBlock(), HWPFile::ReadParaList(), reserved, HWPFile::SetState(), HWPFile::State(), type, and width.

Member Data Documentation

◆ dummy

hchar Footnote::dummy

Definition at line 713 of file hbox.h.

Referenced by Read().

◆ info

unsigned char Footnote::info[8]

Definition at line 715 of file hbox.h.

Referenced by Read().

◆ number

unsigned short Footnote::number

The number of current footnote/endnote.

Definition at line 719 of file hbox.h.

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

◆ plist

std::vector<std::unique_ptr<HWPPara> > Footnote::plist

Paragraph list of Footnote objects.

Definition at line 731 of file hbox.h.

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

◆ reserved

hchar Footnote::reserved[2]

Definition at line 712 of file hbox.h.

Referenced by Read().

◆ type

unsigned short Footnote::type

Set the type of Footnote either footnote or endnote.

Definition at line 723 of file hbox.h.

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

◆ width

hunit Footnote::width

The width of the Footnote object.

Definition at line 727 of file hbox.h.

Referenced by Read().


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