LibreOffice Module hwpfilter (master) 1
Classes | Macros | Functions
hwpfile.h File Reference
#include <algorithm>
#include <memory>
#include <vector>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <sal/types.h>
#include "hwplib.h"
#include "hfont.h"
#include "hstyle.h"
#include "hpara.h"
Include dependency graph for hwpfile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

#define HWPIDLen   30
 
#define V20SIGNATURE   "HWP Document File V2.00 \032\1\2\3\4\5"
 
#define V21SIGNATURE   "HWP Document File V2.10 \032\1\2\3\4\5"
 
#define V30SIGNATURE   "HWP Document File V3.00 \032\1\2\3\4\5"
 
#define HWP_V20   20
 
#define HWP_V21   21
 
#define HWP_V30   30
 

Functions

int detect_hwp_version (const char *str)
 
HWPFileGetCurrentDoc (void)
 
HWPFileSetCurrentDoc (HWPFile *hwpfp)
 

Macro Definition Documentation

◆ HWP_V20

#define HWP_V20   20

Definition at line 45 of file hwpfile.h.

◆ HWP_V21

#define HWP_V21   21

Definition at line 46 of file hwpfile.h.

◆ HWP_V30

#define HWP_V30   30

Definition at line 47 of file hwpfile.h.

◆ HWPIDLen

#define HWPIDLen   30

Definition at line 40 of file hwpfile.h.

◆ V20SIGNATURE

#define V20SIGNATURE   "HWP Document File V2.00 \032\1\2\3\4\5"

Definition at line 41 of file hwpfile.h.

◆ V21SIGNATURE

#define V21SIGNATURE   "HWP Document File V2.10 \032\1\2\3\4\5"

Definition at line 42 of file hwpfile.h.

◆ V30SIGNATURE

#define V30SIGNATURE   "HWP Document File V3.00 \032\1\2\3\4\5"

Definition at line 43 of file hwpfile.h.

Function Documentation

◆ detect_hwp_version()

int detect_hwp_version ( const char *  str)

Definition at line 83 of file hwpfile.cxx.

References HWP_V20, HWP_V21, HWP_V30, HWPIDLen, V20SIGNATURE, V21SIGNATURE, and V30SIGNATURE.

Referenced by HWPFile::Open().

◆ GetCurrentDoc()

HWPFile * GetCurrentDoc ( void  )

Definition at line 305 of file hwpfile.cxx.

Referenced by LoadParaList().

◆ SetCurrentDoc()

HWPFile * SetCurrentDoc ( HWPFile hwpfp)