LibreOffice Module hwpfilter (master) 1
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
HWPFile Class Reference

The HWPFile class is the main class of hwp for reading file information from stream. More...

#include <hwpfile.h>

Collaboration diagram for HWPFile:
[legend]

Public Types

enum  Paper {
  UserPaper = 0 ,
  Col80Paper = 1 ,
  Col132Paper = 2 ,
  A4Paper = 3 ,
  LetterPaper = 4 ,
  B5Paper = 5 ,
  B4Paper = 6 ,
  LegalPaper = 7 ,
  A3Paper = 8
}
 

Public Member Functions

 HWPFile ()
 Default constructor. More...
 
 ~HWPFile ()
 
int Open (std::unique_ptr< HStream >)
 Opens HStream to use it. More...
 
int State (void) const
 Say current state. More...
 
int SetState (int errcode)
 Sets the current state. More...
 
bool Read1b (unsigned char &out)
 Reads one byte from HIODev. More...
 
bool Read1b (char &out)
 
bool Read2b (unsigned short &out)
 Reads two byte from HIODev. More...
 
bool Read2b (char16_t &out)
 
bool Read4b (unsigned int &out)
 Reads four byte from HIODev. More...
 
bool Read4b (int &out)
 
size_t Read2b (void *ptr, size_t nmemb)
 Reads nmemb short type array from HIODev. More...
 
size_t ReadBlock (void *ptr, size_t size)
 Reads some bytes from HIODev not regarding endian's way. More...
 
size_t SkipBlock (size_t size)
 Skips some bytes from HIODev. More...
 
void ReadParaList (std::vector< std::unique_ptr< HWPPara > > &aplist, unsigned char flag=0)
 Reads main paragraph list. More...
 
void ReadParaList (std::vector< HWPPara * > &aplist)
 
void SetCompressed (bool)
 Sets if the stream is compressed. More...
 
std::unique_ptr< HIODevSetIODevice (std::unique_ptr< HIODev > hiodev)
 Sets current HIODev. More...
 
int ReadHwpFile (std::unique_ptr< HStream >)
 Reads all information of hwp file from stream. More...
 
void InfoRead (void)
 Reads document information of hwp file from HIODev. More...
 
void FontRead (void)
 Reads font list of hwp file from HIODev. More...
 
void StyleRead (void)
 Reads style list of hwp file from HIODev. More...
 
void ParaListRead ()
 Reads paragraph list of hwp file from HIODev. More...
 
void TagsRead ()
 Reads additional information like embedded image of hwp file from HIODev. More...
 
void AddPage ()
 
void AddColumnInfo ()
 
void SetColumnDef (std::shared_ptr< ColumnDef > const &)
 
void AddParaShape (std::shared_ptr< ParaShape > const &)
 
void AddCharShape (std::shared_ptr< CharShape > const &)
 
void AddFBoxStyle (FBoxStyle *)
 
void AddDateFormat (DateCode *)
 
void AddHeaderFooter (HeaderFooter *)
 
void AddPageNumber (ShowPageNum *)
 
void AddTable (std::unique_ptr< Table >)
 
ColumnDefGetColumnDef (int)
 
int GetPageMasterNum (int page)
 
int getCurrentPage () const
 
HWPInfoGetHWPInfo (void)
 
HWPFontGetHWPFont (void)
 
HWPStyleGetHWPStyle (void)
 
HWPParaGetFirstPara (void)
 
EmPictureGetEmPicture (Picture *pic)
 
EmPictureGetEmPictureByName (char *name)
 
HyperTextGetHyperText ()
 
ParaShapegetParaShape (int)
 
CharShapegetCharShape (int)
 
FBoxStylegetFBoxStyle (int)
 
DateCodegetDateCode (int)
 
HeaderFootergetHeaderFooter (int)
 
ShowPageNumgetPageNumber (int)
 
TablegetTable (int)
 
int getParaShapeCount () const
 
int getCharShapeCount () const
 
int getFBoxStyleCount () const
 
int getDateFormatCount () const
 
int getHeaderFooterCount () const
 
