source/text/shared/00/00000407.xhp |   32 +++++++++++++++++++++++++-------
 source/text/shared/01/07010000.xhp |   17 +++++++----------
 source/text/shared/01/07080000.xhp |   13 +++++--------
 source/text/shared/02/10100000.xhp |   28 +++++++++++++++++++++++-----
 4 files changed, 60 insertions(+), 30 deletions(-)

New commits:
commit e5460f4e23d7a0fa30b990d21fb8be8dd4cdb9c3
Author:     Olivier Hallot <[email protected]>
AuthorDate: Tue Nov 11 18:47:58 2025 -0300
Commit:     Olivier Hallot <[email protected]>
CommitDate: Tue Nov 11 22:49:52 2025 +0100

    tdf#159505 Add HelpId to Window menu doc list
    
    Help part
    
    + refactor and update on how to get.
    
    Change-Id: Icd019225f655f168cb849a5c8e9d2d52b56ba073
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/193828
    Reviewed-by: Olivier Hallot <[email protected]>
    Tested-by: Jenkins

diff --git a/source/text/shared/00/00000407.xhp 
b/source/text/shared/00/00000407.xhp
index 042d4d4b4b..5a62d9e96b 100644
--- a/source/text/shared/00/00000407.xhp
+++ b/source/text/shared/00/00000407.xhp
@@ -1,6 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,11 +16,10 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
-
 <helpdocument version="1.0">
 <meta>
 <topic id="textshared0000000407xml" indexer="exclude" status="PUBLISH">
-<title xml-lang="en-US" id="tit">Window Menu</title>
+<title id="tit">Window Menu</title>
 <filename>/text/shared/00/00000407.xhp</filename>
 </topic>
 <history>
@@ -30,9 +27,30 @@
 </history>
 </meta>
 <body>
-
   <h1 id="hd_id3154349">Window Menu</h1>
-  <paragraph role="paragraph" id="par_id3083278" xml-lang="en-US"><variable 
id="window">Choose <emph>Window - New Window</emph>.</variable></paragraph>
-  <paragraph role="paragraph" id="par_id3154545" xml-lang="en-US"><variable 
id="liste">Choose <emph>Window - List of open 
documents</emph>.</variable></paragraph>
+
+  <section id="window1">
+    <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+    <paragraph role="paragraph" id="par_id3083278"><variable 
id="window">Choose <emph>Window - New Window</emph>.</variable></paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+    <paragraph role="paragraph" id="par_id401762891352865">On the 
<menuitem>View</menuitem> tab, choose <menuitem>New 
Window</menuitem>.</paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+    <table id="tab_id491762891443118">
+      <tablerow>
+        <tablecell>
+          <paragraph id="par_id961762891443118" role="paragraph"><image 
src="cmd/lc_newwindow.svg" id="img_id221762891443118" width="1cm"  
height="1cm"><alt id="alt_id461762891443118">Icon New 
Window</alt></image></paragraph>
+        </tablecell>
+        <tablecell>
+          <paragraph id="par_id311762891443118" role="paragraph">New 
Window</paragraph>
+        </tablecell>
+      </tablerow>
+    </table>
+  </section>
+
+  <section id="liste1">
+    <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+    <paragraph role="paragraph" id="par_id3154545"><variable id="liste">Choose 
<emph>Window - List of open documents</emph>.</variable></paragraph>
+  </section>
+
  </body>
 </helpdocument>
diff --git a/source/text/shared/01/07010000.xhp 
b/source/text/shared/01/07010000.xhp
index f9aae948b6..91b349536e 100644
--- a/source/text/shared/01/07010000.xhp
+++ b/source/text/shared/01/07010000.xhp
@@ -1,6 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,11 +16,10 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
-       
 <helpdocument version="1.0">
 <meta>
 <topic id="textshared0107010000xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">New Window</title>
+<title id="tit">New Window</title>
 <filename>/text/shared/01/07010000.xhp</filename>
 </topic>
 <history>
@@ -30,17 +27,17 @@
 </history>
 </meta>
 <body>
-<section id="newwindow">
-<bookmark xml-lang="en-US" branch="index" 
id="bm_id6323129"><bookmark_value>new windows</bookmark_value>
+<bookmark branch="index" id="bm_id6323129"><bookmark_value>new 
windows</bookmark_value>
 <bookmark_value>windows;new</bookmark_value>
 </bookmark>
-<bookmark xml-lang="en-US" branch="hid/.uno:NewWindow" id="bm_id3146856" 
localize="false"/>
+<bookmark branch="hid/.uno:NewWindow" id="bm_id3146856" localize="false"/>
+<section id="newwindow">
 <h1 id="hd_id3148882"><link href="text/shared/01/07010000.xhp">New 
Window</link></h1>
-<paragraph role="paragraph" id="par_id3158442" xml-lang="en-US"><ahelp 
hid=".uno:NewWindow">Opens a new window that displays the contents of the 
current window.</ahelp> You can now view different parts of the same document 
at the same time.</paragraph>
+<description id="par_id3158442"><ahelp hid=".uno:NewWindow">Opens a new window 
that displays the contents of the current window.</ahelp> You can now view 
different parts of the same document at the same time.</description>
 </section>
 <section id="howtoget">
-  <embed href="text/shared/00/00000407.xhp#window"/>
+  <embed href="text/shared/00/00000407.xhp#window1"/>
 </section>
