Hi!
Does anybody know how to insert math formula with odfpy? I am trying this
Is there any documentation or samples?
Does anybody know how to insert math formula with odfpy? I am trying this
What is wrong?frame = odf.draw.Frame(relwidth = u"scalemin", relheight = u"scalemin",
anchortype = u"paragraph")
p = P()
doc.text.addElement(p)
obj = odf.draw.Object()
element = odf.math.Math()
# simple formula
element.addText(u'50 over 50')
obj.addElement(element)
frame.addElement(obj)
p.addElement(frame)
Is there any documentation or samples?