int getPageNumberCount () const
 
int getTableCount () const
 
int getColumnCount () const
 
int getMaxSettedPage () const
 
void setMaxSettedPage ()
 
void push_hpara_type (unsigned char scflag)
 
bool already_importing_type (unsigned char scflag) const
 
void pop_hpara_type ()
 
void move_to_failed (std::unique_ptr< HWPPara > rPara)
 

Public Attributes

int version
 
bool compressed
 
bool encrypted
 
unsigned char linenumber
 
int info_block_len
 
int error_code
 
std::unique_ptr< OlePictureoledata
 
unsigned char scratch [SAL_MAX_UINT16]
 
int readdepth
 

Private Member Functions

int compareCharShape (CharShape const *shape)
 
int compareParaShape (ParaShape const *shape)
 

Private Attributes

int m_nCurrentPage
 
int m_nMaxSettedPage
 
std::unique_ptr< HIODevhiodev
 
HWPInfo _hwpInfo
 
HWPFont _hwpFont
 
HWPStyle _hwpStyle
 
std::vector< std::unique_ptr< ColumnInfo > > columnlist
 
std::vector< std::unique_ptr< HWPPara > > plist
 
std::vector< std::unique_ptr< HWPPara > > pfailedlist
 
std::vector< std::unique_ptr< EmPicture > > emblist
 
std::vector< std::unique_ptr< HyperText > > hyperlist
 
int currenthyper
 
std::vector< std::shared_ptr< ParaShape > > pslist
 
std::vector< std::shared_ptr< CharShape > > cslist
 
std::vector< FBoxStyle * > fbslist
 
std::vector< DateCode * > datecodes
 
std::vector< HeaderFooter * > headerfooters
 
std::vector< ShowPageNum * > pagenumbers
 
std::vector< std::unique_ptr< Table > > tables
 
std::vector< unsigned char > element_import_stack
 

Static Private Attributes

static HWPFilecur_doc = nullptr
 

Friends

HWPFileGetCurrentDoc (void)
 
HWPFileSetCurrentDoc (HWPFile *)
 

Detailed Description

The HWPFile class is the main class of hwp for reading file information from stream.

The example is as below:

HWPFile f;
f.ReadHwpFile( stream );

There are two way to read hwp information from stream, one is to read all at a time to use ReadhwpFile() method like above example, other is to read partial information to use Open(), InfoRead(), FontRead(), StyleRead(), ParaListRead(), TagsRead(),

HWP file management object

Definition at line 97 of file hwpfile.h.

Member Enumeration Documentation

◆ Paper

Enumerator
UserPaper 
Col80Paper 
Col132Paper 
A4Paper 
LetterPaper 
B5Paper 
B4Paper 
LegalPaper 
A3Paper 

Definition at line 193 of file hwpfile.h.

Constructor & Destructor Documentation

◆ HWPFile()

HWPFile::HWPFile ( )

Default constructor.

Definition at line 48 of file hwpfile.cxx.

References SetCurrentDoc.

◆ ~HWPFile()

HWPFile::~HWPFile ( )

Definition at line 63 of file hwpfile.cxx.

References hiodev, and oledata.

Member Function Documentation

◆ AddCharShape()

void HWPFile::AddCharShape ( std::shared_ptr< CharShape > const &  cshape)

Definition at line 555 of file hwpfile.cxx.

References ccount, compareCharShape(), cslist, and value.

Referenced by HWPPara::Read().

◆ AddColumnInfo()

void HWPFile::AddColumnInfo ( )

Definition at line 567 of file hwpfile.cxx.

References columnlist, m_nCurrentPage, and setMaxSettedPage().

Referenced by HWPPara::Read(), and ReadHwpFile().

◆ AddDateFormat()

void HWPFile::AddDateFormat ( DateCode hbox)

Definition at line 582 of file hwpfile.cxx.

References datecodecount, datecodes, and DateCode::key.

Referenced by FieldCode::Read(), and DateCode::Read().

◆ AddFBoxStyle()

void HWPFile::AddFBoxStyle ( FBoxStyle fbstyle)

