From 4bf58601f847370be00b3e600a7a3fdac9e6b315 Mon Sep 17 00:00:00 2001 From: Seth Chaiklin Date: Thu, 9 Mar 2023 16:52:29 +0000 Subject: tdf#153549 more "chapter" to "heading" adjustments Possibly this is the final patch needed to change "Tools - Chapter Numbering" to "Tools - Heading Numbering". Also, "chapter" is changed to "heading" where appropriate. Where appropriate or necessary, corrections or command updates were made. Change-Id: I00a72a3c09909f2cf0a0ebe1320f5744c4ae4b68 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148506 Tested-by: Jenkins Reviewed-by: Seth Chaiklin --- source/text/swriter/01/04090002.xhp | 4 ++-- source/text/swriter/guide/captions_numbers.xhp | 29 +++++++++++++---------- source/text/swriter/guide/chapter_numbering.xhp | 2 +- source/text/swriter/guide/header_with_chapter.xhp | 23 ++++++++++-------- source/text/swriter/guide/indices_toc.xhp | 17 ++++++------- source/text/swriter/guide/using_numbering.xhp | 2 +- 6 files changed, 42 insertions(+), 35 deletions(-) diff --git a/source/text/swriter/01/04090002.xhp b/source/text/swriter/01/04090002.xhp index bac3255c0b..794295d366 100644 --- a/source/text/swriter/01/04090002.xhp +++ b/source/text/swriter/01/04090002.xhp @@ -88,7 +88,7 @@ The Selection box shows a list of all ordered paragraphs in the order of their appearance in the document. The list includes: - paragraphs with a paragraph style assigned a numbering scheme in the Tools > Chapter Numbering dialog + paragraphs with a paragraph style assigned a numbering scheme in the Tools > Heading Numbering dialog @@ -211,7 +211,7 @@ Chapter -Inserts the number of the chapter containing the reference target. +Inserts the heading number or list number of the reference target. diff --git a/source/text/swriter/guide/captions_numbers.xhp b/source/text/swriter/guide/captions_numbers.xhp index 5100afd329..bed9602e84 100644 --- a/source/text/swriter/guide/captions_numbers.xhp +++ b/source/text/swriter/guide/captions_numbers.xhp @@ -20,50 +20,53 @@ - Adding Chapter Numbers to Captions + Adding Heading Numbers to Captions /text/swriter/guide/captions_numbers.xhp -captions; adding chapter numbers + + captions; adding chapter numbers + captions; adding heading numbers objects; captioning automatically numbering; captions automatic numbering;of objects chapter numbers in captions inserting;chapter numbers in captions -

Adding Chapter Numbers to Captions +

Adding Heading Numbers to Captions

- You can include chapter numbers in captions. - Ensure that the text in your document is organized by chapters, and that the chapter titles and, if you want, the section titles, use one of the predefined heading paragraph styles. You must also assign a numbering option to the heading paragraph styles. + You can include heading numbers in captions. + Ensure that your document has headings. You can use the predefined “Heading [1–10]” paragraph styles. You must also assign a numbering scheme to the heading paragraph styles. Use Tools - Heading Numbering. - Select the item that you want to add a caption to. + Select the object to get a caption. - Choose Insert - Caption. + Choose Insert - Caption. - Select a caption title from the Category box, and select a numbering scheme in the Numbering box.
You also can enter a caption text in this dialog. If you want, enter text in the Caption box.
+ Select a caption type from the Category box, and select a numbering scheme in the Numbering box. You can enter an optional caption text in the Caption box.
Click Options. - In the Level box, select the number of heading levels to include in the chapter number. + In the Up to level box, select the outline level of the heading number to display before the caption number. - Type the character that you want to separate the chapter number(s) from the caption number in the Separator box, and then click OK. + Type the character to appear between the heading number(s) and the caption number in the Separator box, then click OK. - In the Caption dialog, click OK. + In the Caption dialog, click OK.
- $[officename] can automatically add a caption when you insert an object, graphic, or table. Choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Writer - AutoCaption. + If the caption is already inserted in the document, then right-click on the caption number, choose Edit Fields, then enter values for Up to level and Separator. + $[officename] can automatically add a caption when you insert an object, graphic, or table. Choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Writer - AutoCaption.
AutoCaption dialog - Chapter numbering +
\ No newline at end of file diff --git a/source/text/swriter/guide/chapter_numbering.xhp b/source/text/swriter/guide/chapter_numbering.xhp index ac662698df..dd5a2598b5 100644 --- a/source/text/swriter/guide/chapter_numbering.xhp +++ b/source/text/swriter/guide/chapter_numbering.xhp @@ -57,7 +57,7 @@ -

To Remove Automatic Chapter Numbering From a Heading

+

To Remove Automatic Numbering From a Heading