-<paragraph role="paragraph" id="par_id3147588" xml-lang="en-US">Changes made 
to a document in one window are automatically applied to all of the windows 
that are open for that document.</paragraph>
+<paragraph role="paragraph" id="par_id3147588">Changes made to a document in 
one window are automatically applied to all of the windows that are open for 
that document.</paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/shared/01/07080000.xhp 
b/source/text/shared/01/07080000.xhp
index c57b06a515..16e13a0615 100644
--- a/source/text/shared/01/07080000.xhp
+++ b/source/text/shared/01/07080000.xhp
@@ -1,6 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,11 +16,10 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
-
 <helpdocument version="1.0">
 <meta>
 <topic id="textshared0107080000xml" indexer="include" status="PUBLISH">
-<title xml-lang="en-US" id="tit">Document List</title>
+<title id="tit">Document List</title>
 <filename>/text/shared/01/07080000.xhp</filename>
 </topic>
 <history>
@@ -30,14 +27,14 @@
 </history>
 </meta>
 <body>
-  
-  
+<comment>This hid is located in 
core/framework/source/uielement/resourcemenucontroller.cxx. See 
tdf#159505</comment>
+<bookmark branch="hid/HID_WINDOW_DOC_LIST" id="bm_id771762894916542" 
localize="false"/>
   <section id="document_list">
   <h1 id="hd_id3155620"><link href="text/shared/01/07080000.xhp">Document 
List</link></h1>
-  <paragraph role="paragraph" id="par_id3147273" xml-lang="en-US">Lists the 
currently open documents. Select the name of a document in the list to switch 
to that document.</paragraph>
+  <description id="par_id3147273">Lists the currently open documents. Select 
the name of a document in the list to switch to that document.</description>
   </section>
   <section id="howtoget">
-  <embed href="text/shared/00/00000407.xhp#liste"/>
+  <embed href="text/shared/00/00000407.xhp#liste1"/>
 </section>
  </body>
 </helpdocument>
diff --git a/source/text/shared/02/10100000.xhp 
b/source/text/shared/02/10100000.xhp
index 92dcdd3784..1b3f1c4c7b 100644
--- a/source/text/shared/02/10100000.xhp
+++ b/source/text/shared/02/10100000.xhp
@@ -20,19 +20,37 @@
 
 <meta>
   <topic id="textshared0210100000xml" indexer="include" status="PUBLISH">
-    <title id="tit" xml-lang="en-US">Close Window</title>
+    <title id="tit">Close Window</title>
     <filename>/text/shared/02/10100000.xhp</filename>
   </topic>
 </meta>
 <body>
+<bookmark branch="hid/.uno:CloseWin" id="bm_id8159155" localize="false"/>
 <section id="close">
-<bookmark xml-lang="en-US" branch="hid/.uno:CloseWin" id="bm_id8159155" 
localize="false"/>
 <h1 id="hd_id3152895"><link href="text/shared/02/10100000.xhp">Close 
Window</link></h1>
-<paragraph role="paragraph" id="par_id3155934" xml-lang="en-US"><ahelp 
hid=".uno:CloseWin">Closes the current window.</ahelp> Choose <emph>Window - 
Close Window</emph>, or press <switchinline select="sys"><caseinline 
select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline>+<emph>F4</emph>.
 In the print preview of $[officename] Writer and Calc, you can close the 
current window by clicking the <emph>Close Preview</emph> button.</paragraph>
+<description id="par_id3155934"><ahelp hid=".uno:CloseWin">Closes the current 
window. If additional views of the current document are open, this command will 
close only the current view.</ahelp>
+</description>
+<section id="howtoget">
+  <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+  <paragraph role="paragraph" id="par_id141762892592380">Choose <emph>Window - 
Close Window</emph>.</paragraph>
+  <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+  <table id="tab_id391762892672005">
+    <tablerow>
+      <tablecell>
+        <paragraph id="par_id331762892672005" role="paragraph"><image 
src="cmd/lc_closepreview.svg" id="img_id461762892672005" width="1cm"  
height="1cm"><alt id="alt_id281762892672005">Icon Close 
Window</alt></image></paragraph>
+      </tablecell>
+      <tablecell>
+        <paragraph id="par_id911762892672005" role="paragraph">Close 
Window</paragraph>
+      </tablecell>
+    </tablerow>
+  </table>
+  <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+  <paragraph role="paragraph" id="par_id1001762892582028">Press <switchinline 
select="sys"><caseinline 
select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>+<keycode>W</keycode>.</paragraph>
+</section>
+<note id="par_id851762892953331">In the print preview of $[officename] Writer 
and Calc, you can close the current window by clicking the <emph>Close 
Preview</emph> button.</note>
 </section>
-<paragraph role="paragraph" id="par_id3147143" xml-lang="en-US">If additional 
views of the current document were opened by <emph>Window - New Window</emph>, 
this command will close only the current view.</paragraph>
 <section id="relatedtopics">
-<paragraph role="paragraph" id="par_id3153910" xml-lang="en-US"><link 
href="text/shared/01/01050000.xhp">Close the current document</link></paragraph>
+<paragraph role="paragraph" id="par_id3153910"><link 
href="text/shared/01/01050000.xhp">Close the current document</link></paragraph>
 </section>
 </body>
 </helpdocument>

Reply via email to