Definition at line 603 of file hwpfile.cxx.

References fbslist.

Referenced by TxtBox::Read(), Picture::Read(), and Line::Read().

◆ AddHeaderFooter()

void HWPFile::AddHeaderFooter ( HeaderFooter hbox)

Definition at line 593 of file hwpfile.cxx.

References headerfooters.

Referenced by HeaderFooter::Read().

◆ AddPage()

void HWPFile::AddPage ( )
inline

Definition at line 206 of file hwpfile.h.

◆ AddPageNumber()

void HWPFile::AddPageNumber ( ShowPageNum hbox)

Definition at line 588 of file hwpfile.cxx.

References pagenumbers.

Referenced by ShowPageNum::Read().

◆ AddParaShape()

void HWPFile::AddParaShape ( std::shared_ptr< ParaShape > const &  pshape)

Definition at line 519 of file hwpfile.cxx.

References compareParaShape(), MAXTABS, pcount, pslist, and value.

Referenced by ReadParaList().

◆ AddTable()

void HWPFile::AddTable ( std::unique_ptr< Table hbox)

Definition at line 598 of file hwpfile.cxx.

References tables.

Referenced by TxtBox::Read().

◆ already_importing_type()

bool HWPFile::already_importing_type ( unsigned char  scflag) const
inline

Definition at line 250 of file hwpfile.h.

Referenced by HWPPara::readHBox().

◆ compareCharShape()

int HWPFile::compareCharShape ( CharShape const *  shape)
private

◆ compareParaShape()

int HWPFile::compareParaShape ( ParaShape const *  shape)
private

◆ FontRead()

void HWPFile::FontRead ( void  )

Reads font list of hwp file from HIODev.

Definition at line 203 of file hwpfile.cxx.

References _hwpFont, and HWPFont::Read().

Referenced by ReadHwpFile().

◆ getCharShape()

CharShape * HWPFile::getCharShape ( int  index)

Definition at line 477 of file hwpfile.cxx.

References cslist, index, and o3tl::make_unsigned().

Referenced by compareCharShape(), and HwpReader::makeAutoStyles().

◆ getCharShapeCount()

int HWPFile::getCharShapeCount ( ) const
inline

Definition at line 238 of file hwpfile.h.

Referenced by HwpReader::makeAutoStyles().

◆ getColumnCount()

int HWPFile::getColumnCount ( ) const
inline

Definition at line 244 of file hwpfile.h.

Referenced by HwpReader::makePageStyle().

◆ GetColumnDef()

ColumnDef * HWPFile::GetColumnDef ( int  num)

Definition at line 414 of file hwpfile.cxx.

References columnlist, and o3tl::make_unsigned().

Referenced by HwpReader::makePageStyle().

◆ getCurrentPage()

int HWPFile::getCurrentPage ( ) const
inline

Definition at line 220 of file hwpfile.h.

Referenced by TxtBox::Read(), HeaderFooter::Read(), and ShowPageNum::Read().

◆ getDateCode()

DateCode * HWPFile::getDateCode ( int  index)

Definition at line 491 of file hwpfile.cxx.

References datecodes, index, and o3tl::make_unsigned().

Referenced by HwpReader::makeAutoStyles().

◆ getDateFormatCount()

int HWPFile::getDateFormatCount ( ) const
inline

Definition at line 240 of file hwpfile.h.

Referenced by HwpReader::makeAutoStyles().

◆ GetEmPicture()

EmPicture * HWPFile::GetEmPicture ( Picture pic)

Definition at line 444 of file hwpfile.cxx.

References emblist, PicDefEmbed::embname, name, PicDef::picembed, and Picture::picinfo.

Referenced by HwpReader::makePicture().

◆ GetEmPictureByName()

EmPicture * HWPFile::GetEmPictureByName ( char *  name)

Definition at line 458 of file hwpfile.cxx.

References emblist, and name.

Referenced by HwpReader::makeDrawMiscStyle().

◆ getFBoxStyle()

FBoxStyle * HWPFile::getFBoxStyle ( int  index)

