CTABLES: Support setting the title, caption, ...
[pspp] / src / output / spv / spv-writer.h
index 4126a8606db273dc200277af3f870a1a305dc290..4ff63acad3c3a9e89c958ff816de6d6982542ede 100644 (file)
 #ifndef OUTPUT_SPV_WRITER_H
 #define OUTPUT_SPV_WRITER_H 1
 
+struct output_item;
 struct page_setup;
-struct pivot_table;
 struct spv_writer;
-struct text_item;
-
-#ifdef HAVE_CAIRO
-#include <cairo.h>
-#endif
 
 #include "libpspp/compiler.h"
 
@@ -32,21 +27,8 @@ char *spv_writer_open (const char *filename, struct spv_writer **)
   WARN_UNUSED_RESULT;
 char *spv_writer_close (struct spv_writer *) WARN_UNUSED_RESULT;
 
+void spv_writer_write (struct spv_writer *, const struct output_item *);
 void spv_writer_set_page_setup (struct spv_writer *,
                                 const struct page_setup *);
 
-void spv_writer_open_heading (struct spv_writer *, const char *command_id,
-                              const char *label);
-void spv_writer_close_heading (struct spv_writer *);
-
-void spv_writer_put_text (struct spv_writer *, const struct text_item *,
-                          const char *command_id);
-void spv_writer_put_table (struct spv_writer *, const struct pivot_table *);
-
-#ifdef HAVE_CAIRO
-void spv_writer_put_image (struct spv_writer *, cairo_surface_t *);
-#endif
-
-void spv_writer_eject_page (struct spv_writer *);
-
 #endif /* output/spv/spv-writer.h */