theme.h 794 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * libxlsxwriter
  3. *
  4. * Copyright 2014-2018, John McNamara, [email protected]. See LICENSE.txt.
  5. *
  6. * theme - A libxlsxwriter library for creating Excel XLSX theme files.
  7. *
  8. */
  9. #ifndef __LXW_THEME_H__
  10. #define __LXW_THEME_H__
  11. #include <stdint.h>
  12. #include "common.h"
  13. /*
  14. * Struct to represent a theme.
  15. */
  16. typedef struct lxw_theme {
  17. FILE *file;
  18. } lxw_theme;
  19. /* *INDENT-OFF* */
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. /* *INDENT-ON* */
  24. lxw_theme *lxw_theme_new();
  25. void lxw_theme_free(lxw_theme *theme);
  26. void lxw_theme_xml_declaration(lxw_theme *self);
  27. void lxw_theme_assemble_xml_file(lxw_theme *self);
  28. /* Declarations required for unit testing. */
  29. #ifdef TESTING
  30. #endif /* TESTING */
  31. /* *INDENT-OFF* */
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. /* *INDENT-ON* */
  36. #endif /* __LXW_THEME_H__ */