Haru Free PDF Library
hpdf_namedict.h
Go to the documentation of this file.
1 /*
2  * << Haru Free PDF Library >> -- hpdf_namedict.h
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 #ifndef _HPDF_NAMEDICT_H
19 #define _HPDF_NAMEDICT_H
20 
21 #include "hpdf_objects.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 
30  HPDF_Xref xref);
31 
34  HPDF_NameDictKey key);
35 
38  HPDF_NameDictKey key,
39  HPDF_NameTree tree);
40 
43 
44 
45 /*------- NameTree -------*/
46 
49  HPDF_Xref xref);
50 
53  HPDF_String name,
54  void *obj);
55 
58 
59 
60 /*------- EmbeddedFile -------*/
61 
64  HPDF_Xref xref,
65  const char *file);
66 
69 
70 
71 #ifdef __cplusplus
72 }
73 #endif /* __cplusplus */
74 
75 #endif /* _HPDF_NAMEDICT_H */
76 
HPDF_NameTree HPDF_NameTree_New(HPDF_MMgr mmgr, HPDF_Xref xref)
HPDF_EmbeddedFile HPDF_EmbeddedFile_New(HPDF_MMgr mmgr, HPDF_Xref xref, const char *file)
HPDF_NameDict HPDF_NameDict_New(HPDF_MMgr mmgr, HPDF_Xref xref)
HPDF_STATUS HPDF_NameTree_Add(HPDF_NameTree tree, HPDF_String name, void *obj)
HPDF_BOOL HPDF_EmbeddedFile_Validate(HPDF_EmbeddedFile emfile)
HPDF_NameTree HPDF_NameDict_GetNameTree(HPDF_NameDict namedict, HPDF_NameDictKey key)
HPDF_BOOL HPDF_NameDict_Validate(HPDF_NameDict namedict)
HPDF_BOOL HPDF_NameTree_Validate(HPDF_NameTree tree)
HPDF_STATUS HPDF_NameDict_SetNameTree(HPDF_NameDict namedict, HPDF_NameDictKey key, HPDF_NameTree tree)
signed int HPDF_BOOL
Definition: hpdf_types.h:89
enum _HPDF_NameDictKey HPDF_NameDictKey
unsigned long HPDF_STATUS
Definition: hpdf_types.h:94
Definition: hpdf_objects.h:421
Definition: hpdf_mmgr.h:40
Definition: hpdf_objects.h:247
Definition: hpdf_objects.h:542