xref: /trunk/test/odf-validate/fixtures/chart-empty/checks.json (revision 0e16a31d78a652c56c5c0fc79c752f48b9048df9)
1[
2 {
3  "name": "chart_summary",
4  "expr": "[(n, o.EmbeddedObject.HasMainTitle, o.EmbeddedObject.Title.String, o.EmbeddedObject.hasInternalDataProvider(), o.EmbeddedObject.Diagram is not None) for sh in [doc.Sheets.getByIndex(0)] for n in sh.Charts.ElementNames for o in [sh.Charts.getByName(n)]]"
5 },
6 {
7  "name": "chart_ranges",
8  "expr": "[(n, [(a.Sheet,a.StartColumn,a.StartRow,a.EndColumn,a.EndRow) for a in sh.Charts.getByName(n).Ranges]) for sh in [doc.Sheets.getByIndex(0)] for n in sh.Charts.ElementNames]"
9 }
10]