#! /bin/sh
-# Parse the structure members that do not represent models or graphs
-# and that are not page setups (which are always the first structure member).
+# Parse the structure members that do not represent models or graphs.
# Also skip those with borderProperties, which indicate the non-"light"
# format.
lightTables=`ls -1 unzipped/*/*.xml |grep -vE 'notes|table|warning|chart|model' \
- | xargs grep -EL '<([a-z]*:)?(model|graph)'`
+ | xargs grep -EL '<([a-z]*:)?(model|graph|borderProperties)'`
if test -n "$1"; then
for d in $lightTables; do
}
}
-static xmlNode *
+static __attribute__((unused)) xmlNode *
find_page_setup (xmlNode *node)
{
for (; node; node = node->next)
}
xmlNode *root = xmlDocGetRootElement(doc);
+
+#if 0
+ /* Limit what we look at to pageSetup node and below. */
root = find_page_setup(root);
if (!root)
return 0;
root->next = NULL;
+#endif
if (!strcmp(argv[2], "containment"))
print_containment (root);