Files
help/source/text/shared/00/01000000.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

46 lines
2.4 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="textshared0001000000xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Showing and Hiding Docked Windows</title>
<filename>/text/shared/00/01000000.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
<h1 id="hd_id3085157">Showing and Hiding Docked Windows</h1>
<paragraph role="paragraph" id="par_id3149948" xml-lang="en-US">Every <link href="text/shared/00/00000005.xhp#docking">docked</link> window has an icon to control the display properties of the window.</paragraph>
<section id="floaticons">
<paragraph role="paragraph" id="par_id3150502" xml-lang="en-US">To show or hide a docked window, click the icon.</paragraph>
</section>
<h2 id="hd_id3150465">AutoShow and AutoHide Docked Windows</h2>
<paragraph role="paragraph" id="par_id3155504" xml-lang="en-US">You can click the edge of a hidden docked window to open the window.</paragraph>
<paragraph role="paragraph" id="par_id3153257" xml-lang="en-US">The docked window closes automatically when you move the mouse pointer outside of the window.</paragraph>
<paragraph role="paragraph" id="par_id3154046" xml-lang="en-US">Multiple docked windows act as a single window in AutoShow/AutoHide mode.</paragraph>
<h3 id="hd_id3145416">Drag and Drop</h3>
<paragraph role="paragraph" id="par_id3149578" xml-lang="en-US">If you drag an object over the edge of a hidden docked window, the window opens in AutoShow mode.</paragraph>
</body>
</helpdocument>