Definition at line 484 of file hwpfile.cxx.

References fbslist, index, and o3tl::make_unsigned().

Referenced by HwpReader::makeAutoStyles(), and HwpReader::makeStyles().

◆ getFBoxStyleCount()

int HWPFile::getFBoxStyleCount ( ) const
inline

Definition at line 239 of file hwpfile.h.

Referenced by HwpReader::makeAutoStyles(), and HwpReader::makeStyles().

◆ GetFirstPara()

HWPPara * HWPFile::GetFirstPara ( void  )
inline

Definition at line 224 of file hwpfile.h.

Referenced by HwpReader::makeBody().

◆ getHeaderFooter()

HeaderFooter * HWPFile::getHeaderFooter ( int  index)

Definition at line 498 of file hwpfile.cxx.

References headerfooters, index, and o3tl::make_unsigned().

Referenced by HwpReader::makeMasterStyles().

◆ getHeaderFooterCount()

int HWPFile::getHeaderFooterCount ( ) const
inline

Definition at line 241 of file hwpfile.h.

Referenced by HwpReader::makeMasterStyles().

◆ GetHWPFont()

HWPFont & HWPFile::GetHWPFont ( void  )
inline

Definition at line 222 of file hwpfile.h.

Referenced by HwpReader::parseCharShape().

◆ GetHWPInfo()

HWPInfo & HWPFile::GetHWPInfo ( void  )
inline

◆ GetHWPStyle()

HWPStyle & HWPFile::GetHWPStyle ( void  )
inline

Definition at line 223 of file hwpfile.h.

Referenced by HwpReader::makeStyles().

◆ GetHyperText()

HyperText * HWPFile::GetHyperText ( )

Definition at line 435 of file hwpfile.cxx.

References currenthyper, hyperlist, and o3tl::make_unsigned().

Referenced by HwpReader::makeHyperText().

◆ getMaxSettedPage()

int HWPFile::getMaxSettedPage ( ) const
inline

Definition at line 246 of file hwpfile.h.

Referenced by HwpReader::makeMasterStyles().

◆ GetPageMasterNum()

int HWPFile::GetPageMasterNum ( int  page)

Definition at line 423 of file hwpfile.cxx.

References columnlist, and i.

Referenced by HwpReader::makeMasterStyles().

◆ getPageNumber()

ShowPageNum * HWPFile::getPageNumber ( int  index)

Definition at line 505 of file hwpfile.cxx.

References index, o3tl::make_unsigned(), and pagenumbers.

Referenced by HwpReader::makeAutoStyles(), and HwpReader::makeMasterStyles().

◆ getPageNumberCount()

int HWPFile::getPageNumberCount ( ) const
inline

Definition at line 242 of file hwpfile.h.

Referenced by HwpReader::makeAutoStyles(), and HwpReader::makeMasterStyles().

◆ getParaShape()

ParaShape * HWPFile::getParaShape ( int  index)

Definition at line 470 of file hwpfile.cxx.

References index, o3tl::make_unsigned(), and pslist.

Referenced by HwpReader::makeAutoStyles().

◆ getParaShapeCount()

int HWPFile::getParaShapeCount ( ) const
inline

Definition at line 237 of file hwpfile.h.

Referenced by HwpReader::makeAutoStyles().

◆ getTable()

Table * HWPFile::getTable ( int  index)

Definition at line 512 of file hwpfile.cxx.

References index, o3tl::make_unsigned(), and tables.

Referenced by HwpReader::makeAutoStyles().

◆ getTableCount()

int HWPFile::getTableCount ( ) const
inline

Definition at line 243 of file hwpfile.h.

Referenced by HwpReader::makeAutoStyles().

◆ InfoRead()

void HWPFile::InfoRead ( void  )

Reads document information of hwp file from HIODev.

Definition at line 197 of file hwpfile.cxx.

References _hwpInfo, and HWPInfo::Read().

Referenced by ReadHwpFile().

◆ move_to_failed()

void HWPFile::move_to_failed ( std::unique_ptr< HWPPara rPara)

Definition at line 288 of file hwpfile.cxx.

