To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72758
                 Issue #|72758
                 Summary|Chart components cannot be edited correctly from code 
                        |unless the chart is in edit mode
               Component|api
                 Version|OOo 2.0.4
                Platform|All
                     URL|
              OS/Version|Windows 2003
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P1
            Subcomponent|code
             Assigned to|jsc
             Reported by|katahlyn





------- Additional comments from [EMAIL PROTECTED] Tue Dec 19 06:04:10 -0800 
2006 -------
I'm working on Windows 2003 with .Net Framework 2.0 (code written in C#, though 
I don't think that matters).
I open the Calc component from code, insert a chart (and resize it to maximum 
landscape dimension - at this point the title gets resized too to a 42 size), 
set the String property of the Title (also from code), then try to set the 
CharHeight property of the title and it there is no visual change. If I get the 
value of the property it's the one I set. At this point my code enters a 
breakpoint, so I set the chart to edit mode (manually, not from code), and 
resume the debugging. From code: I set the chart property HasSubtitle to true, 
subtitle property String, and subtitle property CharHeight to 13, break again 
and surprise, surprise, the font size is correctly set.
Another frustrating issue that I noticed is that getting the posions of chart 
components, when not in edit mode, leads to wrong values.

---------------------------------------------------------------------
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