xref: /trunk/test/odf-validate/fixtures/note-ref/checks.json (revision 0e16a31d78a652c56c5c0fc79c752f48b9048df9)
1[
2 {
3  "name": "note_refs",
4  "expr": "[(f.ReferenceFieldSource, f.ReferenceFieldPart, f.CurrentPresentation) for f in (lambda e: [e.nextElement() for _ in iter(e.hasMoreElements, False)])(doc.TextFields.createEnumeration()) if f.supportsService('com.sun.star.text.TextField.GetReference')]",
5  "expect": [
6   [
7    2,
8    0,
9    "1"
10   ],
11   [
12    2,
13    1,
14    "??"
15   ],
16   [
17    3,
18    2,
19    "Error: Reference source not found"
20   ]
21  ]
22 }
23]