summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-03-13 16:10:49 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-03-16 15:17:52 +0000
commit00567a452bb1e270dd2438dcc865359edba56c19 (patch)
tree59ca1374098170e072758e97592397004b60e246
parentd29743de6f11453152a00222fddf0e4dd12c2c05 (diff)
convert plain paragraphs with role="heading" → h<level> (localize="false")
done with perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")|localize="false"/;} s#<paragraph(((\s+($base)){4})|(\s+($base|xml-lang="en-US")){5})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id} localize="false">$+{body}</h$+{level}>#g' Change-Id: I5d2b1b6326801adb8d000b3353d314d2fc9f322d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148796 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/shared/00/icon_alt.xhp2
-rw-r--r--source/text/shared/01/05030300.xhp6
2 files changed, 4 insertions, 4 deletions
diff --git a/source/text/shared/00/icon_alt.xhp b/source/text/shared/00/icon_alt.xhp
index 7307df7fcb..ec1faee73f 100644
--- a/source/text/shared/00/icon_alt.xhp
+++ b/source/text/shared/00/icon_alt.xhp
@@ -30,7 +30,7 @@
</history>
</meta>
<body>
-<paragraph role="heading" id="hd_id569958" xml-lang="en-US" level="1" localize="false">Standard Icons Alt Texts to be Embedded</paragraph>
+<h1 id="hd_id569958" localize="false">Standard Icons Alt Texts to be Embedded</h1>
<paragraph role="paragraph" id="par_idN10546" xml-lang="en-US"><variable id="alt_icon">Icon
</variable></paragraph>
<paragraph role="paragraph" id="par_idN10555" xml-lang="en-US"><variable id="alt_warning">Warning Icon
diff --git a/source/text/shared/01/05030300.xhp b/source/text/shared/01/05030300.xhp
index 2778f20c5c..4a03b7281c 100644
--- a/source/text/shared/01/05030300.xhp
+++ b/source/text/shared/01/05030300.xhp
@@ -73,13 +73,13 @@
<paragraph role="heading" id="hd_id3144760" xml-lang="en-US" level="3">None</paragraph>
<paragraph role="paragraph" id="par_id3143231" xml-lang="en-US"><ahelp hid="cui/ui/paratabspage/radiobuttonBTN_FILLCHAR_NO">Inserts no fill characters, or removes existing fill characters to the left of the tab stop.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/paratabspage/radiobuttonBTN_FILLCHAR_POINTS" id="bm_id3150742" localize="false"/>
-<paragraph role="heading" id="hd_id3152933" localize="false" level="3">.......</paragraph>
+<h3 id="hd_id3152933" localize="false">.......</h3>
<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US"><ahelp hid="cui/ui/paratabspage/radiobuttonBTN_FILLCHAR_POINTS">Fills the empty space to the left of the tab stop with dots.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/paratabspage/radiobuttonBTN_FILLCHAR_DASHLINE" id="bm_id3156424" localize="false"/>
-<paragraph role="heading" id="hd_id3156280" localize="false" level="3">------</paragraph>
+<h3 id="hd_id3156280" localize="false">------</h3>
<paragraph role="paragraph" id="par_id3156212" xml-lang="en-US"><ahelp hid="cui/ui/paratabspage/radiobuttonBTN_FILLCHAR_DASHLINE">Fills the empty space to the left of the tab stop with dashes.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/paratabspage/radiobuttonBTN_FILLCHAR_UNDERSCORE" id="bm_id3150767" localize="false"/>
-<paragraph role="heading" id="hd_id3157960" localize="false" level="3">______</paragraph>
+<h3 id="hd_id3157960" localize="false">______</h3>
<paragraph role="paragraph" id="par_id3151043" xml-lang="en-US"><ahelp hid="cui/ui/paratabspage/radiobuttonBTN_FILLCHAR_UNDERSCORE">Draws a line to fill the empty space to the left of the tab stop.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/paratabspage/radiobuttonBTN_FILLCHAR_OTHER" id="bm_id3153057" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/paratabspage/entryED_FILLCHAR_OTHER" id="bm_id3151116" localize="false"/>