OSDN Git Service

binding with libharu.
[putex/putex.git] / src / texsourc / lib / libhpdf / include / hpdf_info.h
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
29 HPDF_STATUS
30 HPDF_Info_SetInfoAttr (HPDF_Dict        info,
31                        HPDF_InfoType    type,
32                        const char  *value,
33                        HPDF_Encoder     encoder);
34
35
36 const char*
37 HPDF_Info_GetInfoAttr (HPDF_Dict      info,
38                        HPDF_InfoType  type);
39
40
41 HPDF_STATUS
42 HPDF_Info_SetInfoDateAttr (HPDF_Dict      info,
43                            HPDF_InfoType  type,
44                            HPDF_Date      value);
45
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49
50 #endif /* _HPDF_INFO_H */
51