2 * << Haru Free PDF Library >> -- hpdf_annotation.h
4 * URL: http://libharu.org
6 * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
7 * Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
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.
18 #ifndef _HPDF_ANNOTATION_H
19 #define _HPDF_ANNOTATION_H
21 #include "hpdf_objects.h"
27 /*----------------------------------------------------------------------------*/
28 /*------ HPDF_Annotation -----------------------------------------------------*/
32 HPDF_Annotation_New (HPDF_MMgr mmgr,
39 HPDF_LinkAnnot_New (HPDF_MMgr mmgr,
42 HPDF_Destination dst);
46 HPDF_URILinkAnnot_New (HPDF_MMgr mmgr,
53 HPDF_3DAnnot_New (HPDF_MMgr mmgr,
59 HPDF_MarkupAnnot_New (HPDF_MMgr mmgr,
64 HPDF_AnnotType subtype);
67 HPDF_PopupAnnot_New (HPDF_MMgr mmgr,
70 HPDF_Annotation parent);
73 HPDF_StampAnnot_New (HPDF_MMgr mmgr,
76 HPDF_StampAnnotName name,
78 HPDF_Encoder encoder);
81 HPDF_ProjectionAnnot_New (HPDF_MMgr mmgr,
85 HPDF_Encoder encoder);
88 HPDF_Annotation_Validate (HPDF_Annotation annot);
92 #endif /* __cplusplus */
94 #endif /* _HPDF_ANNOTATION_H */