To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68216
                 Issue #|68216
                 Summary|DrawViewShell::GetMenuState shouldn't rely on non-docu
                        |mented toolbar controller implementation detail
               Component|Drawing
                 Version|1.0.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|af
             Reported by|cd





------- Additional comments from [EMAIL PROTECTED] Mon Aug  7 02:49:30 -0700 
2006 -------
The current implementation of DrawViewShell::GetMenuState doesn't really provide
status information for all slots for all scenarios. The implementation relies on
the fact that the toolbar controller interpret a SfxVoidItem on a checked button
as a "please uncheck" status. Currently the toolbar uses this interpretation. As
this behavior is undocumented and questionable DrawViewShell::GetMenuState()
should send correct state information for all scenarios. At least the following
slots need a defined status (it's possible that this list is not complete!):

- SID_OBJECT_SELECT
- SID_ATTR_CHAR
- SID_DRAW_LINE
- SID_DRAW_RECT
- SID_DRAW_ELLIPSE

- SID_DRAWTBX_ARROWS
- SID_LINE_ARROW_END

- SID_DRAWTBX_3D_OBJECTS
- SID_3D_CUBE
- SID_3D_SPHERE
- SID_3D_CYLINDER
- SID_3D_CONE
- SID_3D_CYRAMID
- SID_3D_TORUS
- SID_3D_SHELL
- SID_3D_HALFSPHERE

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