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

Input page index in footer or header. More...

#include <hbox.h>

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

Public Member Functions

 ShowPageNum ()
 
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

unsigned short where
 Location of page number to be inserted. More...
 
unsigned int m_nPageNumber
 
unsigned short shape
 Shape of page number to be inserted. More...
 
hchar dummy
 
- Public Attributes inherited from HBox
hchar hh
 

Detailed Description

Input page index in footer or header.

Definition at line 785 of file hbox.h.

Constructor & Destructor Documentation

◆ ShowPageNum()

ShowPageNum::ShowPageNum ( )

Definition at line 729 of file hwpread.cxx.

Member Function Documentation

◆ Read()

bool ShowPageNum::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 738 of file hwpread.cxx.

References HWPFile::AddPageNumber(), dummy, HWPFile::getCurrentPage(), HBox::hh, HWP_InvalidFileFormat, m_nPageNumber, HWPFile::Read2b(), HWPFile::setMaxSettedPage(), HWPFile::SetState(), shape, HWPFile::State(), and where.

Member Data Documentation

◆ dummy

hchar ShowPageNum::dummy

Definition at line 796 of file hbox.h.

Referenced by Read().

◆ m_nPageNumber

unsigned int ShowPageNum::m_nPageNumber

Definition at line 791 of file hbox.h.

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

◆ shape

unsigned short ShowPageNum::shape

Shape of page number to be inserted.

Definition at line 795 of file hbox.h.

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

◆ where

unsigned short ShowPageNum::where

Location of page number to be inserted.

Definition at line 790 of file hbox.h.

Referenced by HwpReader::makeAutoStyles(), HwpReader::makeShowPageNum(), and Read().


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