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

Header or footer. More...

#include <hbox.h>

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

Public Member Functions

 HeaderFooter ()
 
virtual ~HeaderFooter () 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 char type
 Header or footer. More...
 
unsigned char where
 
unsigned char linenumber
 
unsigned int m_nPageNumber
 
std::vector< std::unique_ptr< HWPPara > > plist
 Paragraph list of header or footer. More...
 
- Public Attributes inherited from HBox
hchar hh
 

Detailed Description

Header or footer.

Definition at line 680 of file hbox.h.

Constructor & Destructor Documentation

◆ HeaderFooter()

HeaderFooter::HeaderFooter ( )

Definition at line 622 of file hwpread.cxx.

References type.

◆ ~HeaderFooter()

HeaderFooter::~HeaderFooter ( )
overridevirtual

Definition at line 402 of file hbox.cxx.

Member Function Documentation

◆ Read()

bool HeaderFooter::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 632 of file hwpread.cxx.

References HWPFile::AddHeaderFooter(), CH_HEADER_FOOTER, dummy, HWPFile::getCurrentPage(), HBox::hh, HWP_InvalidFileFormat, info, linenumber, lnnumber, m_nPageNumber, plist, HWPFile::Read1b(), HWPFile::Read2b(), HWPFile::ReadBlock(), HWPFile::ReadParaList(), reserved, HWPFile::setMaxSettedPage(), HWPFile::SetState(), HWPFile::State(), type, and where.

Member Data Documentation

◆ dummy

hchar HeaderFooter::dummy

Definition at line 683 of file hbox.h.

Referenced by Read().

◆ info

unsigned char HeaderFooter::info[8]

Definition at line 685 of file hbox.h.

Referenced by Read().

◆ linenumber

unsigned char HeaderFooter::linenumber

Definition at line 691 of file hbox.h.

Referenced by Read().

◆ m_nPageNumber

unsigned int HeaderFooter::m_nPageNumber

Definition at line 693 of file hbox.h.

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

◆ plist

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

Paragraph list of header or footer.

Definition at line 698 of file hbox.h.

Referenced by Read().

◆ reserved

hchar HeaderFooter::reserved[2]

Definition at line 682 of file hbox.h.

Referenced by Read().

◆ type

unsigned char HeaderFooter::type

Header or footer.

Definition at line 689 of file hbox.h.

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

◆ where

unsigned char HeaderFooter::where

Definition at line 690 of file hbox.h.

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


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