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

The TxtBox class saves object properties about table, textbox, equalizer or button. More...

#include <hbox.h>

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

Public Types

typedef std::vector< std::unique_ptr< HWPPara > > plist_t
 Paragraph list. More...
 
typedef std::vector< plist_tplists_t
 

Public Member Functions

 TxtBox ()
 
virtual ~TxtBox () override
 
virtual bool Read (HWPFile &hwpf) override
 Read properties from HIODevice object like stream, file, memory. More...
 
- Public Member Functions inherited from FBox
 FBox (hchar hch)
 
virtual ~FBox () override
 
- 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
 
short dummy1
 
short cap_len
 
short next_box
 
short dummy2
 
unsigned char reserved1
 
short cap_pos
 caption position More...
 
short num
 
short dummy3
 
short baseline
 
short type
 The value of type indicates as the below: zero is table, one is textbox, two is equalizer and three is button. More...
 
short nCell
 nCell is greater than one only for table, otherwise it is 1. More...
 
short protect
 If value of protect is 1, size of cell can't change. More...
 
std::unique_ptr< Cell[]> cell
 
Tablem_pTable
 
plists_t plists
 
std::vector< std::unique_ptr< HWPPara > > caption
 Caption. More...
 
- Public Attributes inherited from FBox
int zorder
 
short option
 
hchar ctrl_ch
 
FBoxStyle style
 
short box_xs
 
short box_ys
 
short cap_xs
 
short cap_ys
 
short xs
 
short ys
 
short cap_margin
 
char xpos_type
 
char ypos_type
 
unsigned char smart_linesp
 
short boundsy
 
short boundey
 
unsigned char boundx
 
unsigned char draw
 
short pgx
 Physical x,y position. More...
 
short pgy
 
short pgno
 
short showpg
 
- Public Attributes inherited from HBox
hchar hh
 

Detailed Description

The TxtBox class saves object properties about table, textbox, equalizer or button.

Definition at line 326 of file hbox.h.

Member Typedef Documentation

◆ plist_t

typedef std::vector<std::unique_ptr<HWPPara> > TxtBox::plist_t

Paragraph list.

Definition at line 364 of file hbox.h.

◆ plists_t

typedef std::vector<plist_t> TxtBox::plists_t

Definition at line 365 of file hbox.h.

Constructor & Destructor Documentation

◆ TxtBox()

TxtBox::TxtBox ( )

Definition at line 342 of file hbox.cxx.

References reserved, and type.

◆ ~TxtBox()

TxtBox::~TxtBox ( )
overridevirtual

Definition at line 362 of file hbox.cxx.

Member Function Documentation

◆ Read()

bool TxtBox::Read ( HWPFile hwpf)
overridevirtual

Member Data Documentation

◆ baseline

short TxtBox::baseline

Definition at line 343 of file hbox.h.

Referenced by Read().

◆ cap_len

short TxtBox::cap_len

Definition at line 332 of file hbox.h.

◆ cap_pos

short TxtBox::cap_pos

caption position

Definition at line 339 of file hbox.h.

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

◆ caption

std::vector<std::unique_ptr<HWPPara> > TxtBox::caption

Caption.

Definition at line 371 of file hbox.h.

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

◆ cell

std::unique_ptr<Cell[]> TxtBox::cell

Definition at line 359 of file hbox.h.

Referenced by Read().

◆ dummy

hchar TxtBox::dummy

Definition at line 329 of file hbox.h.

Referenced by Read().

◆ dummy1

short TxtBox::dummy1

Definition at line 331 of file hbox.h.

Referenced by Read().

◆ dummy2

short TxtBox::dummy2

Definition at line 334 of file hbox.h.

Referenced by Read().

◆ dummy3

short TxtBox::dummy3

Definition at line 342 of file hbox.h.

Referenced by Read().

◆ m_pTable

Table* TxtBox::m_pTable

Definition at line 360 of file hbox.h.

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

◆ nCell

short TxtBox::nCell

nCell is greater than one only for table, otherwise it is 1.

Definition at line 353 of file hbox.h.

Referenced by Read().

◆ next_box

short TxtBox::next_box

Definition at line 333 of file hbox.h.

◆ num

short TxtBox::num

Definition at line 340 of file hbox.h.

Referenced by Read().

◆ plists

plists_t TxtBox::plists

Definition at line 366 of file hbox.h.

Referenced by HwpReader::makeFormula(), HwpReader::makeTable(), HwpReader::makeTextBox(), and Read().

◆ protect

short TxtBox::protect

If value of protect is 1, size of cell can't change.

Definition at line 357 of file hbox.h.

Referenced by Read().

◆ reserved

hchar TxtBox::reserved[2]

Definition at line 328 of file hbox.h.

Referenced by Read(), and TxtBox().

◆ reserved1

unsigned char TxtBox::reserved1

Definition at line 335 of file hbox.h.

Referenced by Read().

◆ type

short TxtBox::type

The value of type indicates as the below: zero is table, one is textbox, two is equalizer and three is button.

Definition at line 349 of file hbox.h.

Referenced by HwpReader::make_text_p3(), HwpReader::makeTextBox(), and Read().


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