xref: /trunk/test/odf-validate/fixtures/fill-others/draw.json (revision 0e16a31d78a652c56c5c0fc79c752f48b9048df9)
1[
2 {
3  "name": "shapes",
4  "expr": "[(s.String, s.FillStyle.value, s.FillColor, s.FillGradient.StartColor, s.FillGradient.EndColor, s.FillTransparence) for i in range(doc.DrawPages.getByIndex(0).Count) for s in [doc.DrawPages.getByIndex(0).getByIndex(i)]]",
5  "expect": [
6   [
7    "draw solid",
8    "SOLID",
9    3385941,
10    8421504,
11    16777215,
12    0
13   ],
14   [
15    "draw grad",
16    "GRADIENT",
17    13625333,
18    16711680,
19    255,
20    0
21   ]
22  ]
23 },
24 {
25  "name": "background",
26  "expr": "[(b.FillStyle.value, b.FillColor, b.FillGradient.StartColor, b.FillGradient.EndColor) for b in [doc.DrawPages.getByIndex(0).Background]] if doc.DrawPages.getByIndex(0).Background is not None else None",
27  "expect": [
28   [
29    "GRADIENT",
30    13625333,
31    0,
32    16777215
33   ]
34  ]
35 }
36]