helpers/xmlhelp.dtd                  |    2 
 source/text/schart/01/data_table.xhp |   86 ++++++++++++++++-------------------
 source/text/shared/00/00000004.xhp   |    1 
 3 files changed, 42 insertions(+), 47 deletions(-)

New commits:
commit 8e22d73cd04a22a538ff452d1d8d312f0098099a
Author:     Olivier Hallot <[email protected]>
AuthorDate: Mon Sep 22 21:48:59 2025 -0300
Commit:     Olivier Hallot <[email protected]>
CommitDate: Tue Sep 23 02:55:40 2025 +0200

    tdf#168507 Fix bookmark in chart Data Table
    
    + refactoring
    + fix DTD for <description>
    
    Change-Id: I904b70f4da39cb2675445f265e7333be459396ed
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/191372
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <[email protected]>

diff --git a/helpers/xmlhelp.dtd b/helpers/xmlhelp.dtd
index d033257f94..0b2a7b9753 100644
--- a/helpers/xmlhelp.dtd
+++ b/helpers/xmlhelp.dtd
@@ -56,7 +56,7 @@ Version Nov 2018
 <!ELEMENT sqlcode (paragraph+)>
 
 
-<!ELEMENT body ( %hn; | section | paragraph | table | comment | bookmark | 
switch | embed | list | sort | %codeContent; | %noteContent;)*>
+<!ELEMENT body ( %hn; | section | paragraph | description | table | comment | 
bookmark | switch | embed | list | sort | %codeContent; | %noteContent;)*>
 
 <!ELEMENT bookmark (bookmark_value)*>
 <!ATTLIST bookmark
diff --git a/source/text/schart/01/data_table.xhp 
b/source/text/schart/01/data_table.xhp
index caf9d2aaad..5657c9d4ab 100644
--- a/source/text/schart/01/data_table.xhp
+++ b/source/text/schart/01/data_table.xhp
@@ -12,71 +12,65 @@
 
 <meta>
   <topic id="chart_data_table" indexer="include">
-    <title id="tit" xml-lang="en-US">Data Table</title>
+    <title id="tit">Data Table</title>
     <filename>/text/schart/01/data_table.xhp</filename>
   </topic>
 </meta>
 <body>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/tp_DataTable/DataTableTabPage" 
id="data_table_dlg" localize="false"/>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/dlg_InsertDataTable/dialog-action_area1" 
id="data_table_dlg2" localize="false"/>
-  <bookmark xml-lang="en-US" branch="index" id="bm_id3156441">
-    <bookmark_value>chart; data tables</bookmark_value>
-    <bookmark_value>insert data tables in charts</bookmark_value>
+  <bookmark branch="hid/modules/schart/ui/tp_DataTable/DataTableTabPage" 
id="data_table_dlg" localize="false"/>
+  <bookmark branch="hid/modules/schart/ui/tp_DataTable/@@nowidget@@" 
id="bm_id41758586036157" localize="false"/>
+  <bookmark 
branch="hid/modules/schart/ui/dlg_InsertDataTable/dialog-action_area1" 
id="data_table_dlg2" localize="false"/>
+  <bookmark branch="index" id="bm_id3156441">
+<bookmark_value>chart; data tables</bookmark_value>
+<bookmark_value>insert data tables in charts</bookmark_value>
+<bookmark_value>chart; remove data table</bookmark_value>
   </bookmark>
-  <bookmark xml-lang="en-US" branch="hid/.uno:InsertMenuDataTable" 
id="bm_id3149667" localize="false"/>
+  <bookmark branch="hid/.uno:InsertMenuDataTable" id="bm_id3149667" 
localize="false"/>
   <h1 id="hd_id861665495783520"><variable id="data_table_h1"><link 
href="text/schart/01/data_table.xhp">Chart Data Table</link></variable></h1>
   <paragraph role="paragraph" id="par_id131665495992109">Inserts a <emph>Chart 
