summaryrefslogtreecommitdiff
path: root/source/text/shared/optionen/01110100.xhp
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-03-13 16:04:19 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-03-16 15:18:10 +0000
commit77cb682cd1b004e7247560e60f603a4bb0565b8d (patch)
tree5ff7d8bf5fcc8f9fe162b8ed05ca7eeaf21022ba /source/text/shared/optionen/01110100.xhp
parent00567a452bb1e270dd2438dcc865359edba56c19 (diff)
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>
Diffstat (limited to 'source/text/shared/optionen/01110100.xhp')
-rw-r--r--source/text/shared/optionen/01110100.xhp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/text/shared/optionen/01110100.xhp b/source/text/shared/optionen/01110100.xhp
index 0524a04fd9..34a334f7d5 100644
--- a/source/text/shared/optionen/01110100.xhp
+++ b/source/text/shared/optionen/01110100.xhp
@@ -41,11 +41,11 @@
<section id="howtoget">
<embed href="text/shared/00/00000406.xhp#diagrgfarbe"/>
</section>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/optchartcolorspage/colors" id="bm_id49409461" localize="false"/><paragraph role="heading" id="hd_id3154751" xml-lang="en-US" level="2">Chart colors</paragraph>
+<bookmark xml-lang="en-US" branch="hid/cui/ui/optchartcolorspage/colors" id="bm_id49409461" localize="false"/><h2 id="hd_id3154751">Chart colors</h2>
<paragraph role="paragraph" id="par_id3145345" xml-lang="en-US"><ahelp hid="cui/ui/optchartcolorspage/colors">Displays all the colors available for the data series.</ahelp> Select a data series to change its color. Select the desired color from the adjacent color table.</paragraph>
-<paragraph role="heading" id="hd_id3154823" xml-lang="en-US" level="2">Color table</paragraph>
+<h2 id="hd_id3154823">Color table</h2>
<paragraph role="paragraph" id="par_id3149398" xml-lang="en-US">This table is used as a means of replacing the chart colors for the selected data rows. For example, if you selected data row 6 and then click on the color green 8, the old color of the data row is replaced by green 8. The name of the selected color is shown below the color table.</paragraph>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/optchartcolorspage/default" id="bm_id5361491" localize="false"/><paragraph role="heading" id="hd_id3147242" xml-lang="en-US" level="2">Default</paragraph>
+<bookmark xml-lang="en-US" branch="hid/cui/ui/optchartcolorspage/default" id="bm_id5361491" localize="false"/><h2 id="hd_id3147242">Default</h2>
<paragraph role="paragraph" id="par_id3156347" xml-lang="en-US"><ahelp hid="cui/ui/optchartcolorspage/default">Restores the color settings that were defined when the program was installed.</ahelp></paragraph>
<embed href="text/shared/00/00000001.xhp#optionsbuttonwarn01" />
</body>