X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fspv%2Fspv.h;h=f04cb95fe518e46e304405e9344cff1f0f77dcef;hb=d91901f17ae623d757d9c935df153ce1917d5e12;hp=0bf2ff70141545f4161342143f4838dbf25486f7;hpb=9110240b090c04aaf62250c9a80eb5744a712dce;p=pspp diff --git a/src/output/spv/spv.h b/src/output/spv/spv.h index 0bf2ff7014..f04cb95fe5 100644 --- a/src/output/spv/spv.h +++ b/src/output/spv/spv.h @@ -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 *);