AllLangHelp_shared.mk                        |    1 
 AllLangHelp_swriter.mk                       |    1 
 source/text/shared/00/00000004.xhp           |   35 ---------------------------
 source/text/shared/00/00000005.xhp           |    2 -
 source/text/shared/01/grid_and_helplines.xhp |    8 +++---
 source/text/swriter/00/00000004.xhp          |    8 +++++-
 source/text/swriter/01/baseline_grid.xhp     |   22 +++++++++++-----
 7 files changed, 28 insertions(+), 49 deletions(-)

New commits:
commit b9c56ad672ef100b9bb6db3a1e3cf4d5c9face8e
Author:     Olivier Hallot <[email protected]>
AuthorDate: Sun Jan 4 11:56:23 2026 -0300
Commit:     Olivier Hallot <[email protected]>
CommitDate: Sun Jan 4 16:25:46 2026 +0100

    Move baseline grid display page to Writer folder
    
    baseline grid is Writer-exclusive
    
    Remove some unused code
    
    Change-Id: Ib800d5ecbdf79f045d18e0dccae71ad3490fc808
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/196521
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <[email protected]>

diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk
index a07ab8cd82..a7884a9aed 100644
--- a/AllLangHelp_shared.mk
+++ b/AllLangHelp_shared.mk
@@ -593,7 +593,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
     helpcontent2/source/text/shared/02/24080000 \
     helpcontent2/source/text/shared/02/24090000 \
     helpcontent2/source/text/shared/02/24100000 \
-    helpcontent2/source/text/shared/02/baseline_grid \
     helpcontent2/source/text/shared/02/basicshapes \
     helpcontent2/source/text/shared/02/blockarrows \
     helpcontent2/source/text/shared/02/callouts \
diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index c86885f3f7..5a63aadc34 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -163,6 +163,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
     helpcontent2/source/text/swriter/01/06210000 \
     helpcontent2/source/text/swriter/01/06220000 \
     helpcontent2/source/text/swriter/01/06990000 \
+    helpcontent2/source/text/swriter/01/baseline_grid \
     helpcontent2/source/text/swriter/01/paragraph_hyphenation \
     helpcontent2/source/text/swriter/01/contentcontrol00 \
     helpcontent2/source/text/swriter/01/copyfielddialog \
diff --git a/source/text/shared/00/00000004.xhp 
b/source/text/shared/00/00000004.xhp
index 88374689a8..0ba7209db4 100644
--- a/source/text/shared/00/00000004.xhp
+++ b/source/text/shared/00/00000004.xhp
@@ -470,40 +470,5 @@
     </section>
 </section>
 
-<section id="baseline_grid_howtoget">
-    <switch select="appl">
-        <case select="WRITER">
-            <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
-            <paragraph role="paragraph" id="par_id441686510141374">Choose 
<menuitem>View - Grids and Helplines - Display Baseline 
Grid</menuitem>.</paragraph>
-            <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
-            <paragraph role="paragraph" id="par_id731686511199921">Choose 
<menuitem>View - Display Baseline Grid</menuitem>.</paragraph>
-        </case>
-    </switch>
-</section>
-
-<table id="tbl_id3145151">
-<tablerow>
-<tablecell>
-<paragraph role="paragraph" id="par_id3151189">
-<image id="img_id3156318" src="cmd/lc_saveas.svg" width="1cm" 
height="1cm"><alt id="alt_id3156318">Icon Save As</alt></image></paragraph>
-</tablecell>
-<tablecell>
-<paragraph role="paragraph" id="par_id3149109">Save As</paragraph>
-</tablecell>
-</tablerow>
-</table>
-
-<table id="tbl_id3145295">
-<tablerow>
-<tablecell>
-<paragraph role="paragraph" id="par_id3152946">
-<image id="img_id3155904" src="cmd/lc_exportdirecttopdf.svg" width="1cm" 
height="1cm"><alt id="alt_id3155904">Icon Export Directly as 
PDF</alt></image></paragraph>
-</tablecell>
-<tablecell>
-<paragraph role="paragraph" id="par_id3155336">Export Directly as 
PDF</paragraph>
-</tablecell>
-</tablerow>
-</table>
-
 </body>
 </helpdocument>
