LibreOffice Module hwpfilter (master) 1
|
#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"
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) |
HWPFile * | GetCurrentDoc (void) |
HWPFile * | SetCurrentDoc (HWPFile *hwpfp) |
#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" |
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().
HWPFile * GetCurrentDoc | ( | void | ) |
Definition at line 305 of file hwpfile.cxx.
Referenced by LoadParaList().
Definition at line 306 of file hwpfile.cxx.
References HWPFile::_hwpInfo, HWPInfo::back_info, PaperBackInfo::color, PaperBackInfo::contrast, PaperBackInfo::data, PaperBackInfo::effect, HWPFile::emblist, PaperBackInfo::filename, FILETAG_EMBEDDED_PICTURE, FILETAG_HYPERTEXT, FILETAG_OLE_OBJECT, FILETAG_PRESENTATION, FILETAG_PREVIEW_IMAGE, FILETAG_PREVIEW_TEXT, PaperBackInfo::flag, HWPFile::hyperlist, i, PaperBackInfo::isset, PaperBackInfo::luminance, HWPFile::oledata, PaperBackInfo::range, HWPFile::Read1b(), HWPFile::Read2b(), HWPFile::Read4b(), HWPFile::ReadBlock(), PaperBackInfo::reserved1, PaperBackInfo::reserved2, PaperBackInfo::reserved3, SAL_MAX_UINT16, size, PaperBackInfo::size, HWPFile::SkipBlock(), and PaperBackInfo::type.