X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fspv%2Fspv-table-look.h;h=59fe420dc4e8f97398094da048b4aa30adb8b0ca;hb=5f894a49a00de93333e64db483c193669c937a45;hp=3e817571ddb4d678c143ea800e010d78f4f1073e;hpb=a22f79456929fc7edc9d65234ab05f4966c86679;p=pspp diff --git a/src/output/spv/spv-table-look.h b/src/output/spv/spv-table-look.h index 3e817571dd..59fe420dc4 100644 --- a/src/output/spv/spv-table-look.h +++ b/src/output/spv/spv-table-look.h @@ -17,7 +17,7 @@ #ifndef OUTPUT_SPV_TABLE_LOOK_H #define OUTPUT_SPV_TABLE_LOOK_H 1 -/* TableLook decoder. +/* TableLook file decoder. A TableLook specifies styles for tables and other aspects of output. They exist standalone as .stt files as well as embedded in structure XML, in @@ -26,45 +26,16 @@ #include #include "libpspp/compiler.h" -#include "output/pivot-table.h" -#include "output/table.h" +struct pivot_table_look; struct spvsx_table_properties; -struct spv_table_look - { - /* General properties. */ - bool omit_empty; - int width_ranges[TABLE_N_AXES][2]; /* In 1/96" units. */ - bool row_labels_in_corner; - - /* Footnote display settings. */ - bool show_numeric_markers; - bool footnote_marker_superscripts; - - /* Styles. */ - struct area_style areas[PIVOT_N_AREAS]; - struct table_border_style borders[PIVOT_N_BORDERS]; - - /* Print settings. */ - bool print_all_layers; - bool paginate_layers; - bool shrink_to_width; - bool shrink_to_length; - bool top_continuation, bottom_continuation; - char *continuation; - size_t n_orphan_lines; - }; - -void spv_table_look_destroy (struct spv_table_look *); - char *spv_table_look_decode (const struct spvsx_table_properties *, - struct spv_table_look **) + struct pivot_table_look **) WARN_UNUSED_RESULT; -char *spv_table_look_read (const char *, struct spv_table_look **) +char *spv_table_look_read (const char *, struct pivot_table_look **) + WARN_UNUSED_RESULT; +char *spv_table_look_write (const char *, const struct pivot_table_look *) WARN_UNUSED_RESULT; - -void spv_table_look_install (const struct spv_table_look *, - struct pivot_table *); #endif /* output/spv/spv-table-look.h */