diff --git a/source/text/shared/00/00000005.xhp 
b/source/text/shared/00/00000005.xhp
index 19399dd66d..1c6eb8e936 100644
--- a/source/text/shared/00/00000005.xhp
+++ b/source/text/shared/00/00000005.xhp
@@ -274,7 +274,7 @@
 <bookmark_value>register-true; definition</bookmark_value>
 <bookmark_value>page line-spacing; definition</bookmark_value>
 </bookmark>
-   <h2 id="hd_id551604189872115">Page line-spacing (register-true)</h2>
+<h2 id="hd_id551604189872115"><variable id="registertrue"><link 
href="text/shared/00/00000005.xhp#pageline-spacing">Page line-spacing 
(register-true)</link></variable></h2>
    <paragraph id="par_id3145230" role="paragraph">In %PRODUCTNAME, the 
register-true feature is called <emph>Page line-spacing</emph>.</paragraph>
      <paragraph id="par_id3154223" role="paragraph">Page line-spacing refers 
to the coincident imprint of the lines within a type area on the front and the 
back side of a page. The page line-spacing feature makes a page easier to read 
by preventing gray shadows from shining through between the lines of text. The 
page line-spacing term also refers to lines in adjacent text columns, where 
lines in different columns use the same vertical grid, thereby aligning them 
vertically with each other.</paragraph>
      <paragraph role="paragraph" id="par_id761604345191168">Page line-spacing 
printing is particularly useful for documents that will have two pages set next 
to each other (for example, in a book or brochure), for multi-column layouts, 
and for documents intended for double-sided printing.</paragraph>
diff --git a/source/text/shared/01/grid_and_helplines.xhp 
b/source/text/shared/01/grid_and_helplines.xhp
index 17c31b26bb..c97c8c5809 100644
--- a/source/text/shared/01/grid_and_helplines.xhp
+++ b/source/text/shared/01/grid_and_helplines.xhp
@@ -20,7 +20,7 @@
 
 <meta>
   <topic id="textshared01grid_and_helplinesxml" indexer="include" 
status="PUBLISH">
-    <title id="tit">Grid(s) and Help Lines</title>
+    <title id="tit">Grids and Help Lines</title>
     <filename>/text/shared/01/grid_and_helplines.xhp</filename>
   </topic>
 </meta>
@@ -30,7 +30,7 @@
 <section id="grid_and_help_lines">
 <switch select="appl">
   <case select="WRITER">
-    <h1 id="hd_id033020170255198879"><link 
href="text/shared/01/grid_and_helplines.xhp">Grid(s) and Help Lines</link></h1>
+    <h1 id="hd_id033020170255198879"><link 
href="text/shared/01/grid_and_helplines.xhp">Grids and Help Lines</link></h1>
     <paragraph id="par_id033020170257116435" role="paragraph"><ahelp 
hid=".">Toggle the visibility of grids and guide lines to help object moving 
and precise position in the current page.</ahelp></paragraph>
   </case>
   <default>
@@ -43,7 +43,7 @@
   <switch select="appl">
     <case select="WRITER">
       <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
-      <paragraph role="paragraph" id="par_id341686503897626">Choose 
<menuitem>View - Grid(s) and Helplines</menuitem>.</paragraph>
+      <paragraph role="paragraph" id="par_id341686503897626">Choose 
<menuitem>View - Grids and Helplines</menuitem>.</paragraph>
     </case>
     <default>
       <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
@@ -82,7 +82,7 @@
 <embed href="text/shared/02/01171400.xhp#helplines_while_moving"/>
 
 <switch select="appl">
-  <case select="WRITER"><embed 
href="text/shared/02/baseline_grid.xhp#display_baseline_grid"/></case>
+  <case select="WRITER"><embed 
href="text/swriter/01/baseline_grid.xhp#display_baseline_grid"/></case>
 </switch>
 
 </body>
diff --git a/source/text/swriter/00/00000004.xhp 
b/source/text/swriter/00/00000004.xhp
index f17f258fa9..a100f52109 100644
--- a/source/text/swriter/00/00000004.xhp
+++ b/source/text/swriter/00/00000004.xhp
@@ -92,6 +92,12 @@
     </tablerow>
   </table>
   </section>
