Foxit PDF SDK
fs_formcombination.h
浏览该文件的文档.
1 
15 #ifndef FS_FORMCOMBINATION_H_
16 #define FS_FORMCOMBINATION_H_
17 
18 #include "common/fs_common.h"
24 namespace foxit {
28 namespace addon {
32 class FormFileInfo FS_FINAL : public Base{
33  public:
44  FormFileInfo(const wchar_t* file_path, const WString& password);
45 
60  FormFileInfo(foxit::common::file::ReaderCallback* reader_callback, const WString& password, const wchar_t* file_name);
61 
63  ~FormFileInfo();
64 
70  FormFileInfo(const FormFileInfo& other);
71 
79  FormFileInfo& operator=(const FormFileInfo& other);
80 
88  bool operator==(const FormFileInfo& other) const;
89 
97  bool operator!=(const FormFileInfo& other) const;
98 
106  bool IsEmpty() const;
107 
108  // 强烈建议用户不要使用此方法;否则可能会出现未知情况。
109  explicit FormFileInfo(FS_HANDLE handle);
110 };
111 
113 FSDK_DEFINE_ARRAY(FormFileInfoArray, FormFileInfo)
114 
115 
118 class FormCombination FS_FINAL : public Base{
119  public:
130  static void CombineFormsToCSV(const FormFileInfoArray& form_file_array, const wchar_t* dest_csv_file, bool append);
131 
143  static void CombineFormsToCSV(const FormFileInfoArray& form_file_array, foxit::common::file::StreamCallback* dest_csv_file, bool append);
144 };
145 }
146 }
147 #endif
文件读取接口。
Definition: fx_stream.h:587
~FormFileInfo()
析构函数。
宽字符串类
Definition: fx_string.h:1457
bool IsEmpty() const
检查当前对象是否为空。
Definition: fs_formcombination.h:113
Definition: fs_formcombination.h:32
FormFileInfo(const wchar_t *file_path, const WString &password)
构造函数,带参数。
bool operator!=(const FormFileInfo &other) const
不相等操作符。
文件流接口,用于读取和写入。
Definition: fx_stream.h:692
bool operator==(const FormFileInfo &other) const
相等操作符。
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
通用定义和类的头文件。
Definition: fs_basictypes.h:449
Foxit命名空间。
Definition: fs_taggedpdf.h:27
Definition: fs_formcombination.h:118
FormFileInfo & operator=(const FormFileInfo &other)
赋值操作符。