summaryrefslogtreecommitdiff
path: root/source/text/scalc/guide/consolidate.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/scalc/guide/consolidate.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/scalc/guide/consolidate.xhp')
-rw-r--r--source/text/scalc/guide/consolidate.xhp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/scalc/guide/consolidate.xhp b/source/text/scalc/guide/consolidate.xhp
index 55eb650e06..f78b4d0298 100644
--- a/source/text/scalc/guide/consolidate.xhp
+++ b/source/text/scalc/guide/consolidate.xhp
@@ -37,7 +37,7 @@
<paragraph xml-lang="en-US" id="hd_id3150791" role="heading" level="1"><variable id="consolidate"><link href="text/scalc/guide/consolidate.xhp">Consolidating Data</link>
</variable></paragraph>
<paragraph xml-lang="en-US" id="par_id3153191" role="paragraph">During consolidation, the contents of the cells from several sheets will be combined in one place.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id892056" role="heading" level="2">To Combine Cell Contents</paragraph>
+ <h2 id="hd_id892056">To Combine Cell Contents</h2>
<list type="ordered">
<listitem>
<paragraph xml-lang="en-US" id="par_id3151073" role="listitem">Open the document that contains the cell ranges to be consolidated.</paragraph>
@@ -66,7 +66,7 @@
<paragraph xml-lang="en-US" id="par_id3149315" role="listitem">Click <emph>OK</emph> to consolidate the ranges.</paragraph>
</listitem>
</list>
- <paragraph xml-lang="en-US" id="par_idN107DE" role="heading" level="2">Additional Settings</paragraph>
+ <h2 id="par_idN107DE">Additional Settings</h2>
<paragraph xml-lang="en-US" id="par_id3147250" role="paragraph">Click <emph>More</emph> in the <emph>Consolidate</emph> dialog to display additional settings:</paragraph>
<list type="unordered">
<listitem>