122 typedef enum _State {
185 typedef enum _Filter {
202 explicit Range(
int index);
328 #endif // FS_COMMON_H_ Definition: fs_common.h:178
static void Release()
Release all resource allocated by Foxit PDF Conversion SDK Library.
int GetRateOfProgress()
Get the rate of current progress.
CFX_Object Object
Object type.
Definition: fs_basictypes.h:79
Definition: fs_common.h:46
Only odd numbers in a range will be used (discards even numbers).
Definition: fs_common.h:191
Range & operator=(const Range &other)
Assign operator.
Filter
Enumeration for range filter.
Definition: fs_common.h:185
int GetSegmentCount() const
Get the count of range segments.
bool operator==(const Range &other) const
Equal operator.
static void EnableThreadSafety(bool is_enable_thread_safety)
Enable thread safety.
State
Enumeration for progress state.
Definition: fs_common.h:122
static ErrorCode Reinitialize()
Re-initialize Foxit PDF Conversion SDK Library.
static ErrorCode Initialize(const char *sn, const char *key)
Initialize Foxit PDF Conversion SDK Library, with valid license information.
Progressive(const Progressive &other)
Constructor, with another progressive object.
Progress state: progress needs to be continued.
Definition: fs_common.h:126
int GetSegmentEnd(int segment_index) const
Get the end index of a specified range segment.
~Progressive()
Destructor.
Header file for basic types definitions.
ErrorCode
Enumeration for error code.
Definition: fs_basictypes.h:105
Only even numbers in a range will be used (discards odd numbers).
Definition: fs_common.h:189
int GetSegmentStart(int segment_index) const
Get the start index of a specified range segment.
bool IsEmpty() const
Check whether current object is empty or not.
Definition: fs_common.h:115
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:76
Progressive & operator=(const Progressive &other)
Assign operator.
State Continue()
Continue the progressive process.
Definition: fs_basictypes.h:161
void RemoveAll()
Remove all range segments.
static String GetVersion()
Get the version of current Foxit PDF Conversion SDK library.
bool operator !=(const Range &other) const
Not equal operator.
Foxit namespace.
Definition: fs_basictypes.h:58
void AddSingle(int index)
Add an index as a new range segment.
All the indexes within a range will be used.
Definition: fs_common.h:187
BYTE STRING CLASS.
Definition: fx_string.h:317
Progress state: progress is finished.
Definition: fs_common.h:128
Progress state: any error occurs.
Definition: fs_common.h:124
#define NULL
The null-pointer value.
Definition: fx_system.h:780
void AddSegment(int start_index, int end_index, Filter filter=e_All)
Add a new range segment. (Reverse ordering is legal.)