References pfailedlist.

Referenced by LoadDrawingObject(), and ReadParaList().

◆ Open()

int HWPFile::Open ( std::unique_ptr< HStream stream)

Opens HStream to use it.

Returns
0 if success, otherwise error code
See also
State()

Definition at line 96 of file hwpfile.cxx.

References detect_hwp_version(), HWP_EMPTY_FILE, HWP_NoError, HWP_UNSUPPORTED_VERSION, HWP_V30, HWPIDLen, ReadBlock(), SetIODevice(), SetState(), stream, and version.

Referenced by ReadHwpFile().

◆ ParaListRead()

void HWPFile::ParaListRead ( )

Reads paragraph list of hwp file from HIODev.

Definition at line 215 of file hwpfile.cxx.

References plist, and ReadParaList().

Referenced by ReadHwpFile().

◆ pop_hpara_type()

void HWPFile::pop_hpara_type ( )
inline

Definition at line 254 of file hwpfile.h.

Referenced by HWPPara::readHBox().

◆ push_hpara_type()

void HWPFile::push_hpara_type ( unsigned char  scflag)
inline

Definition at line 249 of file hwpfile.h.

Referenced by HWPPara::readHBox().

◆ Read1b() [1/2]

bool HWPFile::Read1b ( char &  out)

Definition at line 128 of file hwpfile.cxx.

References hiodev.

◆ Read1b() [2/2]

bool HWPFile::Read1b ( unsigned char &  out)

◆ Read2b() [1/3]

bool HWPFile::Read2b ( char16_t &  out)

Definition at line 142 of file hwpfile.cxx.

References n, and Read2b().

◆ Read2b() [2/3]

bool HWPFile::Read2b ( unsigned short &  out)

◆ Read2b() [3/3]

size_t HWPFile::Read2b ( void *  ptr,
size_t  nmemb 
)

Reads nmemb short type array from HIODev.

Definition at line 166 of file hwpfile.cxx.

References hiodev.

◆ Read4b() [1/2]

bool HWPFile::Read4b ( int out)

Definition at line 157 of file hwpfile.cxx.

References Read4b().

◆ Read4b() [2/2]

bool HWPFile::Read4b ( unsigned int out)

◆ ReadBlock()

size_t HWPFile::ReadBlock ( void *  ptr,
size_t  size 
)

◆ ReadHwpFile()

int HWPFile::ReadHwpFile ( std::unique_ptr< HStream stream)

Reads all information of hwp file from stream.

Definition at line 69 of file hwpfile.cxx.

References AddColumnInfo(), FontRead(), HWP_NoError, InfoRead(), Open(), ParaListRead(), State(), stream, StyleRead(), and TagsRead().

Referenced by HwpReader::importHStream().

◆ ReadParaList() [1/2]

void HWPFile::ReadParaList ( std::vector< HWPPara * > &  aplist)

Definition at line 220 of file hwpfile.cxx.

References AddParaShape(), and move_to_failed().

◆ ReadParaList() [2/2]

void HWPFile::ReadParaList ( std::vector< std::unique_ptr< HWPPara > > &  aplist,
unsigned char  flag = 0 
)

Reads main paragraph list.

Definition at line 254 of file hwpfile.cxx.

References AddParaShape(), and move_to_failed().

Referenced by LoadParaList(), ParaListRead(), TxtBox::Read(), Picture::Read(), Hidden::Read(), HeaderFooter::Read(), and Footnote::Read().

◆ SetColumnDef()

void HWPFile::SetColumnDef ( std::shared_ptr< ColumnDef > const &  rColdef)

Definition at line 573 of file hwpfile.cxx.

References columnlist.

Referenced by HWPPara::Read().

◆ SetCompressed()

void HWPFile::SetCompressed ( bool  flag)

Sets if the stream is compressed.

Definition at line 181 of file hwpfile.cxx.

References hiodev.

Referenced by HWPInfo::Read().

◆ SetIODevice()

std::unique_ptr< HIODev > HWPFile::SetIODevice ( std::unique_ptr< HIODev hiodev)

