Files
help/source/text/sdraw/guide/join_objects.xhp
Christian Lohmaier 77cb682cd1 convert plain paragraphs with role="heading" → h<level>
i.e. without child elements and also drop the language that was changed
to implied in the dtd previously/defaults to en-US unless specified.

This change doesn't affect translations, only the content of the
paragraph/headings is extracted.

done with:
perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g'

(all permutations re order of attributes, and xml-lang="en-US" being
optional / implied)

Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-03-16 15:18:10 +00:00

58 lines
2.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* 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 .
-->
<helpdocument version="1.0">
<meta>
<topic id="textsdrawguidejoin_objectsxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Connecting Lines</title>
<filename>/text/sdraw/guide/join_objects.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3145799"><bookmark_value>draw objects; connecting lines to</bookmark_value>
<bookmark_value>connecting; lines</bookmark_value>
<bookmark_value>lines; connecting objects</bookmark_value>
<bookmark_value>areas; from connected lines</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="1"><variable id="join_objects"><link href="text/sdraw/guide/join_objects.xhp">Connecting Lines</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3154512" xml-lang="en-US">When you connect lines, lines are drawn between neighboring endpoints.</paragraph>
<h3 id="hd_id3150752">To connect lines:</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3153714" xml-lang="en-US">Select two or more lines.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3156383" xml-lang="en-US">Right-click and choose <emph>Shape - Connect</emph>.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3149257" xml-lang="en-US">To create a closed object, right-click a line and choose <emph>Close Object</emph>.</paragraph>
<paragraph role="note" id="par_id3150363" xml-lang="en-US">You can only use the <emph>Close Object</emph> command on connected lines, <emph>Freeform Lines </emph>and unfilled <emph>Curves</emph>.</paragraph>
<section id="relatedtopics">
<embed href="text/sdraw/guide/groups.xhp#groups"/>
<embed href="text/sdraw/guide/join_objects3d.xhp#join_objects3d"/>
</section>
</body>
</helpdocument>