X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fspv%2Fspv-writer.h;h=4ff63acad3c3a9e89c958ff816de6d6982542ede;hb=95cde62bdf5210c1c60dad5598a888b864f93161;hp=4126a8606db273dc200277af3f870a1a305dc290;hpb=f8659933d48c5682010d1e1f04ae7acb5cbcd611;p=pspp diff --git a/src/output/spv/spv-writer.h b/src/output/spv/spv-writer.h index 4126a8606d..4ff63acad3 100644 --- a/src/output/spv/spv-writer.h +++ b/src/output/spv/spv-writer.h @@ -17,14 +17,9 @@ #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 -#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 */