26 #ifndef _FSPDF_OBJECTS_W_H_ 27 #define _FSPDF_OBJECTS_W_H_ 1328 #endif // _FSPDF_OBJECTS_W_H_ FS_RESULT FSPDF_Array_AddRawByteString(FSCRT_DOCUMENT document, FSPDF_OBJECT array, FS_BOOL hexStr, const FSCRT_BSTR *string)
Add a raw string element into array, to the last position.
FS_RESULT FSPDF_Array_AddFloat(FSCRT_DOCUMENT document, FSPDF_OBJECT array, FS_FLOAT number)
Add a float element into array, to the last position.
FS_RESULT FSPDF_Stream_ImportData(FSCRT_DOCUMENT document, FSPDF_OBJECT stream, FSCRT_FILE file)
Import stream data from a file.
Structure for rectangle, in float.
Definition: fs_base_r.h:2078
float FS_FLOAT
32-bit floating-point number, single precision.
Definition: fs_base_r.h:148
void const * FS_LPCVOID
A constant pointer to any types.
Definition: fs_base_r.h:130
FS_RESULT FSPDF_Array_RemoveAt(FSCRT_DOCUMENT document, FSPDF_OBJECT array, FS_INT32 index)
Remove an element from array.
FS_RESULT FSPDF_Dictionary_SetAt(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, FSPDF_OBJECT object)
Set an object as value to specific key in dictionary.
FS_RESULT FSPDF_Object_CreateReference(FSCRT_DOCUMENT document, FSPDF_OBJECT refObj, FSPDF_OBJECT *object)
Create a reference PDF object.
FS_RESULT FSPDF_Object_CreateFloat(FSCRT_DOCUMENT document, FS_FLOAT number, FSPDF_OBJECT *object)
Create a float number PDF object.
FS_RESULT FSPDF_Dictionary_RemoveAt(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key)
Remove a specific key from dictionary.
FS_RESULT FSPDF_Object_CreateMatrix(FSCRT_DOCUMENT document, const FSCRT_MATRIX *matrix, FSPDF_OBJECT *object)
Create a matrix PDF object.
FS_RESULT FSPDF_Dictionary_SetAtDateTime(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, const FSCRT_DATETIMEZONE *dt)
Set a date and time value to specific key in dictionary.
FS_RESULT FSPDF_Dictionary_SetAtBoolean(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, FS_BOOL boolean)
Set a boolean value with specific key in dictionary.
FS_RESULT FSPDF_Dictionary_SetAtRawByteString(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, FS_BOOL hexStr, const FSCRT_BSTR *string)
Set a raw byte string value to specific key in dictionary.
FS_RESULT FSPDF_Array_AddRect(FSCRT_DOCUMENT document, FSPDF_OBJECT array, const FSCRT_RECTF *rect)
Add a rectangle element into array, to the last position.
FS_RESULT FSPDF_Object_CreateInteger(FSCRT_DOCUMENT document, FS_INT32 number, FSPDF_OBJECT *object)
Create an integer number PDF object.
unsigned int FS_DWORD
32-bit unsigned integer.
Definition: fs_base_r.h:142
FS_RESULT FSPDF_Array_AddUnicodeString(FSCRT_DOCUMENT document, FSPDF_OBJECT array, const FSCRT_BSTR *string)
Add an UTF-8 string element into array, to the last position.
FS_RESULT FSPDF_Object_CreateUnicodeName(FSCRT_DOCUMENT document, const FSCRT_BSTR *nameStr, FSPDF_OBJECT *object)
Create an UTF-8 name PDF object.
FS_RESULT FSPDF_Object_CreateRect(FSCRT_DOCUMENT document, const FSCRT_RECTF *rect, FSPDF_OBJECT *object)
Create a rectangle PDF object.
FS_RESULT FSPDF_Dictionary_SetAtFloat(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, FS_FLOAT number)
Set a float value to specific key in dictionary.
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
FS_RESULT FSPDF_Array_Add(FSCRT_DOCUMENT document, FSPDF_OBJECT array, FSPDF_OBJECT element)
Add an element into array, to the last position.
Structure for date and time.
Definition: fs_base_r.h:2018
FS_RESULT FSPDF_Dictionary_SetAtInteger(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, FS_INT32 number)
Set an integer value to specific key in dictionary.
FS_RESULT FSPDF_Dictionary_SetAtRect(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, const FSCRT_RECTF *rect)
Set a rectangle value to specific key in dictionary.
FS_RESULT FSPDF_Array_AddBoolean(FSCRT_DOCUMENT document, FSPDF_OBJECT array, FS_BOOL boolean)
Add a boolean element into array, to the last position.
FS_RESULT FSPDF_Stream_SetData(FSCRT_DOCUMENT document, FSPDF_OBJECT stream, FS_LPCVOID buffer, FS_DWORD length)
Set stream data.
FS_RESULT FSPDF_Dictionary_SetAtUnicodeString(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, const FSCRT_BSTR *string)
Set a UTF-8 byte string value to specific key in dictionary.
FS_RESULT FSPDF_Object_CreateReferenceWithObjNum(FSCRT_DOCUMENT document, FS_DWORD objNum, FSPDF_OBJECT *object)
Create a reference PDF object with an object number.
FS_RESULT FSPDF_Object_CreateDateTime(FSCRT_DOCUMENT document, const FSCRT_DATETIMEZONE *dt, FSPDF_OBJECT *object)
Create a date PDF object.
FS_RESULT FSPDF_Array_AddDateTime(FSCRT_DOCUMENT document, FSPDF_OBJECT array, const FSCRT_DATETIMEZONE *dt)
Add a date and time element into array, to the last position.
FS_RESULT FSPDF_Array_SetAt(FSCRT_DOCUMENT document, FSPDF_OBJECT array, FS_INT32 index, FSPDF_OBJECT element)
Set a new element at parameter index position in array.
FS_RESULT FSPDF_Object_CreateUnicodeString(FSCRT_DOCUMENT document, const FSCRT_BSTR *string, FSPDF_OBJECT *object)
Create an UTF-8 string PDF object.
FS_RESULT FSPDF_Dictionary_SetAtMatrix(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, const FSCRT_MATRIX *matrix)
Set a matrix value to specific key in dictionary.
int FS_BOOL
Boolean type (This should be TRUE or FALSE).
Definition: fs_base_r.h:133
FS_RESULT FSPDF_Object_CreateDict(FSCRT_DOCUMENT document, FSPDF_OBJECT *object)
Create a dictionary PDF object.
FS_RESULT FSPDF_Dictionary_SetAtUnicodeName(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, const FSCRT_BSTR *key, const FSCRT_BSTR *nameStr)
Set a UTF-8 name value to specific key in dictionary.
FS_RESULT FSPDF_Object_CreateArray(FSCRT_DOCUMENT document, FSPDF_OBJECT *object)
Create an array PDF object.
FS_RESULT FSPDF_Object_CreateStream(FSCRT_DOCUMENT document, FSPDF_OBJECT dictionary, FSPDF_OBJECT *object)
Create a stream PDF object.
FS_RESULT FSPDF_Array_AddInteger(FSCRT_DOCUMENT document, FSPDF_OBJECT array, FS_INT32 number)
Add an integer element into array, to the last position.
Structure for 2D matrix.
Definition: fs_base_r.h:2130
Structure for byte string.
Definition: fs_base_r.h:611
FS_RESULT FSPDF_Array_AddUnicodeName(FSCRT_DOCUMENT document, FSPDF_OBJECT array, const FSCRT_BSTR *nameStr)
Add an UTF-8 name element into array, to the last position.
FS_RESULT FSPDF_Object_CreateBoolean(FSCRT_DOCUMENT document, FS_BOOL boolean, FSPDF_OBJECT *object)
Create a boolean PDF object.
FS_RESULT FSPDF_Array_InsertAt(FSCRT_DOCUMENT document, FSPDF_OBJECT array, FS_INT32 index, FSPDF_OBJECT element)
Insert an element into array.
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160
FS_RESULT FSPDF_Array_AddMatrix(FSCRT_DOCUMENT document, FSPDF_OBJECT array, const FSCRT_MATRIX *matrix)
Add a matrix element into array, to the last position.
FS_RESULT FSPDF_Object_Release(FSCRT_DOCUMENT document, FSPDF_OBJECT object)
Release a PDF object created but not inserted into any PDF document or other PDF objects.
FS_RESULT FSPDF_Object_CreateRawByteString(FSCRT_DOCUMENT document, const FSCRT_BSTR *string, FS_BOOL hexStr, FSPDF_OBJECT *object)
Create a raw string PDF object.