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

There are four kinds of image. More...

#include <hbox.h>

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

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
 

Detailed Description

There are four kinds of image.

Image object

Definition at line 592 of file hbox.h.

Constructor & Destructor Documentation

◆ Picture()

Picture::Picture ( )

Definition at line 368 of file hbox.cxx.

References scale.

◆ ~Picture()

Picture::~Picture ( )
overridevirtual

Definition at line 387 of file hbox.cxx.

References PicDefDraw::hdo, PicDef::picdraw, picinfo, and PICTYPE_DRAW.

Member Function Documentation

◆ Read()

bool Picture::Read ( HWPFile hwpf)
overridevirtual

Member Data Documentation

◆ cap_pos

short Picture::cap_pos

Position of caption.

Definition at line 607 of file hbox.h.

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

◆ caption

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

Definition at line 626 of file hbox.h.

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

◆ dummy

hchar Picture::dummy

Definition at line 595 of file hbox.h.

Referenced by Read().

◆ dummy1

short Picture::dummy1

Definition at line 601 of file hbox.h.

Referenced by Read().

◆ dummy2

short Picture::dummy2

Definition at line 602 of file hbox.h.

Referenced by Read().

◆ follow

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

◆ follow_block_size

uint Picture::follow_block_size

follow_block_size is the size information of the Drawing object of hwp.

It's value is greater than 0 if the pictype is PICTYPE_DRAW.

Definition at line 600 of file hbox.h.

Referenced by Read().

◆ ishyper

bool Picture::ishyper

Definition at line 632 of file hbox.h.

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

◆ num

short Picture::num

Index of current Picture object.

Definition at line 611 of file hbox.h.

Referenced by Read().

◆ picinfo

PicDef Picture::picinfo

◆ pictype

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

◆ reserved

hchar Picture::reserved[2]

Definition at line 594 of file hbox.h.

Referenced by Read().

◆ reserved1

uchar Picture::reserved1

Definition at line 603 of file hbox.h.

Referenced by Read().

◆ reserved3

char Picture::reserved3[9]

Definition at line 624 of file hbox.h.

Referenced by Read().

◆ scale

hunit Picture::scale[2]

Ratio of magnification or reduction.

Definition at line 622 of file hbox.h.

Referenced by Read().

◆ skip

hunit Picture::skip[2]

Definition at line 618 of file hbox.h.

Referenced by Read().


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