Sets current HIODev.

Definition at line 188 of file hwpfile.cxx.

References hiodev.

Referenced by LoadParaList(), and Open().

◆ setMaxSettedPage()

void HWPFile::setMaxSettedPage ( )
inline

Definition at line 247 of file hwpfile.h.

Referenced by AddColumnInfo(), HeaderFooter::Read(), and ShowPageNum::Read().

◆ SetState()

int HWPFile::SetState ( int  errcode)

◆ SkipBlock()

size_t HWPFile::SkipBlock ( size_t  size)

Skips some bytes from HIODev.

Definition at line 176 of file hwpfile.cxx.

References hiodev, and size.

Referenced by CharShape::Read(), OlePicture::Read(), SkipData::Read(), FieldCode::Read(), and SetCurrentDoc().

◆ State()

int HWPFile::State ( void  ) const
inline

Say current state.

Returns
0 if normal, otherwise error code. If it's bigger than USER_ERROR_BIT, it is internally using error, otherwise it's system error which is able to get the message strerror() method.

Definition at line 119 of file hwpfile.h.

Referenced by HWPSummary::Read(), HWPInfo::Read(), HWPStyle::Read(), TxtBox::Read(), Picture::Read(), Line::Read(), Hidden::Read(), HeaderFooter::Read(), Footnote::Read(), AutoNum::Read(), NewNum::Read(), ShowPageNum::Read(), PageNumCtrl::Read(), MailMerge::Read(), Compose::Read(), Hyphen::Read(), TocMark::Read(), IndexMark::Read(), Outline::Read(), KeepSpace::Read(), FixedSpace::Read(), HWPPara::Read(), HWPPara::readHBox(), and ReadHwpFile().

◆ StyleRead()

void HWPFile::StyleRead ( void  )

Reads style list of hwp file from HIODev.

Definition at line 209 of file hwpfile.cxx.

References _hwpStyle, and HWPStyle::Read().

Referenced by ReadHwpFile().

◆ TagsRead()

void HWPFile::TagsRead ( )

Reads additional information like embedded image of hwp file from HIODev.

Definition at line 293 of file hwpfile.cxx.

References Read4b(), and size.

Referenced by ReadHwpFile().

Friends And Related Function Documentation

◆ GetCurrentDoc

HWPFile * GetCurrentDoc ( void  )
friend

Definition at line 667 of file hwpfile.cxx.

◆ SetCurrentDoc

HWPFile * SetCurrentDoc ( HWPFile )
friend

Definition at line 673 of file hwpfile.cxx.

Referenced by HWPFile().

Member Data Documentation

◆ _hwpFont

HWPFont HWPFile::_hwpFont
private

Definition at line 280 of file hwpfile.h.

Referenced by FontRead().

◆ _hwpInfo

HWPInfo HWPFile::_hwpInfo
private

Definition at line 279 of file hwpfile.h.

Referenced by InfoRead(), and SetCurrentDoc().

◆ _hwpStyle

HWPStyle HWPFile::_hwpStyle
private

Definition at line 281 of file hwpfile.h.

Referenced by StyleRead().

◆ columnlist

std::vector<std::unique_ptr<ColumnInfo> > HWPFile::columnlist
private

Definition at line 282 of file hwpfile.h.

Referenced by AddColumnInfo(), GetColumnDef(), GetPageMasterNum(), and SetColumnDef().

◆ compressed

bool HWPFile::compressed

Definition at line 264 of file hwpfile.h.

Referenced by HWPInfo::Read().

◆ cslist

std::vector<std::shared_ptr<CharShape> > HWPFile::cslist
private

Definition at line 294 of file hwpfile.h.

Referenced by AddCharShape(), compareCharShape(), and getCharShape().

◆ cur_doc

HWPFile * HWPFile::cur_doc = nullptr
staticprivate

Definition at line 304 of file hwpfile.h.

◆ currenthyper

int HWPFile::currenthyper
private

Definition at line 292 of file hwpfile.h.

Referenced by GetHyperText().

◆ datecodes

std::vector<DateCode*> HWPFile::datecodes
private

