|
LibreOffice Module hwpfilter (master) 1
|
The TxtBox class saves object properties about table, textbox, equalizer or button. More...
#include <hbox.h>
Public Types | |
| typedef std::vector< std::unique_ptr< HWPPara > > | plist_t |
| Paragraph list. More... | |
| typedef std::vector< plist_t > | plists_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 |
| Table * | m_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 |
The TxtBox class saves object properties about table, textbox, equalizer or button.
| typedef std::vector<std::unique_ptr<HWPPara> > TxtBox::plist_t |
| typedef std::vector<plist_t> TxtBox::plists_t |
|
overridevirtual |
Read properties from HIODevice object like stream, file, memory.
| hwpf | HWPFile Object having all information for a hwp file. |
Reimplemented from HBox.
Definition at line 217 of file hwpread.cxx.
References HWPFile::AddFBoxStyle(), HWPFile::AddTable(), FBoxStyle::anchor_type, baseline, FBox::box_xs, FBox::box_ys, FBoxStyle::boxnum, FBoxStyle::boxtype, FBoxStyle::cap_len, FBox::cap_margin, cap_pos, FBox::cap_xs, FBox::cap_ys, caption, FBoxStyle::cell, cell, CH_TEXT_BOX, FBox::ctrl_ch, dummy, dummy1, dummy2, dummy3, fboxnum, HWPFile::getCurrentPage(), h, HBox::hh, HWP_InvalidFileFormat, utl::ConfigManager::IsFuzzing(), m_pTable, FBoxStyle::margin, nCell, TCell::nColumnIndex, TCell::nColumnSpan, TCell::nRowIndex, TCell::nRowSpan, num, FBox::option, TCell::pCell, FBox::pgno, FBox::pgx, FBox::pgy, plists, protect, HWPFile::Read1b(), HWPFile::Read2b(), HWPFile::ReadParaList(), reserved, reserved1, HWPFile::SetState(), FBox::showpg, FBox::smart_linesp, HWPFile::State(), FBox::style, FBoxStyle::txtflow, type, UpdateBBox(), w, x, FBoxStyle::xpos, FBox::xpos_type, FBox::xs, y, FBoxStyle::ypos, FBox::ypos_type, FBox::ys, zindex, and FBox::zorder.
| short TxtBox::cap_pos |
caption position
Definition at line 339 of file hbox.h.
Referenced by HwpReader::makeTextBox(), and Read().
| std::vector<std::unique_ptr<HWPPara> > TxtBox::caption |
| Table* TxtBox::m_pTable |
Definition at line 360 of file hbox.h.
Referenced by HwpReader::makeTable(), and Read().
| short TxtBox::nCell |
| plists_t TxtBox::plists |
Definition at line 366 of file hbox.h.
Referenced by HwpReader::makeFormula(), HwpReader::makeTable(), HwpReader::makeTextBox(), and Read().
| short TxtBox::protect |
| hchar TxtBox::reserved[2] |
| 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().