From 4453c0b2edae4934f87594d5974783c4a1a5ea54 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Date: Mon, 13 Mar 2023 16:41:53 +0100 Subject: convert paragraphs with role="heading" & childelements to → h<level> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and also drop the language that was changed to implied 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' and manually undoing the one that uses <sup>in body that's not valid according to the dtd in the h tags. Change-Id: Ibd4aed3157ed168cd5005161575672a392e59202 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148797 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> --- source/text/scalc/01/06030300.xhp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/text/scalc/01/06030300.xhp') diff --git a/source/text/scalc/01/06030300.xhp b/source/text/scalc/01/06030300.xhp index 6d54bda364..5ae0a69372 100644 --- a/source/text/scalc/01/06030300.xhp +++ b/source/text/scalc/01/06030300.xhp @@ -34,7 +34,7 @@ <section id="trace_dependents"> <bookmark xml-lang="en-US" branch="index" id="bm_id3153252"><bookmark_value>cells; tracing dependents</bookmark_value></bookmark> <bookmark branch="hid/.uno:ShowDependents" xml-lang="en-US" id="bm_id3143267" localize="false"/> -<paragraph id="hd_id3153252" role="heading" level="1" xml-lang="en-US"><link href="text/scalc/01/06030300.xhp">Trace Dependents</link></paragraph> +<h1 id="hd_id3153252"><link href="text/scalc/01/06030300.xhp">Trace Dependents</link></h1> <paragraph role="paragraph" id="par_id3156024" xml-lang="en-US"><ahelp hid=".uno:ShowDependents" visibility="visible">Draws tracer arrows to the active cell from formulas that depend on values in the active cell.</ahelp></paragraph> </section> <paragraph role="paragraph" id="par_id3148948" xml-lang="en-US">The area of all cells that are used together with the active cell in a formula is highlighted by a blue frame.</paragraph> -- cgit