Foxit PDF SDK
fs_formcombination.h
Go to the documentation of this file.
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  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
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
File reading interface.
Definition: fx_stream.h:566
WIDE STRING CLASS.
Definition: fx_string.h:1452
bool IsEmpty() const
Check whether current object is empty or not.
Definition: fs_formcombination.h:113
Definition: fs_formcombination.h:32
FormFileInfo(const wchar_t *file_path, const WString &password)
Constructor, with parameters.
bool operator!=(const FormFileInfo &other) const
Not equal operator.
File stream interface, reading & writing.
Definition: fx_stream.h:669
bool operator==(const FormFileInfo &other) const
Equal operator.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
Header file for common definitions and classes.
Definition: fs_basictypes.h:407
Foxit namespace.
Definition: fs_taggedpdf.h:27
Definition: fs_formcombination.h:118
FormFileInfo & operator=(const FormFileInfo &other)
Assign operator.