Data Table</emph> and configure its appearance.</paragraph>
-  <paragraph role="paragraph" id="par_id731665773779796">Chart data tables 
allow to visualize the data represented by the chart. A table containing the 
data is placed at the bottom of the chart.</paragraph>
+  <description id="par_id731665773779796">Chart data tables allow to visualize 
the data represented by the chart. A table containing the data is placed at the 
bottom of the chart.</description>
   <section id="howtoget">
-    <paragraph role="paragraph" id="par_id541665496100217">Double-click the 
chart object to enter edit mode and choose <menuitem>Insert - Data 
Table</menuitem></paragraph>
-    <paragraph role="paragraph" id="par_id81665496208459">If the chart already 
has a <emph>Data Table</emph>, double-click the chart to enter edit mode and do 
one of the following:</paragraph>
-    <list type="unordered">
-      <listitem>
-        <paragraph id="par_id431665496330435" role="listitem">Right-click the 
data table and choose <menuitem>Format - Selection</menuitem>.</paragraph>
-      </listitem>
-      <listitem>
-        <paragraph id="par_id431665496331262" role="listitem">Double-click the 
<emph>Data Table</emph>.</paragraph>
-      </listitem>
-    </list>
+    <paragraph role="paragraph" id="par_id871758587327105">Double-click the 
chart object to enter edit mode, then</paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+    <paragraph role="paragraph" id="par_id541665496100217">Choose 
<menuitem>Insert - Data Table</menuitem></paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_context"/>
+    <paragraph role="paragraph" id="par_id81665496208459">Choose 
<menuitem>Format - Selection</menuitem>.</paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_other"/>
+    <paragraph id="par_id431665496331262" role="listitem">Double-click the 
<emph>Data Table</emph>.</paragraph>
   </section>
-  <bookmark xml-lang="en-US" branch="index" id="bm_id181665496962192">
-    <bookmark_value>chart; remove data table</bookmark_value>
-  </bookmark>
-  <paragraph role="paragraph" id="par_id891665496566910">To remove the data 
table:</paragraph>
-  <list type="ordered">
-    <listitem>
-      <paragraph id="par_id701665496615511" role="listitem">Double-click the 
chart to enter edit mode.</paragraph>
-    </listitem>
-    <listitem>
-      <paragraph id="par_id721665496616565" role="listitem">Choose 
<menuitem>Insert - Data Table</menuitem>.</paragraph>
-    </listitem>
-    <listitem>
-      <paragraph id="par_id841665496617023" role="listitem">Uncheck the option 
<menuitem>Show data table</menuitem>.</paragraph>
-    </listitem>
-  </list>
 
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/dlg_InsertDataTable/showDataTable" 
id="bm_id621665497982710" localize="false"/>
+  <bookmark branch="hid/modules/schart/ui/dlg_InsertDataTable/showDataTable" 
id="bm_id621665497982710" localize="false"/>
   <h2 id="hd_id621665496873285">Show data table</h2>
   <paragraph role="paragraph" id="par_id901665496890334">Check this option to 
show the data table in the chart. Uncheck this option if you want to remove the 
data table from the chart.</paragraph>
-
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/dlg_InsertDataTable/horizontalBorderCB" 
id="bm_id651665498021462" localize="false"/>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/dlg_InsertDataTable/verticalBorderCB" 
id="bm_id891665498022054" localize="false"/>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/dlg_InsertDataTable/outlineCB" 
id="bm_id441665498022462" localize="false"/>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/dlg_InsertDataTable/keysCB" 
id="bm_id591665498022799" localize="false"/>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/tp_DataTable/horizontalBorderCB" 
id="bm_id141665498023119" localize="false"/>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/tp_DataTable/verticalBorderCB" 
id="bm_id21665498023430" localize="false"/>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/tp_DataTable/outlineCB" id="bm_id321665498023847" 
localize="false"/>
-  <bookmark xml-lang="en-US" 
branch="hid/modules/schart/ui/tp_DataTable/keysCB" id="bm_id811665498024334" 
localize="false"/>
   <h2 id="hd_id71665496992777">Data table properties</h2>
