vizml work
[pspp] / src / output / spv / spv.h
index 0bf2ff70141545f4161342143f4838dbf25486f7..f04cb95fe518e46e304405e9344cff1f0f77dcef 100644 (file)
@@ -131,9 +131,14 @@ struct spv_item
     /* SPV_ITEM_TABLE only. */
     struct pivot_table *table;    /* NULL if not yet loaded. */
     struct spv_legacy_properties *legacy_properties;
+    char *subtype;
+
+    /* SPV_ITEM_GRAPH only. */
+    bool graph;
+
+    /* SPV_ITEM_TABLE and SPV_ITEM_GRAPH only. */
     char *bin_member;
     char *xml_member;
-    char *subtype;
 
     /* SPV_ITEM_TEXT only.  */
     struct pivot_value *text;
@@ -159,6 +164,9 @@ struct spv_item *spv_item_get_child (const struct spv_item *, size_t idx);
 bool spv_item_is_table (const struct spv_item *);
 struct pivot_table *spv_item_get_table (const struct spv_item *);
 
+bool spv_item_is_graph (const struct spv_item *);
+void spv_item_get_graph (const struct spv_item *);
+
 bool spv_item_is_text (const struct spv_item *);
 const struct pivot_value *spv_item_get_text (const struct spv_item *);