Haru Free PDF Library
|
#include "hpdf_encoder.h"
Go to the source code of this file.
Data Structures | |
struct | _HPDF_Obj_Header |
struct | _HPDF_Null_Rec |
struct | _HPDF_Boolean_Rec |
struct | _HPDF_Number_Rec |
struct | _HPDF_Real_Rec |
struct | _HPDF_Name_Rec |
struct | _HPDF_String_Rec |
struct | _HPDF_Binary_Rec |
struct | _HPDF_Array_Rec |
struct | _HPDF_Dict_Rec |
struct | _HPDF_DictElement_Rec |
struct | _HPDF_Proxy_Rec |
struct | _HPDF_XrefEntry_Rec |
struct | _HPDF_Xref_Rec |
struct | _HPDF_Direct_Rec |
#define HPDF_FREE_ENTRY 'f' |
#define HPDF_IN_USE_ENTRY 'n' |
#define HPDF_OCLASS_ANY 0x00FF |
#define HPDF_OCLASS_ARRAY 0x0010 |
#define HPDF_OCLASS_BINARY 0x0008 |
#define HPDF_OCLASS_BOOLEAN 0x0003 |
#define HPDF_OCLASS_DICT 0x0011 |
#define HPDF_OCLASS_DIRECT 0x00A0 |
#define HPDF_OCLASS_NAME 0x0006 |
#define HPDF_OCLASS_NULL 0x0002 |
#define HPDF_OCLASS_NUMBER 0x0004 |
#define HPDF_OCLASS_PROXY 0x0012 |
#define HPDF_OCLASS_REAL 0x0005 |
#define HPDF_OCLASS_STRING 0x0007 |
#define HPDF_OCLASS_UNKNOWN 0x0001 |
#define HPDF_OSUBCLASS_ANNOTATION 0x0800 |
#define HPDF_OSUBCLASS_CATALOG 0x0200 |
#define HPDF_OSUBCLASS_DESTINATION 0x0700 |
#define HPDF_OSUBCLASS_ENCRYPT 0x0900 |
#define HPDF_OSUBCLASS_EXT_GSTATE 0x0A00 |
#define HPDF_OSUBCLASS_EXT_GSTATE_R 0x0B00 /* read only object */ |
#define HPDF_OSUBCLASS_FONT 0x0100 |
#define HPDF_OSUBCLASS_NAMEDICT 0x0C00 |
#define HPDF_OSUBCLASS_NAMETREE 0x0D00 |
#define HPDF_OSUBCLASS_OUTLINE 0x0600 |
#define HPDF_OSUBCLASS_PAGE 0x0400 |
#define HPDF_OSUBCLASS_PAGES 0x0300 |
#define HPDF_OSUBCLASS_SHADING 0x0E00 |
#define HPDF_OSUBCLASS_XOBJECT 0x0500 |
#define HPDF_OTYPE_ANY (HPDF_OTYPE_DIRECT | HPDF_OTYPE_INDIRECT) |
#define HPDF_OTYPE_DIRECT 0x80000000 |
#define HPDF_OTYPE_HIDDEN 0x10000000 |
#define HPDF_OTYPE_INDIRECT 0x40000000 |
#define HPDF_OTYPE_NONE 0x00000000 |
typedef HPDF_Dict HPDF_3DMeasure |
typedef HPDF_Dict HPDF_Action |
typedef HPDF_Dict HPDF_Annotation |
typedef struct _HPDF_Array_Rec* HPDF_Array |
typedef struct _HPDF_Array_Rec HPDF_Array_Rec |
typedef struct _HPDF_Binary_Rec* HPDF_Binary |
typedef struct _HPDF_Binary_Rec HPDF_Binary_Rec |
typedef struct _HPDF_Boolean_Rec* HPDF_Boolean |
typedef struct _HPDF_Boolean_Rec HPDF_Boolean_Rec |
typedef HPDF_Array HPDF_Destination |
typedef struct _HPDF_Dict_Rec* HPDF_Dict |
typedef HPDF_STATUS(* HPDF_Dict_AfterWriteFunc) (HPDF_Dict obj) |
typedef HPDF_STATUS(* HPDF_Dict_BeforeWriteFunc) (HPDF_Dict obj) |
typedef void(* HPDF_Dict_FreeFunc) (HPDF_Dict obj) |
typedef HPDF_STATUS(* HPDF_Dict_OnWriteFunc) (HPDF_Dict obj, HPDF_Stream stream) |
typedef struct _HPDF_Dict_Rec HPDF_Dict_Rec |
typedef struct _HPDF_DictElement_Rec* HPDF_DictElement |
typedef struct _HPDF_DictElement_Rec HPDF_DictElement_Rec |
typedef struct _HPDF_Direct_Rec* HPDF_Direct |
typedef struct _HPDF_Direct_Rec HPDF_Direct_Rec |
typedef HPDF_Dict HPDF_EmbeddedFile |
typedef HPDF_Dict HPDF_EncryptDict |
typedef HPDF_Dict HPDF_ExData |
typedef HPDF_Dict HPDF_ExtGState |
typedef HPDF_Dict HPDF_Image |
typedef HPDF_Dict HPDF_JavaScript |
typedef struct _HPDF_Name_Rec* HPDF_Name |
typedef struct _HPDF_Name_Rec HPDF_Name_Rec |
typedef HPDF_Dict HPDF_NameDict |
typedef HPDF_Dict HPDF_NameTree |
typedef struct _HPDF_Null_Rec* HPDF_Null |
typedef struct _HPDF_Null_Rec HPDF_Null_Rec |
typedef struct _HPDF_Number_Rec* HPDF_Number |
typedef struct _HPDF_Number_Rec HPDF_Number_Rec |
typedef struct _HPDF_Obj_Header HPDF_Obj_Header |
typedef HPDF_Dict HPDF_Outline |
typedef HPDF_Dict HPDF_OutputIntent |
typedef HPDF_Dict HPDF_Pages |
typedef struct _HPDF_Proxy_Rec* HPDF_Proxy |
typedef struct _HPDF_Proxy_Rec HPDF_Proxy_Rec |
typedef struct _HPDF_Real_Rec* HPDF_Real |
typedef struct _HPDF_Real_Rec HPDF_Real_Rec |
typedef HPDF_Dict HPDF_Shading |
typedef struct _HPDF_String_Rec* HPDF_String |
typedef struct _HPDF_String_Rec HPDF_String_Rec |
typedef HPDF_Dict HPDF_XObject |
typedef struct _HPDF_Xref_Rec* HPDF_Xref |
typedef struct _HPDF_Xref_Rec HPDF_Xref_Rec |
typedef struct _HPDF_XrefEntry_Rec* HPDF_XrefEntry |
typedef struct _HPDF_XrefEntry_Rec HPDF_XrefEntry_Rec |
HPDF_STATUS HPDF_Array_Add | ( | HPDF_Array | array, |
void * | obj | ||
) |
HPDF_STATUS HPDF_Array_AddName | ( | HPDF_Array | array, |
const char * | value | ||
) |
HPDF_STATUS HPDF_Array_AddNull | ( | HPDF_Array | array | ) |
HPDF_STATUS HPDF_Array_AddNumber | ( | HPDF_Array | array, |
HPDF_INT32 | value | ||
) |
HPDF_STATUS HPDF_Array_AddReal | ( | HPDF_Array | array, |
HPDF_REAL | value | ||
) |
void HPDF_Array_Clear | ( | HPDF_Array | array | ) |
void HPDF_Array_Free | ( | HPDF_Array | array | ) |
void* HPDF_Array_GetItem | ( | HPDF_Array | array, |
HPDF_UINT | index, | ||
HPDF_UINT16 | obj_class | ||
) |
HPDF_STATUS HPDF_Array_Insert | ( | HPDF_Array | array, |
void * | target, | ||
void * | obj | ||
) |
HPDF_UINT HPDF_Array_Items | ( | HPDF_Array | array | ) |
HPDF_Array HPDF_Array_New | ( | HPDF_MMgr | mmgr | ) |
HPDF_STATUS HPDF_Array_Write | ( | HPDF_Array | array, |
HPDF_Stream | stream, | ||
HPDF_Encrypt | e | ||
) |
void HPDF_Binary_Free | ( | HPDF_Binary | obj | ) |
HPDF_UINT HPDF_Binary_GetLen | ( | HPDF_Binary | obj | ) |
HPDF_BYTE* HPDF_Binary_GetValue | ( | HPDF_Binary | obj | ) |
HPDF_Binary HPDF_Binary_New | ( | HPDF_MMgr | mmgr, |
HPDF_BYTE * | value, | ||
HPDF_UINT | len | ||
) |
HPDF_STATUS HPDF_Binary_SetValue | ( | HPDF_Binary | obj, |
HPDF_BYTE * | value, | ||
HPDF_UINT | len | ||
) |
HPDF_STATUS HPDF_Binary_Write | ( | HPDF_Binary | obj, |
HPDF_Stream | stream, | ||
HPDF_Encrypt | e | ||
) |
HPDF_Boolean HPDF_Boolean_New | ( | HPDF_MMgr | mmgr, |
HPDF_BOOL | value | ||
) |
HPDF_STATUS HPDF_Boolean_Write | ( | HPDF_Boolean | obj, |
HPDF_Stream | stream | ||
) |
HPDF_Array HPDF_Box_Array_New | ( | HPDF_MMgr | mmgr, |
HPDF_Box | box | ||
) |
HPDF_STATUS HPDF_Dict_Add | ( | HPDF_Dict | dict, |
const char * | key, | ||
void * | obj | ||
) |
HPDF_STATUS HPDF_Dict_AddBoolean | ( | HPDF_Dict | dict, |
const char * | key, | ||
HPDF_BOOL | value | ||
) |
HPDF_STATUS HPDF_Dict_AddName | ( | HPDF_Dict | dict, |
const char * | key, | ||
const char * | value | ||
) |
HPDF_STATUS HPDF_Dict_AddNumber | ( | HPDF_Dict | dict, |
const char * | key, | ||
HPDF_INT32 | value | ||
) |
HPDF_STATUS HPDF_Dict_AddReal | ( | HPDF_Dict | dict, |
const char * | key, | ||
HPDF_REAL | value | ||
) |
void HPDF_Dict_Free | ( | HPDF_Dict | dict | ) |
void* HPDF_Dict_GetItem | ( | HPDF_Dict | dict, |
const char * | key, | ||
HPDF_UINT16 | obj_class | ||
) |
const char* HPDF_Dict_GetKeyByObj | ( | HPDF_Dict | dict, |
void * | obj | ||
) |
HPDF_STATUS HPDF_Dict_RemoveElement | ( | HPDF_Dict | dict, |
const char * | key | ||
) |
HPDF_STATUS HPDF_Dict_Write | ( | HPDF_Dict | dict, |
HPDF_Stream | stream, | ||
HPDF_Encrypt | e | ||
) |
void HPDF_Direct_Free | ( | HPDF_Direct | obj | ) |
HPDF_Direct HPDF_Direct_New | ( | HPDF_MMgr | mmgr, |
HPDF_BYTE * | value, | ||
HPDF_UINT | len | ||
) |
HPDF_STATUS HPDF_Direct_SetValue | ( | HPDF_Direct | obj, |
HPDF_BYTE * | value, | ||
HPDF_UINT | len | ||
) |
HPDF_STATUS HPDF_Direct_Write | ( | HPDF_Direct | obj, |
HPDF_Stream | stream | ||
) |
const char* HPDF_Name_GetValue | ( | HPDF_Name | obj | ) |
HPDF_STATUS HPDF_Name_SetValue | ( | HPDF_Name | obj, |
const char * | value | ||
) |
HPDF_STATUS HPDF_Name_Write | ( | HPDF_Name | obj, |
HPDF_Stream | stream | ||
) |
HPDF_Number HPDF_Number_New | ( | HPDF_MMgr | mmgr, |
HPDF_INT32 | value | ||
) |
void HPDF_Number_SetValue | ( | HPDF_Number | obj, |
HPDF_INT32 | value | ||
) |
HPDF_STATUS HPDF_Number_Write | ( | HPDF_Number | obj, |
HPDF_Stream | stream | ||
) |
void HPDF_Obj_ForceFree | ( | HPDF_MMgr | mmgr, |
void * | obj | ||
) |
void HPDF_Obj_Free | ( | HPDF_MMgr | mmgr, |
void * | obj | ||
) |
HPDF_STATUS HPDF_Obj_Write | ( | void * | obj, |
HPDF_Stream | stream, | ||
HPDF_Encrypt | e | ||
) |
HPDF_STATUS HPDF_Obj_WriteValue | ( | void * | obj, |
HPDF_Stream | stream, | ||
HPDF_Encrypt | e | ||
) |
HPDF_Proxy HPDF_Proxy_New | ( | HPDF_MMgr | mmgr, |
void * | obj | ||
) |
HPDF_STATUS HPDF_Real_SetValue | ( | HPDF_Real | obj, |
HPDF_REAL | value | ||
) |
HPDF_STATUS HPDF_Real_Write | ( | HPDF_Real | obj, |
HPDF_Stream | stream | ||
) |
HPDF_INT32 HPDF_String_Cmp | ( | HPDF_String | s1, |
HPDF_String | s2 | ||
) |
void HPDF_String_Free | ( | HPDF_String | obj | ) |
HPDF_String HPDF_String_New | ( | HPDF_MMgr | mmgr, |
const char * | value, | ||
HPDF_Encoder | encoder | ||
) |
HPDF_STATUS HPDF_String_SetValue | ( | HPDF_String | obj, |
const char * | value | ||
) |
HPDF_STATUS HPDF_String_Write | ( | HPDF_String | obj, |
HPDF_Stream | stream, | ||
HPDF_Encrypt | e | ||
) |
HPDF_STATUS HPDF_Xref_Add | ( | HPDF_Xref | xref, |
void * | obj | ||
) |
void HPDF_Xref_Free | ( | HPDF_Xref | xref | ) |
HPDF_XrefEntry HPDF_Xref_GetEntry | ( | HPDF_Xref | xref, |
HPDF_UINT | index | ||
) |
HPDF_XrefEntry HPDF_Xref_GetEntryByObjectId | ( | HPDF_Xref | xref, |
HPDF_UINT | obj_id | ||
) |
HPDF_Xref HPDF_Xref_New | ( | HPDF_MMgr | mmgr, |
HPDF_UINT32 | offset | ||
) |
HPDF_STATUS HPDF_Xref_WriteToStream | ( | HPDF_Xref | xref, |
HPDF_Stream | stream, | ||
HPDF_Encrypt | e | ||
) |