hpdf_info.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * << Haru Free PDF Library >> -- hpdf_info.c
  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_INFO_H
  18. #define _HPDF_INFO_H
  19. #include "hpdf_objects.h"
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. HPDF_STATUS
  24. HPDF_Info_SetInfoAttr (HPDF_Dict info,
  25. HPDF_InfoType type,
  26. const char *value,
  27. HPDF_Encoder encoder);
  28. const char*
  29. HPDF_Info_GetInfoAttr (HPDF_Dict info,
  30. HPDF_InfoType type);
  31. HPDF_STATUS
  32. HPDF_Info_SetInfoDateAttr (HPDF_Dict info,
  33. HPDF_InfoType type,
  34. HPDF_Date value);
  35. #ifdef __cplusplus
  36. }
  37. #endif /* __cplusplus */
  38. #endif /* _HPDF_INFO_H */