forked from amazingfate/help
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>
69 lines
3.6 KiB
XML
69 lines
3.6 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="textsharedguidechart_titlexml" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">Editing Chart Titles</title>
|
|
<filename>/text/shared/guide/chart_title.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_id3156136"><bookmark_value>charts; editing titles</bookmark_value>
|
|
<bookmark_value>editing; chart titles</bookmark_value>
|
|
<bookmark_value>titles; editing in charts</bookmark_value>
|
|
</bookmark>
|
|
<paragraph role="heading" id="hd_id3156136" xml-lang="en-US" level="1"><variable id="chart_title"><link href="text/shared/guide/chart_title.xhp">Editing Chart Titles</link>
|
|
</variable></paragraph>
|
|
<paragraph role="paragraph" id="par_id3153527" xml-lang="en-US">To edit a chart title that you have inserted into a $[officename] document:</paragraph>
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3153681" xml-lang="en-US">Double-click on the chart.</paragraph>
|
|
<paragraph role="listitem" id="par_id3145345" xml-lang="en-US">A gray border appears around the chart and the menu bar now contains commands for editing the objects in the chart.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3149811" xml-lang="en-US">Double-click on an existing title text. A gray border appears around the text and you can now make changes. Press Enter to create a new line.</paragraph>
|
|
<paragraph role="listitem" id="par_id2706991" xml-lang="en-US">If no title text exists, choose <emph>Insert - Titles</emph> to enter the text in a dialog.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3145382" xml-lang="en-US">A single-click on the title allows you to move it with the mouse.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3155341" xml-lang="en-US">If you want to change the formatting of the main title, choose <emph>Format - Title - Main Title</emph>. This opens the <emph>Title</emph> dialog.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3147336" xml-lang="en-US">Select one of the available tabs in the dialog to make modifications.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3155135" xml-lang="en-US">Click <emph>OK</emph>. In your document, click outside the chart to exit chart editing mode.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<section id="relatedtopics">
|
|
<paragraph role="paragraph" id="par_id3154046" xml-lang="en-US"><link href="text/schart/01/05010000.xhp">Format - Object properties</link></paragraph>
|
|
<embed href="text/shared/guide/chart_legend.xhp#chart_legend"/>
|
|
<embed href="text/shared/guide/chart_axis.xhp#chart_axis"/>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|