Haru Free PDF Library
hpdf_annotation.h
Go to the documentation of this file.
1 /*
2  * << Haru Free PDF Library >> -- hpdf_annotation.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_ANNOTATION_H
19 #define _HPDF_ANNOTATION_H
20 
21 #include "hpdf_objects.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /*----------------------------------------------------------------------------*/
28 /*------ HPDF_Annotation -----------------------------------------------------*/
29 
30 
33  HPDF_Xref xref,
34  HPDF_AnnotType type,
35  HPDF_Rect rect);
36 
39  HPDF_Xref xref,
40  HPDF_Rect rect);
41 
44  HPDF_Xref xref,
45  HPDF_Rect rect,
46  HPDF_Destination dst);
47 
48 
51  HPDF_Xref xref,
52  HPDF_Rect rect,
53  const char *uri);
54 
55 
58  HPDF_Xref xref,
59  HPDF_Rect rect,
60  HPDF_BOOL tb,
61  HPDF_BOOL np,
62  HPDF_U3D u3d,
63  HPDF_Image ap);
64 
67  HPDF_Xref xref,
68  HPDF_Rect rect,
69  const char *text,
70  HPDF_Encoder encoder,
71  HPDF_AnnotType subtype);
72 
75  HPDF_Xref xref,
76  HPDF_Rect rect,
77  HPDF_Annotation parent);
78 
81  HPDF_Xref xref,
82  HPDF_Rect rect,
84  const char* text,
85  HPDF_Encoder encoder);
86 
89  HPDF_Xref xref,
90  HPDF_Rect rect,
91  const char* text,
92  HPDF_Encoder encoder);
93 
96 
97 #ifdef __cplusplus
98 }
99 #endif /* __cplusplus */
100 
101 #endif /* _HPDF_ANNOTATION_H */
102 
HPDF_Annotation HPDF_3DAnnot_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_Rect rect, HPDF_BOOL tb, HPDF_BOOL np, HPDF_U3D u3d, HPDF_Image ap)
HPDF_Annotation HPDF_URILinkAnnot_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_Rect rect, const char *uri)
HPDF_Annotation HPDF_PopupAnnot_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_Rect rect, HPDF_Annotation parent)
HPDF_Annotation HPDF_MarkupAnnot_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_Rect rect, const char *text, HPDF_Encoder encoder, HPDF_AnnotType subtype)
HPDF_Annotation HPDF_WidgetAnnot_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_Rect rect)
HPDF_Annotation HPDF_LinkAnnot_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_Rect rect, HPDF_Destination dst)
HPDF_BOOL HPDF_Annotation_Validate(HPDF_Annotation annot)
HPDF_Annotation HPDF_ProjectionAnnot_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_Rect rect, const char *text, HPDF_Encoder encoder)
HPDF_Annotation HPDF_StampAnnot_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_Rect rect, HPDF_StampAnnotName name, const char *text, HPDF_Encoder encoder)
HPDF_Annotation HPDF_Annotation_New(HPDF_MMgr mmgr, HPDF_Xref xref, HPDF_AnnotType type, HPDF_Rect rect)
enum _HPDF_AnnotType HPDF_AnnotType
signed int HPDF_BOOL
Definition: hpdf_types.h:89
enum _HPDF_StampAnnotName HPDF_StampAnnotName
Definition: hpdf_objects.h:333
Definition: hpdf_objects.h:421
Definition: hpdf_encoder.h:115
Definition: hpdf_mmgr.h:40
Definition: hpdf_types.h:110
Definition: hpdf_objects.h:542