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

Class for BOOKMARK. More...

#include <hbox.h>

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

Public Member Functions

 Bookmark ()
 
virtual ~Bookmark () 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 dummy
 
hchar id [BMK_COMMENT_LEN+1]
 
unsigned short type
 
- Public Attributes inherited from HBox
hchar hh
 

Detailed Description

Class for BOOKMARK.

Definition at line 112 of file hbox.h.

Constructor & Destructor Documentation

◆ Bookmark()

Bookmark::Bookmark ( )

Definition at line 92 of file hbox.cxx.

References type.

◆ ~Bookmark()

Bookmark::~Bookmark ( )
overridevirtual

Definition at line 99 of file hbox.cxx.

Member Function Documentation

◆ Read()

bool Bookmark::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 125 of file hwpread.cxx.

References BMK_COMMENT_LEN, CH_BOOKMARK, dummy, HBox::hh, HWP_InvalidFileFormat, HWPFile::Read2b(), HWPFile::Read4b(), HWPFile::SetState(), and type.

Member Data Documentation

◆ dummy

hchar Bookmark::dummy

Definition at line 114 of file hbox.h.

Referenced by Read().

◆ id

hchar Bookmark::id[BMK_COMMENT_LEN+1]

Definition at line 115 of file hbox.h.

Referenced by HwpReader::makeBookmark().

◆ type

unsigned short Bookmark::type

Definition at line 116 of file hbox.h.

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


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