LibreOffice Module hwpfilter (master) 1
|
There are four kinds of image. More...
#include <hbox.h>
Public Member Functions | |
Picture () | |
virtual | ~Picture () 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 |
uint | follow_block_size |
follow_block_size is the size information of the Drawing object of hwp. More... | |
short | dummy1 |
short | dummy2 |
uchar | reserved1 |
short | cap_pos |
Position of caption. More... | |
short | num |
Index of current Picture object. More... | |
uchar | pictype |
Type of this object It is one of external/ole/embedded/drawing picture. More... | |
hunit | skip [2] |
hunit | scale [2] |
Ratio of magnification or reduction. More... | |
PicDef | picinfo |
char | reserved3 [9] |
std::vector< std::unique_ptr< HWPPara > > | caption |
std::vector< unsigned char > | follow |
It's for the Drawing object. More... | |
bool | ishyper |
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 |
There are four kinds of image.
Image object
|
overridevirtual |
Definition at line 387 of file hbox.cxx.
References PicDefDraw::hdo, PicDef::picdraw, picinfo, and PICTYPE_DRAW.
|
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 399 of file hwpread.cxx.
References HWPFile::AddFBoxStyle(), FBoxStyle::anchor_type, 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, CH_PICTURE, FBox::ctrl_ch, dummy, dummy1, dummy2, fboxnum, follow, follow_block_size, PicDefDraw::hdo, HBox::hh, HWP_InvalidFileFormat, i, ishyper, LoadDrawingObjectBlock(), FBoxStyle::margin, num, FBox::option, PicDefUnknown::path, FBox::pgno, FBox::pgx, FBox::pgy, PicDef::picdraw, picinfo, PICTYPE_DRAW, PicDef::picun, HWPFile::Read1b(), HWPFile::Read2b(), HWPFile::Read4b(), HWPFile::ReadBlock(), HWPFile::ReadParaList(), reserved, reserved1, reserved3, SAL_N_ELEMENTS, SAL_WARN, scale, HWPFile::scratch, HWPFile::SetState(), FBox::showpg, skip, FBox::smart_linesp, HWPFile::State(), FBox::style, FBoxStyle::txtflow, UpdateBBox(), FBoxStyle::xpos, FBox::xpos_type, FBox::xs, FBoxStyle::ypos, FBox::ypos_type, FBox::ys, zindex, and FBox::zorder.
short Picture::cap_pos |
Position of caption.
Definition at line 607 of file hbox.h.
Referenced by HwpReader::makePicture(), and Read().
std::vector<std::unique_ptr<HWPPara> > Picture::caption |
Definition at line 626 of file hbox.h.
Referenced by HwpReader::makePicture(), and Read().
std::vector<unsigned char> Picture::follow |
It's for the Drawing object.
Definition at line 630 of file hbox.h.
Referenced by HwpReader::makePicture(), and Read().
uint Picture::follow_block_size |
bool Picture::ishyper |
Definition at line 632 of file hbox.h.
Referenced by HwpReader::makePicture(), and Read().
short Picture::num |
PicDef Picture::picinfo |
Definition at line 623 of file hbox.h.
Referenced by HWPFile::GetEmPicture(), LoadDrawingObjectBlock(), HwpReader::makePicture(), Read(), and ~Picture().
uchar Picture::pictype |
Type of this object It is one of external/ole/embedded/drawing picture.
Definition at line 617 of file hbox.h.
Referenced by HwpReader::makePicture().
hunit Picture::scale[2] |