output: Rename page-eject-item to page-break-item.
[pspp] / src / output / spv / spv-table-look.h
index 3e817571ddb4d678c143ea800e010d78f4f1073e..59fe420dc4e8f97398094da048b4aa30adb8b0ca 100644 (file)
@@ -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
 
 #include <stdbool.h>
 #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 */