/* 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;
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 *);