1 /* 2 * << Haru Free PDF Library >> -- hpdf_outline.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_OUTLINE_H 19 #define _HPDF_OUTLINE_H 20 21 #include "hpdf_objects.h" 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 28 /*----------------------------------------------------------------------------*/ 29 /*----- HPDF_Outline ---------------------------------------------------------*/ 30 31 HPDF_Outline 32 HPDF_OutlineRoot_New (HPDF_MMgr mmgr, 33 HPDF_Xref xref); 34 35 36 HPDF_Outline 37 HPDF_Outline_New (HPDF_MMgr mmgr, 38 HPDF_Outline parent, 39 const char *title, 40 HPDF_Encoder encoder, 41 HPDF_Xref xref); 42 43 44 HPDF_Outline 45 HPDF_Outline_GetFirst (HPDF_Outline outline); 46 47 48 HPDF_Outline 49 HPDF_Outline_GetLast (HPDF_Outline outline); 50 51 52 HPDF_Outline 53 HPDF_Outline_GetPrev(HPDF_Outline outline); 54 55 56 HPDF_Outline 57 HPDF_Outline_GetNext (HPDF_Outline outline); 58 59 60 HPDF_Outline 61 HPDF_Outline_GetParent (HPDF_Outline outline); 62 63 64 HPDF_BOOL 65 HPDF_Outline_GetOpened (HPDF_Outline outline); 66 67 68 69 HPDF_BOOL 70 HPDF_Outline_Validate (HPDF_Outline obj); 71 72 #ifdef __cplusplus 73 } 74 #endif /* __cplusplus */ 75 76 #endif /* _HPDF_OUTLINE_H */ 77