Foxit PDF SDK

fs_ofdlinearpackage.h
1 #ifndef FS_OFD_LINEARPACKAGE_H_
2 #define FS_OFD_LINEARPACKAGE_H_
3
4 #include "common/fs_common.h"
5
11 namespace foxit {
15 namespace ofd {
17 class OFDLinearPackage FS_FINAL : public Base {
18 public:
24 explicit OFDLinearPackage(const char* path);
25
31 explicit OFDLinearPackage(const wchar_t* path);
32
34 ~OFDLinearPackage();
35
48 OFDLinearPackage(const OFDLinearPackage& other);
49
56 OFDLinearPackage& operator = (const OFDLinearPackage& other);
57
65 bool operator == (const OFDLinearPackage& other) const;
66
74 bool operator != (const OFDLinearPackage& other) const;
75
83 bool IsEmpty() const;
84
92 String GetFileContent(const String& path);
93
101 String GetFileContent(const WString& path);
102
103 explicit OFDLinearPackage(FS_HANDLE handle);
104 };
105
106 } // namespace ofd
107 } // namespace foxit
108
109 #endif // FS_OFD_LINEARPACKAGE_H_
foxit::ofd::OFDLinearPackage::operator==
bool operator==(const OFDLinearPackage &other) const
相等操作符。
CFX_WideString
宽字符串类
Definition: fx_string.h:1457
foxit::ofd::OFDLinearPackage::OFDLinearPackage
OFDLinearPackage(const char *path)
带参数的构造函数。
foxit::FS_HANDLE
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:213
foxit::ofd::OFDLinearPackage::operator !=
bool operator !=(const OFDLinearPackage &other) const
不相等操作符。
fs_common.h
通用定义和类的头文件。
foxit::ofd::OFDLinearPackage::GetFileContent
String GetFileContent(const String &path)
获取指定路径的文件内容。
foxit::Base
Definition: fs_basictypes.h:465
foxit::ofd::OFDLinearPackage::operator=
OFDLinearPackage & operator=(const OFDLinearPackage &other)
赋值操作符。
foxit
Foxit命名空间。
Definition: fs_taggedpdf.h:27
CFX_ByteString
字节字符串类
Definition: fx_string.h:317
foxit::ofd::OFDLinearPackage::~OFDLinearPackage
~OFDLinearPackage()
析构函数。
foxit::ofd::OFDLinearPackage::IsEmpty
bool IsEmpty() const
检查当前对象是否为空。
foxit::ofd::OFDLinearPackage
Definition: fs_ofdlinearpackage.h:17