tdf#140579 add "add to list" help page
add swriter/02/add_to_list.xhp with help
on "Add to List" (previously called
"Continue previous numbering")
and embed heading and icon for this page
into help for "Bullet and Numbering bar"
( swriter/main0206.xhp )
Change-Id: I4e39b625d7d80f483520996703c4b584ca1153c2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111325
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
Tested-by: Jenkins
diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index 6afdbc7..07ec0ed 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -248,6 +248,7 @@
helpcontent2/source/text/swriter/02/19030000 \
helpcontent2/source/text/swriter/02/19040000 \
helpcontent2/source/text/swriter/02/19050000 \
helpcontent2/source/text/swriter/02/add_to_list \
helpcontent2/source/text/swriter/02/word_count_stb \
helpcontent2/source/text/swriter/04/01020000 \
helpcontent2/source/text/swriter/guide/anchor_object \
diff --git a/source/text/swriter/02/add_to_list.xhp b/source/text/swriter/02/add_to_list.xhp
new file mode 100644
index 0000000..69ba5a3
--- /dev/null
+++ b/source/text/swriter/02/add_to_list.xhp
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
-->
<meta>
<topic id="textswriter02Add_to_List" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Add to List</title>
<filename>/text/swriter/02/add_to_list.xhp</filename>
</topic>
</meta>
<body>
<section id="add_to_list">
<bookmark xml-lang="en-US" branch="index" id="bm_id1001616018043189">
<bookmark_value>Add to List</bookmark_value>
<bookmark_value>Lists;merging</bookmark_value>
</bookmark>
<h1 id="hd_id711614068729277"><variable id="addtolisth1"><link href="text/swriter/02/add_to_list.xhp" name="Add to List">Add to List</link></variable></h1>
<paragraph role="paragraph" id="par_id231614069215429">Include selected paragraphs, whether a list item or not, as part of a list.</paragraph>
</section>
<section id="howtoget">
<paragraph role="paragraph" id="par_id151614079148636"><variable id="howtogetaddtolist">Choose <menuitem>Format - Lists - Add to List</menuitem></variable>.</paragraph>
<paragraph role="paragraph" id="par_id631614079159620">Right-click a paragraph, choose <menuitem>Lists - Add to List</menuitem>.</paragraph>
<paragraph role="paragraph" id="par_id151615752168785"><variable id="toolbar">On <menuitem>Bullets and Numbering</menuitem> bar, click <emph>Add to List</emph> icon.</variable></paragraph>
<section id="add_to_list_icon">
<table id="tab_id491615752040364">
<tablerow>
<tablecell>
<paragraph role="paragraph" id="par_id651615752040364"><image src="cmd/lc_continuenumbering.png" id="img_id981615752040364" width="1cm" height="1cm"><alt id="alt_id761615752040364">Add to List Icon</alt></image></paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id51615752040365" role="paragraph">Add to List</paragraph>
</tablecell>
</tablerow>
</table>
</section>
</section>
<paragraph role="paragraph" id="par_id711616001147778">The list labeling and indent formatting are applied to the selected paragraphs. The position of the paragraphs in the document does not change.</paragraph>
<h2 id="hd_id851614072896370">Add Selected Paragraphs to a List</h2>
<list type="ordered">
<listitem>
<paragraph id="par_id491615988072533" role="listitem">Select paragraphs, whether in a list or not, to be added to a list.</paragraph>
<paragraph role="paragraph" id="par_id271615998908234">For multiple selections, press and hold the <keycode> Ctrl</keycode> key after the first selection. The <keycode>Ctrl</keycode> key can be released without losing the selections, but must be pressed when clicking in the document.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id551615985719902" role="listitem">Press and hold the <keycode>Ctrl</keycode> key, then place cursor in the list.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id901615999151001" role="listitem">Do one of the following:</paragraph>
</listitem>
</list>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id141615979735757"><embedvar href="text/swriter/02/add_to_list.xhp#howtogetaddtolist"/></paragraph>
</listitem>
<listitem>
<paragraph id="par_id961614073544958" role="listitem"><embedvar href="text/swriter/02/add_to_list.xhp#toolbar"/></paragraph>
</listitem>
<listitem>
<paragraph id="par_id161615999749854" role="listitem"><variable id="rightclick">Right-click, choose <menuitem>List - Add to List</menuitem>.</variable> To preserve the selection, at least one character must be selected in the list.</paragraph>
</listitem>
</list>
<note id="par_id861614074931979">This procedure works for ordered and unordered lists.</note>
<h2 id="hd_id441616017998739">Add Consecutive List Entries to an Immediately Prior List</h2>
<list type="ordered">
<listitem>
<paragraph id="par_id631616018294373" role="listitem">Select one or more consecutive list entries, starting from the first entry, that you want to add to the immediately prior list.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id621616018340980" role="listitem"><embedvar href="text/swriter/02/add_to_list.xhp#rightclick"/></paragraph>
</listitem>
</list>
<tip id="par_id811616018796902">Use this procedure to combine two lists.</tip>
</body>
</helpdocument>
diff --git a/source/text/swriter/02/continue_numbering.xhp b/source/text/swriter/02/continue_numbering.xhp
new file mode 100644
index 0000000..ecc2e62
--- /dev/null
+++ b/source/text/swriter/02/continue_numbering.xhp
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
-->
<meta>
<topic id="textswriter02Continue_Numbering" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Add to Previous List</title>
<filename>/text/swriter/02/continue_numbering.xhp</filename>
</topic>
</meta>
<body>
<section id="continue_numbering">
<h1 id="hd_id711614068729277"><variable id="continuenumberingh1"><link href="text/swriter/02/continue_numbering.xhp" name="Continue Numbering">Add to Previous List</link></variable></h1>
<paragraph role="paragraph" id="par_id231614069215429">Include selected paragraphs as part of a previous list.</paragraph>
</section>
<section id="howtoget">
<paragraph role="paragraph" id="par_id151614079148636">Choose <menuitem>Format - Lists - Add to Previous List</menuitem>.</paragraph>
<paragraph role="paragraph" id="par_id631614079159620">Right-click a paragraph, choose <menuitem>Lists - Add to Previous List</menuitem>.</paragraph>
</section>
<note id="par_id361614094843858">The command is active in the menubar and visible in the context menu when at least one list is prior to the current cursor position.</note>
<h2 id="hd_id651614072873809">Merge Two Ordered Lists</h2>
<list type="ordered">
<listitem>
<paragraph id="par_id761614075167722" role="listitem">Press the <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline> key and select paragraphs to be included from the first list.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id321614075388249" role="listitem">Select any item in the second list, except for the first item.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id471614075446655" role="listitem">Right-click, choose <menuitem>List - Add to Previous List</menuitem>.</paragraph>
</listitem>
</list>
<h2 id="hd_id851614072896370">Add Selected Paragraphs to a List</h2>
<list type="ordered">
<listitem>
<paragraph id="par_id711614093596470" role="listitem">Choose the list to get additional list items.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id211614072937386" role="listitem">Select desired paragraphs that follow anywhere after the list.</paragraph>
</listitem>
<listitem>
<paragraph id="par_id961614073544958" role="listitem">Right-click, choose <menuitem>List - Add to Previous List</menuitem> to add the selected paragraphs as list items to the first list that preceded the paragraphs.</paragraph>
</listitem>
</list>
<note id="par_id861614074931979">This technique works for ordered and unordered lists, and with paragraphs that are already list items.</note>
</body>
</helpdocument>
diff --git a/source/text/swriter/main0206.xhp b/source/text/swriter/main0206.xhp
index 3de9c5e..164614f 100644
--- a/source/text/swriter/main0206.xhp
+++ b/source/text/swriter/main0206.xhp
@@ -50,6 +50,8 @@
<embed href="text/swriter/02/06130000.xhp#syhinuntermitunterpunkten"/>
<embed href="text/swriter/02/06140000.xhp#restart_numbering"/>
<embed href="text/swriter/02/06140000.xhp#syrestart_numbering"/>
<embed href="text/swriter/02/add_to_list.xhp#add_to_list"/>
<embed href="text/swriter/02/add_to_list.xhp#add_to_list_icon"/>
<embed href="text/shared/01/06050000.xhp#bullets_and_numbering"/>
<embed href="text/shared/00/00040500.xhp#sybullets_and_numbering"/>
</body>