[Libreoffice-bugs] [Bug 107120] New/update/edit style commands only work with paragraph styles outside of the sidebar

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 8 11:16:19 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=107120

--- Comment #12 from sdc.blanco at youmail.dk ---
With insight from comment 11, it should be possible (and not ad hoc) to:

1. make  new ”shortcuts” in
officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu 

  - using TargetURL pointing to the current .unos that appear in the Styles
menu in Writer.
  - with desired labels for Styles menu in these shortcuts

2. Modify sw/uiconfig/swriter/menubar/menubar.xml to point to these new
shortcuts.

Concretely in relation to Styles menubar in Writer, the new labels could be:

              ”Edit Style…”  → ”Edit Selected Paragraph Style”
    ”Update Selected Style”  → ”Update Selected Paragraph Style”
  ”New Style from Selection” → ”New Paragraph Style from Selection”

too long labels?

Use ”current” instead of ”selected” ?
  (because for paragraph style, only need to have cursor placed in paragraph)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210108/7970588f/attachment.htm>


More information about the Libreoffice-bugs mailing list