Apache OpenOffice (AOO) Bugzilla – Issue 122025
[sidebar] Unlabeled UNO commands
Last modified: 2022-10-28 12:54:36 UTC
- New Writer document - "Tools" - "Customize...", tab "Menus", button "Add..." to open the "Add Commands" dialog - On the "Add Commands" dialog, select "View" under "Category" on the left Under "Commands", on the right, you see a UNO commands without a label: .uno:SwPageColumn. The following commands seem to be unlabeled: Draw/Impress .uno:CurrentBulNumRule .uno:CurrentNumNumRule .uno:FillTransparence .uno:FontDialogEff .uno:LineCap .uno:LineJoint .uno:LineTransparence .uno:ParaOutlineLeft .uno:ParaOutlineRight .uno:ProtectPos .uno:ProtectSize .uno:SvxAutoWidth .uno:SvxFlipHorizontal .uno:SvxFlipVertical .uno:TransAngle .uno:TransRotX .uno:TransRotY Calc .uno:FillTransparence .uno:FontDialogEff .uno:LineCap .uno:LineJoint .uno:LineTransparence .uno:NumberType .uno:ProtectPos .uno:ProtectSize .uno:SCDialogBorder .uno:SvxAutoWidth .uno:SvxFlipHorizontal .uno:SvxFlipVertical .uno:TransAngle .uno:TransRotX .uno:TransRotY .uno:ViewOption Writer .uno:CurrentBulNumRule .uno:CurrentNumNumRule .uno:FillTransparence .uno:FontDialogEff .uno:LineCap .uno:LineJoint .uno:LineTransparence .uno:ObjectWrapDialog .uno:PageSettingDialog .uno:ProtectPos .uno:ProtectSize .uno:SvxFlipHorizontal .uno:SvxFlipVertical .uno:SwPageColumn .uno:TransAngle .uno:TransRotX .uno:TransRotY Possible solutions ================== a) if a command isn't supposed to be added to a toolbar/menu via customization, then this can be marked in the shell interface definition with ToolBoxConfig = FALSE MenuConfig = FALSE b) if a command is supposed to be added to a customized toolbar/menu, then it must have a label. Labels for UNO commands are defined in <Module>Commands.xcu, under main/officecfg/registry/data/org/openoffice/Office/UI Please note that: * if a command is in more than one module, add it to GenericCommands.xcu * add commands under the right category (Commands or Popups) * add commands respecting the alphabetical order, this makes easier to avoid duplicated commands later on c) Nice-to-have: UNO commands should be bound to documentation in helpcontent2
I will work on this issue by providing corresponding names for the new UNO commands (where appropriate) and disabling them by default, because it is currently not intended to have them available for menus and toolbars.
"orw" committed SVN revision 1468878 into trunk: 122025: - UNO commands introduced with sidebar: apply labels and disable them...
solved on trunk for AOO 4.0
"orw" committed SVN revision 1468957 into trunk: 122025: followup - remove usage of removed Slot
forgot to check in the needed changes in module sd - sorry