Home
last modified time | relevance | path

Searched refs:tryf (Results 1 – 1 of 1) sorted by relevance

/trunk/test/odf-validate/
H A Ddump7.py23 def tryf(f, d="n/a"): function
26 def has(doc, s): return tryf(lambda: doc.supportsService(s), False)
30 …d = {"t": tryf(lambda: s.ShapeType), "name": tryf(lambda: s.Name), "pos": v(tryf(lambda: s.Positio…
31 "text": tryf(lambda: s.String[:80]), "p": gs(s, SHAPE_PROPS)}
36 …d["ole"] = {"cls": g(s, "CLSID"), "internal": g(s, "IsInternal"), "model": embedded(tryf(lambda: s…
38 if tryf(lambda: s.supportsService("com.sun.star.drawing.GroupShape"), False) and depth < 4:
48 …if tryf(lambda: e.supportsService("com.sun.star.form.FormComponents"), False) or tryf(lambda: e.su…
49 out.append(["FORM", tryf(lambda: e.Name)]); walk(e)
51 names = tryf(lambda: [p.Name for p in e.getPropertySetInfo().getProperties()], [])
52 …out.append([tryf(lambda: e.Name), tryf(lambda: e.ImplementationName), g(e, "ObjIDinMSO") if "ObjID…
[all …]