-
+<section id="baseline_grid_howtoget">
+      <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+      <paragraph role="paragraph" id="par_id441686510141374">Choose 
<menuitem>View - Grids and Helplines - Display Baseline 
Grid</menuitem>.</paragraph>
+      <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+      <paragraph role="paragraph" id="par_id731686511199921">Choose 
<menuitem>View - Display Baseline Grid</menuitem>.
+      </paragraph>
+</section>
  </body>
 </helpdocument>
diff --git a/source/text/shared/02/baseline_grid.xhp 
b/source/text/swriter/01/baseline_grid.xhp
similarity index 59%
rename from source/text/shared/02/baseline_grid.xhp
rename to source/text/swriter/01/baseline_grid.xhp
index 0227c68882..a815cd9960 100644
--- a/source/text/shared/02/baseline_grid.xhp
+++ b/source/text/swriter/01/baseline_grid.xhp
@@ -10,23 +10,31 @@
 <helpdocument version="1.0">
 <meta>
     <topic id="textshared02baselinegridxml" indexer="include" status="PUBLISH">
-        <title id="tit">Display Baseline Grid</title>
-        <filename>/text/shared/02/baseline_grid.xhp</filename>
+        <title id="tit">Baseline Grid</title>
+        <filename>/text/swriter/01/baseline_grid.xhp</filename>
     </topic>
 </meta>
 <body>
     <bookmark branch="hid/.uno:BaselineGridVisible" id="bm_id281686516796298" 
localize="false"/>
+    <bookmark branch="index" id="bm_id571767535451864">
+        <bookmark_value>view;baseline grid</bookmark_value>
+        <bookmark_value>register-true;baseline grid</bookmark_value>
+        <bookmark_value>baseline grid;page line spacing</bookmark_value>
+        <bookmark_value>page line spacing;baseline grid</bookmark_value>
+    </bookmark>
     <section id="display_baseline_grid">
-        <h1 id="hd_id3160476"><link 
href="text/shared/02/baseline_grid.xhp#display_baseline_grid">Display Baseline 
Grid</link></h1>
-        <paragraph id="par_id71849725" role="paragraph">Displays the baseline 
grid for page line-spacing.</paragraph>
+        <h1 id="hd_id3160476"><link 
href="text/swriter/01/baseline_grid.xhp#display_baseline_grid">Display Baseline 
Grid</link></h1>
+        <description id="par_id71849725">Displays the baseline grid for <link 
href="text/shared/00/00000005.xhp#pageline-spacing">page line-spacing</link> in 
text documents.</description>
     </section>
-    <paragraph role="paragraph" id="par_id131686520802426">The page 
line-spacing feature aligns all affected text portions so that the bottoms of 
the text lines align with an invisible grid. This invisible grid is called the 
baseline grid. This baseline grid is calculated based on the reference style 
defined for the page line-spacing. If page line-spacing is not enabled for a 
given page, the standard reference style (i.e. Body Text) is used to position 
the baseline grid.</paragraph>
-    <note id="par_id71849724">The baseline grid is not available in HTML / XML 
documents.</note>
     <section id="howtoget">
-        <embed href="text/shared/00/00000004.xhp#baseline_grid_howtoget"/>
+        <embed href="text/swriter/00/00000004.xhp#baseline_grid_howtoget"/>
     </section>
+    <paragraph role="paragraph" id="par_id131686520802426">The page 
line-spacing feature aligns all affected text portions so that the bottoms of 
the text lines align with an invisible grid. This invisible grid is called the 
baseline grid. This baseline grid is calculated based on the reference style 
defined for the page line-spacing. If page line-spacing is not enabled for a 
given page, the standard reference style (i.e. Body Text) is used to position 
the baseline grid.</paragraph>
+    <note id="par_id71849724">The baseline grid is not available in HTML / XML 
documents.</note>
     <section id="relatedtopics">
+        <paragraph role="paragraph" id="par_id661767536958896" 
localize="false"><embedvar 
href="text/shared/00/00000005.xhp#registertrue"/></paragraph>
         <paragraph role="paragraph" id="par_id3156738"><link 
href="text/swriter/guide/registertrue.xhp">Printing with Page 
line-spacing</link></paragraph>
     </section>
+
 </body>
 </helpdocument>

Reply via email to