Definition at line 296 of file hwpfile.h.

Referenced by AddDateFormat(), and getDateCode().

◆ element_import_stack

std::vector<unsigned char> HWPFile::element_import_stack
private

Definition at line 301 of file hwpfile.h.

◆ emblist

std::vector<std::unique_ptr<EmPicture> > HWPFile::emblist
private

Definition at line 290 of file hwpfile.h.

Referenced by GetEmPicture(), GetEmPictureByName(), and SetCurrentDoc().

◆ encrypted

bool HWPFile::encrypted

Definition at line 265 of file hwpfile.h.

Referenced by HWPInfo::Read().

◆ error_code

int HWPFile::error_code

Definition at line 268 of file hwpfile.h.

Referenced by SetState().

◆ fbslist

std::vector<FBoxStyle*> HWPFile::fbslist
private

Definition at line 295 of file hwpfile.h.

Referenced by AddFBoxStyle(), and getFBoxStyle().

◆ headerfooters

std::vector<HeaderFooter*> HWPFile::headerfooters
private

Definition at line 297 of file hwpfile.h.

Referenced by AddHeaderFooter(), and getHeaderFooter().

◆ hiodev

std::unique_ptr<HIODev> HWPFile::hiodev
private

Definition at line 277 of file hwpfile.h.

Referenced by Read1b(), Read2b(), Read4b(), ReadBlock(), SetCompressed(), SetIODevice(), SkipBlock(), and ~HWPFile().

◆ hyperlist

std::vector<std::unique_ptr<HyperText> > HWPFile::hyperlist
private

Definition at line 291 of file hwpfile.h.

Referenced by GetHyperText(), and SetCurrentDoc().

◆ info_block_len

int HWPFile::info_block_len

Definition at line 267 of file hwpfile.h.

Referenced by HWPReadInfoBlock(), and HWPInfo::Read().

◆ linenumber

unsigned char HWPFile::linenumber

Definition at line 266 of file hwpfile.h.

Referenced by HwpReader::makeStyles(), and Line::Read().

◆ m_nCurrentPage

int HWPFile::m_nCurrentPage
private

Definition at line 275 of file hwpfile.h.

Referenced by AddColumnInfo().

◆ m_nMaxSettedPage

int HWPFile::m_nMaxSettedPage
private

Definition at line 276 of file hwpfile.h.

◆ oledata

std::unique_ptr<OlePicture> HWPFile::oledata

Definition at line 269 of file hwpfile.h.

Referenced by HwpReader::makePicture(), SetCurrentDoc(), and ~HWPFile().

◆ pagenumbers

std::vector<ShowPageNum*> HWPFile::pagenumbers
private

Definition at line 298 of file hwpfile.h.

Referenced by AddPageNumber(), and getPageNumber().

◆ pfailedlist

std::vector<std::unique_ptr<HWPPara> > HWPFile::pfailedlist
private

Definition at line 288 of file hwpfile.h.

Referenced by move_to_failed().

◆ plist

std::vector<std::unique_ptr<HWPPara> > HWPFile::plist
private

Definition at line 284 of file hwpfile.h.

Referenced by ParaListRead().

◆ pslist

std::vector<std::shared_ptr<ParaShape> > HWPFile::pslist
private

Definition at line 293 of file hwpfile.h.

Referenced by AddParaShape(), compareParaShape(), and getParaShape().

◆ readdepth

int HWPFile::readdepth

Definition at line 271 of file hwpfile.h.

Referenced by DepthGuard::DepthGuard(), DepthGuard::toodeep(), and DepthGuard::~DepthGuard().

◆ scratch

unsigned char HWPFile::scratch[SAL_MAX_UINT16]

Definition at line 270 of file hwpfile.h.

Referenced by Picture::Read().

◆ tables

std::vector<std::unique_ptr<Table> > HWPFile::tables
private

Definition at line 299 of file hwpfile.h.

Referenced by AddTable(), and getTable().

◆ version

int HWPFile::version

Definition at line 263 of file hwpfile.h.

Referenced by Open().


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