Files
help/source/text/sdraw/guide/join_objects3d.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

67 lines
3.3 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_objects3dxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Assembling 3D Objects</title>
<filename>/text/sdraw/guide/join_objects3d.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3154014"><bookmark_value>3D objects; assembling</bookmark_value>
<bookmark_value>assembled objects in 3D</bookmark_value>
<bookmark_value>combining;3D objects</bookmark_value>
<bookmark_value>joining;3D objects</bookmark_value>
</bookmark>
<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US" localize="false"/>
<paragraph role="heading" id="hd_id3156442" xml-lang="en-US" level="1"><variable id="join_objects3d"><link href="text/sdraw/guide/join_objects3d.xhp">Assembling 3D Objects</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3145251" xml-lang="en-US">3D objects that each form a 3D scene can be combined into a single 3D scene.</paragraph>
<h3 id="hd_id3150042">To combine 3D objects:</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3154702" xml-lang="en-US">Insert a 3D object from the <emph>3D Objects</emph> toolbar (for example, a cube).</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3155335" xml-lang="en-US">Insert a second slightly larger 3D object (for example, a sphere).</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3148488" xml-lang="en-US">Select the second 3D object (sphere) and choose <emph>Edit - Cut</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149211" xml-lang="en-US">Double-click the first object (cube) to enter its group.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154652" xml-lang="en-US">Choose <emph>Edit - Paste</emph>. Both objects are now part of the same group. If you want, you can edit the individual objects or change their position within the group.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3155376" xml-lang="en-US">Double-click outside the group to exit the group.</paragraph>
</listitem>
</list>
<paragraph role="note" id="par_id3148606" xml-lang="en-US">You cannot intersect or subtract 3D objects.</paragraph>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id3154537" xml-lang="en-US"><link href="text/simpress/02/10090000.xhp">Objects in 3D</link></paragraph>
<embed href="text/sdraw/guide/join_objects.xhp#join_objects"/>
</section>
</body>
</helpdocument>