Files
help/source/text/simpress/guide/orgchart.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

101 lines
5.0 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="textsimpressguideorgchartxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Creating a Flowchart</title>
<filename>/text/simpress/guide/orgchart.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3150439"><bookmark_value>connectors; using</bookmark_value>
<bookmark_value>flowcharts</bookmark_value>
<bookmark_value>organization charts</bookmark_value>
<bookmark_value>hot spots in flowcharts</bookmark_value>
<bookmark_value>interactions; hot spots</bookmark_value>
</bookmark><comment>changed orgcharts (Google about 1 million pages) to organization charts (about 33 million pages)</comment><paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="1"><variable id="orgchart"><link href="text/simpress/guide/orgchart.xhp">Creating a Flowchart</link>
</variable></paragraph>
<h3 id="hd_id3159153">To create a flowchart:</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3152482" xml-lang="en-US">Select a tool from the <emph>Flowchart</emph> toolbar on the <emph>Drawing</emph> bar.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150715" xml-lang="en-US">Drag a shape in your slide.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154486" xml-lang="en-US">To add more shapes, repeat the last steps.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3146967" xml-lang="en-US">Open the <emph>Connectors </emph>toolbar on the <emph>Drawing</emph> bar, and select a connector line.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149945" xml-lang="en-US">Move the pointer over the edge of a shape so that the connection sites appear.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3146871" xml-lang="en-US">Click a connection site, drag to a connection site on another shape, and then release.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145824" xml-lang="en-US">To add more connectors, repeat the last steps.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3153036" xml-lang="en-US">You now have the basic outline for your flowchart.</paragraph>
<h3 id="hd_id3155255">To add text to the shapes on your flowchart</h3>
<paragraph role="paragraph" id="par_id3150865" xml-lang="en-US">Do one of the following:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3145592" xml-lang="en-US">Double-click the shape, and type or paste your text.</paragraph>
</listitem>
</list>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3154504" xml-lang="en-US">Click the <emph>Text</emph> icon on the <emph>Drawing</emph> bar, and drag a text object over the shape. Type or paste your text into the text object.</paragraph>
</listitem>
</list>
<h3 id="hd_id3153730">To add a color fill to a shape:</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3155930" xml-lang="en-US">Select the shape, and choose <emph>Format - Area</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145348" xml-lang="en-US">Select <emph>Color</emph>, and then click a color in the list.</paragraph>
</listitem>
</list>
<h3 id="hd_id3150934">To add some hot spots that call other slides:</h3>
<paragraph role="listitem" id="par_id3145300" xml-lang="en-US">Assign <link href="text/simpress/01/06070000.xhp">interactions</link> to some objects on your slide. </paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_idN10898" xml-lang="en-US">Select the object, then choose <emph>Slide Show - Interaction</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_idN108A0" xml-lang="en-US">Select an interaction in the dialog. For example, select to go to the next slide when the user clicks the object.</paragraph>
</listitem>
</list>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id3153922" xml-lang="en-US"><link href="text/simpress/02/10100000.xhp">Connectors</link></paragraph>
<paragraph role="paragraph" id="par_id3156257" xml-lang="en-US"><link href="text/simpress/02/10030200.xhp">Gluepoints</link></paragraph>
</section>
</body>
</helpdocument>