Haru Free PDF Library
hpdf_info.h
Go to the documentation of this file.
1 /*
2  * << Haru Free PDF Library >> -- hpdf_info.c
3  *
4  * URL: http://libharu.org
5  *
6  * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
7  * Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
8  *
9  * Permission to use, copy, modify, distribute and sell this software
10  * and its documentation for any purpose is hereby granted without fee,
11  * provided that the above copyright notice appear in all copies and
12  * that both that copyright notice and this permission notice appear
13  * in supporting documentation.
14  * It is provided "as is" without express or implied warranty.
15  *
16  */
17 
18 
19 #ifndef _HPDF_INFO_H
20 #define _HPDF_INFO_H
21 
22 #include "hpdf_objects.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 
31  HPDF_InfoType type,
32  const char *value,
33  HPDF_Encoder encoder);
34 
35 
36 const char*
38  HPDF_InfoType type);
39 
40 
43  HPDF_InfoType type,
44  HPDF_Date value);
45 
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49 
50 #endif /* _HPDF_INFO_H */
51 
const char * HPDF_Info_GetInfoAttr(HPDF_Dict info, HPDF_InfoType type)
HPDF_STATUS HPDF_Info_SetInfoDateAttr(HPDF_Dict info, HPDF_InfoType type, HPDF_Date value)
HPDF_STATUS HPDF_Info_SetInfoAttr(HPDF_Dict info, HPDF_InfoType type, const char *value, HPDF_Encoder encoder)
enum _HPDF_InfoType HPDF_InfoType
unsigned long HPDF_STATUS
Definition: hpdf_types.h:94
Date structure.
Definition: hpdf_types.h:135
Definition: hpdf_objects.h:421
Definition: hpdf_encoder.h:115