forked from amazingfate/help
Replacement done with
find . -name \*.xhp -print0 |xargs -0 -P 0 perl -CS -pi -e \
's#(<link[^>]*?) +name *="[^"]*" *( [^>]+|) *>#$1$2>#g'
(note some inconsistencies with space between name and = and also having
empty value, and some more complicated expression to also clear up
double space before/after the attribute)
translation files will be prepped with:
find */helpcontent2 -name \*.po -print0 |xargs -0 -P 0 perl -CS -pi -e \
$'s#(<link[^>]*?) +name=(?:\\\\"[^"]*\\\\"|\'[^\']*\') *( [^>]+|) *(/?>)#$1$2$3#g unless /^#/'
(note that not all languages use the " as quote character for the
attributes, but that also single quotes appera in the po file. Hence
the use of the shell $'string' syntax to be able to quote ' as \'
It also requires to quote the backslash, so that it needs to be escaped
once for the shell, then another time for perl. Also don't work on
obsolete strings (those are prefixed with #~ in the po files)
Also note that <link..></link> gets turned into <link ../> during
translation extraction (along with removal of the space between the
attribute name and the value), so the pattern needs to be slightly
different here)
Change-Id: I95e53a08e6b0095cd894109ea0de154cc4859d8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
79 lines
3.9 KiB
XML
79 lines
3.9 KiB
XML
<?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 http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
-->
|
|
|
|
<meta>
|
|
<topic id="textswriterguideusing_numbered_listsxml" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">Adding Bullets</title>
|
|
<filename>/text/swriter/guide/using_numbered_lists.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
|
|
<body>
|
|
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id3155186">
|
|
<bookmark_value>unordered lists;turning on and off</bookmark_value>
|
|
<bookmark_value>paragraphs; bulleted</bookmark_value>
|
|
<bookmark_value>bullets;adding and editing</bookmark_value>
|
|
<bookmark_value>formatting;bullets</bookmark_value>
|
|
<bookmark_value>removing;bullets in text documents</bookmark_value>
|
|
<bookmark_value>changing;bulleting symbols</bookmark_value>
|
|
</bookmark>
|
|
|
|
<h1 id="hd_id3155186" xml-lang="en-US"><variable id="using_numbered_lists"><link href="text/swriter/guide/using_numbered_lists.xhp">Adding Bullets</link></variable></h1>
|
|
|
|
<h2 id="hd_id3291116" xml-lang="en-US">To Add Bullets</h2>
|
|
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph id="par_id3149829" role="listitem" xml-lang="en-US">Select the paragraph(s) that you want to add bullets to.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id3149635" role="listitem" xml-lang="en-US">On the <menuitem>Formatting</menuitem> Bar, click the <menuitem>Toggle Unordered List</menuitem> icon (<keycode>Shift+F12</keycode>).</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<embed href="text/shared/02/06120000.xhp#sytoggle_bullets"/>
|
|
|
|
<note id="par_id3145403" xml-lang="en-US">To remove bullets, select the bulleted paragraphs, and then click the <emph>Toggle Unordered List</emph> icon on the <emph>Formatting</emph> Bar.</note>
|
|
|
|
<h2 id="hd_id3154403" xml-lang="en-US">To Format Bullets</h2>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<paragraph id="par_id3154416" role="listitem" xml-lang="en-US">To change the formatting of an unordered list, choose <menuitem>Format - Bullets and Numbering</menuitem>.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id3153390" role="listitem" xml-lang="en-US">Click on the <menuitem>Unordered</menuitem> tab or the <menuitem>Image</menuitem> tab, and then select a symbol style in the <menuitem>Selection</menuitem> area.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id3153399" role="listitem" xml-lang="en-US">To introduce another bulleting symbol, click on the <item type="menuitem">Customize</item> tab, click the <item type="menuitem">Select</item> button next to <item type="menuitem">Character</item>, then select a special character.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
|
|
<section id="relatedtopics">
|
|
<embed href="text/swriter/guide/using_numbering.xhp#using_numbering"/>
|
|
<embed href="text/swriter/guide/using_numbered_lists2.xhp#using_numbered_lists2"/>
|
|
<embed href="text/shared/guide/numbering_stop.xhp#numbering_stop"/>
|
|
<embed href="text/swriter/guide/join_numbered_lists.xhp#join_numbered_lists"/>
|
|
<embed href="text/swriter/guide/captions.xhp#captions"/>
|
|
<embed href="text/swriter/guide/number_sequence.xhp#number_sequence"/>
|
|
<embed href="text/swriter/guide/numbering_paras.xhp#numbering_paras"/>
|
|
</section>
|
|
</body>
|
|
|
|
</helpdocument> |