xref: /trunk/test/odf-validate/fixtures/hyphen-count/checks.json (revision 0e16a31d78a652c56c5c0fc79c752f48b9048df9)
1[{"name":"standard_counts","expr":"[doc.StyleFamilies.getByName('ParagraphStyles').getByName('Standard').ParaHyphenationMaxLeadingChars, doc.StyleFamilies.getByName('ParagraphStyles').getByName('Standard').ParaHyphenationMaxTrailingChars]","expect":[0,0]},
2 {"name":"styles_with_nonzero","expr":"len([s for s in doc.StyleFamilies.getByName('ParagraphStyles').ElementNames if doc.StyleFamilies.getByName('ParagraphStyles').getByName(s).ParaHyphenationMaxLeadingChars != 0 or doc.StyleFamilies.getByName('ParagraphStyles').getByName(s).ParaHyphenationMaxTrailingChars != 0])","expect":0}]
3