diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-12-18 22:25:00 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-12-19 03:56:35 +0100 |
commit | 33e3184a74dee2ee21c8229965bf19bd487c336d (patch) | |
tree | 90a91e9ba06ba37d4dfe978d070475735288a7fc /source/text/scalc | |
parent | 12ca81577572bb0bb3f974956d6ea174cdc3dff8 (diff) |
tdf#155876 UI cmds Calc-Sheet menu (33)
+ Sheet menu for Calc: manage Comments submenu
+ untangle Calc comments from Writer
+ refactoring
Change-Id: I22b8e79b96d72b8918da04bc802cdd29c5d9dba0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160958
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit afcd5a5df56c3d4ad3b265572ff1a343c4e4ba18)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160936
Diffstat (limited to 'source/text/scalc')
-rw-r--r-- | source/text/scalc/00/sheet_menu.xhp | 82 | ||||
-rw-r--r-- | source/text/scalc/01/DeleteAllNotes.xhp | 32 | ||||
-rw-r--r-- | source/text/scalc/01/DeleteNote.xhp | 32 | ||||
-rw-r--r-- | source/text/scalc/01/HideNote.xhp | 31 | ||||
-rw-r--r-- | source/text/scalc/01/SheetCommentMenu.xhp | 34 | ||||
-rw-r--r-- | source/text/scalc/01/ShowNote.xhp | 31 |
6 files changed, 238 insertions, 4 deletions
diff --git a/source/text/scalc/00/sheet_menu.xhp b/source/text/scalc/00/sheet_menu.xhp index ca278f7fbf..7cd27e75cc 100644 --- a/source/text/scalc/00/sheet_menu.xhp +++ b/source/text/scalc/00/sheet_menu.xhp @@ -362,10 +362,84 @@ <paragraph role="paragraph" id="par_id221702167401368">On the <menuitem>Layout</menuitem> menu of the <menuitem>Layout</menuitem> tab, choose <menuitem>Column Break</menuitem>.</paragraph> </section> +<section id="cell_comment_menu"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id511702935011731">Choose <menuitem>Sheet - Cell Comments</menuitem>.</paragraph> +</section> + <paragraph role="paragraph" id="par_id281631903136031"><variable id="edit_comment">Choose <menuitem>Sheet - Cell Comments - Edit Comment</menuitem></variable></paragraph> -<paragraph role="paragraph" id="par_id641631903140705"><variable id="hide_comment">Choose <menuitem>Sheet - Cell Comments - Hide Comment</menuitem></variable></paragraph> -<paragraph role="paragraph" id="par_id611631903144777"><variable id="show_comment">Choose <menuitem>Sheet - Cell Comments - Show Comment</menuitem></variable></paragraph> -<paragraph role="paragraph" id="par_id961631903149304"><variable id="delete_comment">Choose <menuitem>Sheet - Cell Comments - Delete Comment</menuitem></variable></paragraph> -<paragraph role="paragraph" id="par_id471631903160977"><variable id="delete_all_comments">Choose <menuitem>Sheet - Cell Comments - Delete All Comments</menuitem></variable></paragraph> + +<section id="hide_comment"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id641631903140705">Choose <menuitem>Sheet - Cell Comments - Hide Comment</menuitem></paragraph> + <embed href="text/shared/00/00000004.xhp#from_context"/> + <paragraph role="paragraph" id="par_id591702936735244">Choose <menuitem>Hide Comment</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_toolbars"/> + <table id="tab_id811702937087574"> + <tablerow> + <tablecell> + <paragraph id="par_id311702937087575" role="paragraph"><image src="cmd/lc_hidenote.svg" id="img_id591702937087576" width="1cm" height="1cm"><alt id="alt_id441702937087577">Icon Hide Comment</alt></image></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id161702937087579" role="paragraph">Hide Comment</paragraph> + </tablecell> + </tablerow> + </table> +</section> +<section id="show_comment"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id611631903144777">Choose <menuitem>Sheet - Cell Comments - Show Comment</menuitem></paragraph> + <embed href="text/shared/00/00000004.xhp#from_context"/> + <paragraph role="paragraph" id="par_id711702938268509">Choose <menuitem>Show Comment</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_toolbars"/> + <table id="tab_id81702938290459"> + <tablerow> + <tablecell> + <paragraph id="par_id161702938290460" role="paragraph"><image src="cmd/lc_shownote.svg" id="img_id21702938290461" width="1cm" height="1cm"><alt id="alt_id91702938290462">Icon Show Comment</alt></image></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841702938290463" role="paragraph">Show Comment</paragraph> + </tablecell> + </tablerow> + </table> +</section> + +<section id="delete_comment"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id961631903149304">Choose <menuitem>Sheet - Cell Comments - Delete Comment</menuitem></paragraph> + <embed href="text/shared/00/00000004.xhp#from_context"/> + <paragraph role="paragraph" id="par_id181702947009943">Choose <menuitem>Delete Comment</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_tabUI"/> + <paragraph role="paragraph" id="par_id381702947173325">Choose <menuitem>Review - Delete Comment</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_toolbars"/> + <table id="tab_id451702947038210"> + <tablerow> + <tablecell> + <paragraph id="par_id961702947038211" role="paragraph"><image src="cmd/lc_deleteannotation.svg" id="img_id361702947038212" width="1cm" height="1cm"><alt id="alt_id681702947038213">Icon Delete Comment</alt></image></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id221702947038214" role="paragraph">Delete Comment</paragraph> + </tablecell> + </tablerow> + </table> +</section> + +<section id="delete_all_comments"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id471631903160977">Choose <menuitem>Sheet - Cell Comments - Delete All Comments</menuitem></paragraph> + <embed href="text/shared/00/00000004.xhp#from_tabUI"/> + <paragraph role="paragraph" id="par_id201702947317948">Choose <menuitem>Review - Delete All Comments</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_toolbars"/> + <table id="tab_id291702947343457"> + <tablerow> + <tablecell> + <paragraph id="par_id371702947343458" role="paragraph"><image src="cmd/lc_deleteallannotation.svg" id="img_id221702947343459" width="1cm" height="1cm"><alt id="alt_id941702947343460">Icon Delete All Comments</alt></image></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id31702947343462" role="paragraph">Delete All Comments</paragraph> + </tablecell> + </tablerow> + </table> +</section> </body> </helpdocument> diff --git a/source/text/scalc/01/DeleteAllNotes.xhp b/source/text/scalc/01/DeleteAllNotes.xhp new file mode 100644 index 0000000000..9285224807 --- /dev/null +++ b/source/text/scalc/01/DeleteAllNotes.xhp @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="textscalc01DeleteAllNotesxhp" indexer="include" status="PUBLISH"> + <title id="tit">Delete All Comments</title> + <filename>/text/scalc/01/DeleteAllNotes.xhp</filename> + </topic> + </meta> + <body> + +<bookmark branch="hid/.uno:DeleteAllNotes" id="bm_id841702947646882" localize="false"/> + <section id="delete_all_notes"> + <h1 id="hd_id361702947725743"><variable id="h1"><link href="text/scalc/01/DeleteAllNotes.xhp">Delete All Comments</link></variable></h1> + <paragraph id="par_id731702947725744" role="paragraph">Deletes all cell notes of the current sheet.</paragraph> + </section> + <section id="howtoget"> + <embed href="text/scalc/00/sheet_menu.xhp#delete_all_comments"/> + </section> + <section id="relatedtopics"> + <paragraph role="paragraph" id="par_id321702948452216" localize="false"><embedvar href="text/scalc/01/SheetCommentMenu.xhp#h1" markup="ignore"/></paragraph> + </section> +</body> +</helpdocument> diff --git a/source/text/scalc/01/DeleteNote.xhp b/source/text/scalc/01/DeleteNote.xhp new file mode 100644 index 0000000000..979de1d3e5 --- /dev/null +++ b/source/text/scalc/01/DeleteNote.xhp @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="textscalc01DeleteNotexhp" indexer="include" status="PUBLISH"> + <title id="tit">Delete Comment</title> + <filename>/text/scalc/01/DeleteNote.xhp</filename> + </topic> + </meta> + <body> + +<bookmark branch="hid/.uno:DeleteNote" id="bm_id921702946751041" localize="false"/> + <section id="delete_note"> + <h1 id="hd_id801702946820149"><variable id="h1"><link href="text/scalc/01/DeleteNote.xhp">Delete Comment</link></variable></h1> + <paragraph id="par_id501702946820151" role="paragraph">Deletes the comment of the cell.</paragraph> + </section> + <section id="howtoget"> + <embed href="text/scalc/00/sheet_menu.xhp#delete_comment"/> + </section> + <section id="relatedtopics"> + <paragraph role="paragraph" id="par_id321702948452216" localize="false"><embedvar href="text/scalc/01/SheetCommentMenu.xhp#h1" markup="ignore"/></paragraph> + </section> +</body> +</helpdocument> diff --git a/source/text/scalc/01/HideNote.xhp b/source/text/scalc/01/HideNote.xhp new file mode 100644 index 0000000000..2449b9e34c --- /dev/null +++ b/source/text/scalc/01/HideNote.xhp @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="text/scalc/01/HideNote.xhp" indexer="include" status="PUBLISH"> + <title id="tit">Hide Comment</title> + <filename>/text/scalc/01/HideNote.xhp</filename> + </topic> + </meta> +<body> + <bookmark branch="hid/.uno:HideNote" id="bm_id571702936274627" localize="false"/> + <section id="hide_note"> + <h1 id="hd_id531702936339053"><variable id="h1"><link href="text/scalc/01/HideNote.xhp">Hide Comment</link></variable></h1> + <paragraph id="par_id921702936339055" role="paragraph">Hides the comment of the cell.</paragraph> + </section> + <section id="howtoget"> + <embed href="text/scalc/00/sheet_menu.xhp#hide_comment"/> + </section> + <section id="relatedtopics"> + <paragraph role="paragraph" id="par_id321702948452216" localize="false"><embedvar href="text/scalc/01/SheetCommentMenu.xhp#h1" markup="ignore"/></paragraph> + </section> +</body> +</helpdocument> diff --git a/source/text/scalc/01/SheetCommentMenu.xhp b/source/text/scalc/01/SheetCommentMenu.xhp new file mode 100644 index 0000000000..51892e3aa1 --- /dev/null +++ b/source/text/scalc/01/SheetCommentMenu.xhp @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="textscalc01SheetCommentMenuxhp" indexer="include" status="PUBLISH"> + <title id="tit">Comment Menu</title> + <filename>/text/scalc/01/SheetCommentMenu.xhp</filename> + </topic> + </meta> + <body> +<bookmark branch="hid/.uno:SheetCommentMenu" id="bm_id321702927094846" localize="false"/> + <section id="comment_menu"> + <h1 id="hd_id481702927167722"><variable id="h1"><link href="text/scalc/01/SheetCommentMenu.xhp">Sheet Comment Menu</link></variable></h1> + <paragraph id="par_id271702927167724" role="paragraph">Opens a submenu with comments commands.</paragraph> + </section> + <section id="howtoget"> + <embed href="text/scalc/00/sheet_menu.xhp#cell_comment_menu"/> + </section> + <embed href="text/shared/01/04050000.xhp#comment"/> + <embed href="text/scalc/01/ShowNote.xhp#show_note"/> + <embed href="text/scalc/01/HideNote.xhp#hide_note"/> + <embed href="text/scalc/01/DeleteNote.xhp#delete_note"/> + <embed href="text/scalc/01/DeleteAllNotes.xhp#delete_all_notes"/> +</body> +</helpdocument> + diff --git a/source/text/scalc/01/ShowNote.xhp b/source/text/scalc/01/ShowNote.xhp new file mode 100644 index 0000000000..91e02f0fa4 --- /dev/null +++ b/source/text/scalc/01/ShowNote.xhp @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="textscalc01ShowNotexhp" indexer="include" status="PUBLISH"> + <title id="tit">Show Comment</title> + <filename>/text/scalc/01/ShowNote.xhp</filename> + </topic> + </meta> +<body> + <bookmark branch="hid/.uno:ShowNote" id="bm_id571702936274627" localize="false"/> + <section id="show_note"> + <h1 id="hd_id531702936339053"><variable id="h1"><link href="text/scalc/01/ShowNote.xhp">Show Comment</link></variable></h1> + <paragraph id="par_id921702936339055" role="paragraph">Shows the comment of the cell.</paragraph> + </section> + <section id="howtoget"> + <embed href="text/scalc/00/sheet_menu.xhp#show_comment"/> + </section> + <section id="relatedtopics"> + <paragraph role="paragraph" id="par_id321702948452216" localize="false"><embedvar href="text/scalc/01/SheetCommentMenu.xhp#h1" markup="ignore"/></paragraph> + </section> +</body> +</helpdocument> |