Files
help/source/text/simpress/guide/orgchart.xhp
Ilmari Lauhakangas 7e42394ecb tdf#152323 drop name attribute from <link> elements
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>
2022-12-07 17:39:02 +00:00

101 lines
5.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="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>
<paragraph role="heading" id="hd_id3159153" xml-lang="en-US" level="3">To create a flowchart:</paragraph>
<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>
<paragraph role="heading" id="hd_id3155255" xml-lang="en-US" level="3">To add text to the shapes on your flowchart</paragraph>
<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>
<paragraph role="heading" id="hd_id3153730" xml-lang="en-US" level="3">To add a color fill to a shape:</paragraph>
<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>
<paragraph role="heading" id="hd_id3150934" xml-lang="en-US" level="3">To add some hot spots that call other slides:</paragraph>
<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>