To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59205





------- Additional comments from [EMAIL PROTECTED] Thu Mar  2 02:30:27 -0800 
2006 -------
Basic macro illustrating the issue:

============================
Sub Main

        oDoc = ThisComponent
        
        TEObj = oDoc.createInstance("com.sun.star.text.TextEmbeddedObject")
        TEObj.setPropertyValue("CLSID", "078B7ABA-54FC-457F-8551-6147e776a997")
        TEObj.setPropertyValue("AnchorType",
com.sun.star.text.TextContentAnchorType.AS_CHARACTER)
        
        xText = oDoc.getText()
        xRange = xText.getEnd()
        xText.insertTextContent(xRange, TEObj, false)
        
        math = TEObj.getEmbeddedObject()
        math.setPropertyValue("Formula", "{x+y} over z")

End Sub
============================


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to