hpdf_outline.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * << Haru Free PDF Library >> -- hpdf_outline.h
  3. *
  4. * URL: http://libharu.org
  5. *
  6. * Copyright (c) 1999-2006 Takeshi Kanno <[email protected]>
  7. * Copyright (c) 2007-2009 Antony Dovgal <[email protected]>
  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. #ifndef _HPDF_OUTLINE_H
  18. #define _HPDF_OUTLINE_H
  19. #include "hpdf_objects.h"
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. /*----------------------------------------------------------------------------*/
  24. /*----- HPDF_Outline ---------------------------------------------------------*/
  25. HPDF_Outline
  26. HPDF_OutlineRoot_New (HPDF_MMgr mmgr,
  27. HPDF_Xref xref);
  28. HPDF_Outline
  29. HPDF_Outline_New (HPDF_MMgr mmgr,
  30. HPDF_Outline parent,
  31. const char *title,
  32. HPDF_Encoder encoder,
  33. HPDF_Xref xref);
  34. HPDF_Outline
  35. HPDF_Outline_GetFirst (HPDF_Outline outline);
  36. HPDF_Outline
  37. HPDF_Outline_GetLast (HPDF_Outline outline);
  38. HPDF_Outline
  39. HPDF_Outline_GetPrev(HPDF_Outline outline);
  40. HPDF_Outline
  41. HPDF_Outline_GetNext (HPDF_Outline outline);
  42. HPDF_Outline
  43. HPDF_Outline_GetParent (HPDF_Outline outline);
  44. HPDF_BOOL
  45. HPDF_Outline_GetOpened (HPDF_Outline outline);
  46. HPDF_BOOL
  47. HPDF_Outline_Validate (HPDF_Outline obj);
  48. #ifdef __cplusplus
  49. }
  50. #endif /* __cplusplus */
  51. #endif /* _HPDF_OUTLINE_H */