From b9c56ad672ef100b9bb6db3a1e3cf4d5c9face8e Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Sun, 4 Jan 2026 11:56:23 -0300 Subject: [PATCH] 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 --- 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 ++++- .../02 => swriter/01}/baseline_grid.xhp | 22 ++++++++---- 7 files changed, 28 insertions(+), 49 deletions(-) rename source/text/{shared/02 => swriter/01}/baseline_grid.xhp (59%) 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 @@ -
- - - - Choose View - Grids and Helplines - Display Baseline Grid. - - Choose View - Display Baseline Grid. - - -
- - - - - -Icon Save As - - -Save As - - -
- - - - - -Icon Export Directly as PDF - - -Export Directly as PDF - - -
- 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 @@ register-true; definition page line-spacing; definition -

Page line-spacing (register-true)

+

Page line-spacing (register-true)

In %PRODUCTNAME, the register-true feature is called Page line-spacing. 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. 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. 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 @@ - Grid(s) and Help Lines + Grids and Help Lines /text/shared/01/grid_and_helplines.xhp @@ -30,7 +30,7 @@
-

Grid(s) and Help Lines

+

Grids and Help Lines

Toggle the visibility of grids and guide lines to help object moving and precise position in the current page.
@@ -43,7 +43,7 @@ - Choose View - Grid(s) and Helplines. + Choose View - Grids and Helplines. @@ -82,7 +82,7 @@ - + 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 @@
- +
+ + Choose View - Grids and Helplines - Display Baseline Grid. + + Choose View - Display Baseline Grid. + +
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 @@ - Display Baseline Grid - /text/shared/02/baseline_grid.xhp + Baseline Grid + /text/swriter/01/baseline_grid.xhp + + view;baseline grid + register-true;baseline grid + baseline grid;page line spacing + page line spacing;baseline grid +
-

Display Baseline Grid

- Displays the baseline grid for page line-spacing. +

Display Baseline Grid

+ Displays the baseline grid for page line-spacing in text documents. +
+
+
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. The baseline grid is not available in HTML / XML documents. -
- -
+ Printing with Page line-spacing
+