forked from libharu/libharu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhpdf_namedict.h
76 lines (55 loc) · 1.77 KB
/
hpdf_namedict.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
* << Haru Free PDF Library >> -- hpdf_namedict.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <[email protected]>
* Copyright (c) 2007-2009 Antony Dovgal <[email protected]>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_NAMEDICT_H
#define _HPDF_NAMEDICT_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_NameDict
HPDF_NameDict_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
HPDF_NameTree
HPDF_NameDict_GetNameTree (HPDF_NameDict namedict,
HPDF_NameDictKey key);
HPDF_STATUS
HPDF_NameDict_SetNameTree (HPDF_NameDict namedict,
HPDF_NameDictKey key,
HPDF_NameTree tree);
HPDF_BOOL
HPDF_NameDict_Validate (HPDF_NameDict namedict);
/*------- NameTree -------*/
HPDF_NameTree
HPDF_NameTree_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
HPDF_STATUS
HPDF_NameTree_Add (HPDF_NameTree tree,
HPDF_String name,
void *obj);
HPDF_BOOL
HPDF_NameTree_Validate (HPDF_NameTree tree);
/*------- EmbeddedFile -------*/
HPDF_EmbeddedFile
HPDF_EmbeddedFile_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
const char *file);
HPDF_BOOL
HPDF_EmbeddedFile_Validate (HPDF_EmbeddedFile emfile);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_NAMEDICT_H */