To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=62089 Issue #:|62089 Summary:|size of math formula doesn't update properly Component:|Formula editor Version:|OOo 2.0.1 Platform:|PC URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|ui Assigned to:|mru Reported by:|cdeval
------- Additional comments from [EMAIL PROTECTED] Wed Feb 15 05:59:02 -0800 2006 ------- Hello, to see the problem, just run the following macro "step by step" on OOo v1.1.5 (it works, the size of the formula changes properly) and after on OOo v2.0.1 (the size of formula doesn't update and instruction "setmodified(TRUE)" doesn't change anything). The macro : Sub Main oViewCursor = ThisComponent.getCurrentController().getViewCursor() oViewCursor.Charheight=12 oViewCursor.Text.insertString(oViewCursor, "toto", FALSE) oViewCursor.goLeft(4,True) oDesktop = createUnoService("com.sun.star.frame.Desktop") document = ThisComponent.CurrentController.Frame dim Array(0) as new com.sun.star.beans.PropertyValue dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") dispatcher.executeDispatch(document, ".uno:InsertObjectStarMath", "", 0, Array()) obj=ThisComponent.getCurrentSelection() 'changement du texte de la formule obj.EmbeddedObject.formula="{1}over{3}" 'changement de la taille obj.EmbeddedObject.BaseFontHeight=25 'rafraichissement obj.EmbeddedObject.setmodified(TRUE) dispatcher.executeDispatch(document, ".uno:Escape", "", 0, Array()) dispatcher.executeDispatch(document, ".uno:ResetAttributes", "", 0, Array()) End Sub It's a big problem for me and thousands teachers who use my program CmathOOo to type math easily (for details see http://cdeval.free.fr/article.php3?id_article=83). I'm unable to upgrade to OOo version 2.0 with this bug. Thank's a lot for your help. --------------------------------------------------------------------- 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]