diff --git a/source/text/swriter/guide/header_with_chapter.xhp b/source/text/swriter/guide/header_with_chapter.xhp index 184e79ae03..b2c2f6f96f 100644 --- a/source/text/swriter/guide/header_with_chapter.xhp +++ b/source/text/swriter/guide/header_with_chapter.xhp @@ -38,26 +38,29 @@

Inserting a Chapter Name and Number in a Header or a Footer

Before you can insert chapter information into a header or footer, you must first set the chapter numbering options for the paragraph style that you want to use for chapter titles. -

To Create a Paragraph Style for Chapter Titles

+

To Prepare a Paragraph Style for Chapter Titles

- Choose Tools - Chapter Numbering. + Choose Tools - Heading Numbering - Numbering tab. - In the Style box, select the paragraph style that you want to use for chapter titles, for example, "Heading 1". + In the Level box, select 1. - Select the numbering scheme for the chapter titles in the Number box, for example, "1,2,3...". + In the Paragraph style box, select the paragraph style that you want to use for chapter titles, for example, Heading 1. - Type "Chapter" followed by a space in the Before box. + Select the numbering scheme for the chapter titles in the Number box, for example, 1,2,3.... - Enter a space in the After box. + Type Chapter followed by a space in the Before box. - Click OK. + Enter a space in the After box. + + + Click OK. @@ -80,13 +83,13 @@ - Click "Chapter" in the Type list and "Chapter number and name" in the Format list. + Click Heading in the Type list, Heading number and contents in the Format list, and 1 in Up to level. - Click Insert and then click Close. + Click Insert and then click Close. -The header on every page that uses the current page style automatically displays the chapter name and number. +The header on every page that uses the current page style automatically displays the chapter name and number.
diff --git a/source/text/swriter/guide/indices_toc.xhp b/source/text/swriter/guide/indices_toc.xhp index 5f2d4a2f89..1ff06a2394 100644 --- a/source/text/swriter/guide/indices_toc.xhp +++ b/source/text/swriter/guide/indices_toc.xhp @@ -44,25 +44,25 @@ - Click in your document where you want to create the table of contents. + Click in your document where you want to create the table of contents. - Choose Insert - Table of Contents and Index - Table of Contents, Index or Bibliography, and then click the Type tab. + Choose Insert - Table of Contents and Index - Table of Contents, Index or Bibliography, and then click the Type tab. - Select "Table of Contents" in the Type box. + Select "Table of Contents" in the Type box. - Select any options that you want. + Select any options that you want. - Click OK. + Click OK. -If you want to use a different paragraph style as a table of contents entry, select the Additional Styles check box in the Create from area, and then click the Assign styles button next to the check box. In the Assign Styles dialog, click the style in the list, and then click the >> or the << button to define the outline level for the paragraph style. +If you want to use a different paragraph style as a table of contents entry, select the Additional Styles check box in the Create from area, and then click the Assign styles button next to the check box. In the Assign Styles dialog, click the style in the Style list, and then click the index level for the selected style.
-%PRODUCTNAME creates the table of contents entries based on the outline level of the paragraph style and the paragraph contents. If the paragraph is empty, it will not be included in the table of contents. To force the empty paragraph to be listed in the table of contents, manually add a space or a non breaking space to the paragraph. Spaces added in the After text box of the Numbering tab in the Chapter Numbering dialog will not work for this purpose, since they are part of the paragraph numbering, not the paragraph contents. +%PRODUCTNAME creates the table of contents entries based on the outline level of the paragraph style and the paragraph contents. If the paragraph is empty, it will not be included in the table of contents. To force the empty paragraph to be listed in the table of contents, manually add a space or a non breaking space to the paragraph. Spaces added in the After text box of the Numbering tab in the Heading Numbering dialog will not work for this purpose, since they are part of the paragraph numbering, not the paragraph contents.

To Update a Table of Contents

Do one of the following: @@ -74,7 +74,7 @@ Choose Tools - Update - All Indexes and Tables.
- +
@@ -83,6 +83,7 @@ +
diff --git a/source/text/swriter/guide/using_numbering.xhp b/source/text/swriter/guide/using_numbering.xhp index 5c39a38cdb..63df272ad7 100644 --- a/source/text/swriter/guide/using_numbering.xhp +++ b/source/text/swriter/guide/using_numbering.xhp @@ -35,7 +35,7 @@

Numbering and Paragraph Styles

You can apply numbering to a paragraph manually or with a paragraph style. - If you want numbered headings, use Tools - Chapter Numbering, instead of numbering manually. + If you want numbered headings, use Tools - Heading Numbering, instead of numbering manually.

To Apply Numbering Manually

To apply numbering manually, click in the paragraph, and then click the Toggle Ordered List icon on the Formatting bar, or use the dropdown box on the icon to select a numbering format. You cannot apply manual numbering to paragraphs that are listed under "Special Styles" in the Styles window. -- cgit