Lines Matching refs:P
210 P = "application/vnd.oasis.opendocument."
247 pkg("good-" + m, P + m, content(child))
248 pkg("good-formula", P + "formula", MATHDOC)
251 …pkg("good-embedded", P + "text", None, files=sub(P + "chart", content("chart")), manifest=ent(P + …
252 pkg("good-embedded-math", P + "text", None, files=sub("", MATHDOC), manifest=ent(P + "formula"))
253 flat("good-flat", P + "text")
254 …for m, ru in (("application/x-bogus", "doctype-unknown-mimetype"), (P + "text\n", "doctype-unknown…
256 …(P + "text-web", "doctype-unlisted-mimetype"), (P + "formula-template", "doctype-unlisted-mimetype…
259 pkg("body-mismatch", P + "text", content("spreadsheet"), [("shall", "doctype-body")])
260 pkg("body-empty", P + "text", content(None), [("shall", "doctype-body")])
261 …pkg("root-styles", P + "text", content(root="office:document-styles"), [("shall", "doctype-root")])
262 pkg("formula-wrong-root", P + "formula", content(), [("shall", "doctype-root")])
263 pkg("math-in-text", P + "text", MATHDOC, [("shall", "doctype-root")])
264 …pkg("only-styles", P + "text", None, [("shall", "doctype-no-body")], files={"styles.xml": content(…
265 …pkg("only-meta", P + "text", None, [("shall", "doctype-no-content"), ("shall", "doctype-no-body")]…
266 pkg("malformed", P + "text", "<office:document-content", [("shall", "doctype-malformed")])
267 …pkg("sub-body", P + "text", None, [("should", "sub-doctype-body")], files=sub(P + "chart", content…
268 …pkg("sub-root", P + "text", None, [("should", "sub-doctype-root")], files=sub(P + "formula", conte…
271 flat("flat-formula-mime", P + "formula", expect=[("shall", "doctype-unknown-mimetype")])
272 flat("flat-body", P + "text", "presentation", [("shall", "doctype-body")])