To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=70425 Issue #|70425 Summary|cannot disable Edit in context menu Component|Word processor Version|OOo 2.0.4 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|ui Assigned to|mru Reported by|pulsifer
------- Additional comments from [EMAIL PROTECTED] Sat Oct 14 06:59:49 -0700 2006 ------- If you open a document read-only in Writer, there are two ways to switch from a read-only view to an edit view. One is to use the "Edit File" menu or toolbar button. A second is to right click on the document window which brings up a context menu, and then select "Edit" in the context menu. Both of these two methods appear to invoke the internal command EditDoc. This command can be disabled using the configuration settings in org.openoffice.Office.Commands/Execute/Disabled (see http://api.openoffice.org/docs/DevelopersGuide/Components/Components.xhtml#1_7_4_Disable_Commands). Disabling the EditDoc command successfully disables the "Edit File" menu and toolbar items, but does not disable "Edit" in the content menu. FYI, the context menu is MN_READONLY_POPUP and the Edit menu item is MN_READONLY_EDITDOC. The command EditDoc corresponds to SID_EDITDOC. There appears to be code in sw\source\ui\docvw\romenu.cxx, function SwReadOnlyPopup::SwReadOnlyPopup, which is intended to check if SID_EDITDOC should be enabled, but apparently it is not detecting the status of EditDoc in org.openoffice.Office.Commands/Execute/Disabled. --------------------------------------------------------------------- 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]