-  <paragraph role="paragraph" id="par_id571665497168086">Format properties of 
the data table:</paragraph>
-  <h3 id="hd_id61665497013657">Show horizontal border</h3>
+   <paragraph role="paragraph" id="par_id571665497168086">Format properties of 
the data table:</paragraph>
+  <bookmark branch="hid/modules/schart/ui/tp_DataTable/horizontalBorderCB" 
id="bm_id141665498023119" localize="false"/>
+    <bookmark 
branch="hid/modules/schart/ui/dlg_InsertDataTable/horizontalBorderCB" 
id="bm_id651665498021462" localize="false"/>
+   <h3 id="hd_id61665497013657">Show horizontal border</h3>
   <paragraph role="paragraph" id="par_id681665497198015">Show or hide internal 
row borders.</paragraph>
+  <bookmark branch="hid/modules/schart/ui/tp_DataTable/verticalBorderCB" 
id="bm_id21665498023430" localize="false"/>
+  <bookmark 
branch="hid/modules/schart/ui/dlg_InsertDataTable/verticalBorderCB" 
id="bm_id891665498022054" localize="false"/>
   <h3 id="hd_id82166549702485">Show vertical border</h3>
   <paragraph role="paragraph" id="par_id681665497198016">Show or hide internal 
column borders.</paragraph>
+  <bookmark branch="hid/modules/schart/ui/tp_DataTable/outlineCB" 
id="bm_id321665498023847" localize="false"/>
+  <bookmark branch="hid/modules/schart/ui/dlg_InsertDataTable/outlineCB" 
id="bm_id441665498022462" localize="false"/>
   <h3 id="hd_id731665497089724">Show outline</h3>
   <paragraph role="paragraph" id="par_id681665497198017">Show or hide borders 
around the table.</paragraph>
+  <bookmark branch="hid/modules/schart/ui/tp_DataTable/keysCB" 
id="bm_id811665498024334" localize="false"/>
+  <bookmark branch="hid/modules/schart/ui/dlg_InsertDataTable/keysCB" 
id="bm_id591665498022799" localize="false"/>
   <h3 id="hd_id311665497090098">Show keys</h3>
   <paragraph role="paragraph" id="par_id681665497198018">Show or hide the key 
associated with each data series, which is the same key used in the chart 
legend.</paragraph>
-
+  <h2 id="par_id891665496566910">To remove the data table:</h2>
+  <list type="ordered">
+    <listitem>
+      <paragraph id="par_id701665496615511" role="listitem">Double-click the 
chart to enter edit mode.</paragraph>
+    </listitem>
+    <listitem>
+      <paragraph id="par_id721665496616565" role="listitem">Choose 
<menuitem>Insert - Data Table</menuitem>.</paragraph>
+    </listitem>
+    <listitem>
+      <paragraph id="par_id841665496617023" role="listitem">Uncheck the option 
<menuitem>Show data table</menuitem>.</paragraph>
+    </listitem>
+  </list>
 </body>
 </helpdocument>
diff --git a/source/text/shared/00/00000004.xhp 
b/source/text/shared/00/00000004.xhp
index 7822349b31..1c817c19b1 100644
--- a/source/text/shared/00/00000004.xhp
+++ b/source/text/shared/00/00000004.xhp
@@ -38,6 +38,7 @@
 <section id="from_startcenter"><h3 id="hd_id931685300557948">From the start 
center:</h3></section>
 <section id="from_statusbar"><h3 id="hd_id931686300557948">From the status 
bar:</h3></section>
 <section id="from_sidebar"><h3 id="hd_id931686399557948">From the 
sidebar:</h3></section>
+<section id="from_other"><h3 id="hd_id931685399557948">Other 
ways:</h3></section>
 
 <section id="related">
 <paragraph role="related" id="par_id3147212" xml-lang="en-US"><variable 
id="related"><emph>Related Topics</emph>

Reply via email to