summaryrefslogtreecommitdiff
path: root/source/text/swriter/main0205.xhp
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-03-13 16:41:53 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-03-16 15:18:30 +0000
commit4453c0b2edae4934f87594d5974783c4a1a5ea54 (patch)
treeda7008bd439cc57cd8d44597f8cba6fc1808aa0c /source/text/swriter/main0205.xhp
parent77cb682cd1b004e7247560e60f603a4bb0565b8d (diff)
convert paragraphs with role="heading" & childelements to → h<level>
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>
Diffstat (limited to 'source/text/swriter/main0205.xhp')
-rw-r--r--source/text/swriter/main0205.xhp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/text/swriter/main0205.xhp b/source/text/swriter/main0205.xhp
index 45783dee46..ce98383f5a 100644
--- a/source/text/swriter/main0205.xhp
+++ b/source/text/swriter/main0205.xhp
@@ -29,7 +29,7 @@
<body>
<section id="drawing_object_properties_bar">
<bookmark xml-lang="en-US" branch="hid/HID_DRAW_TOOLBOX" id="bm_id3147568" localize="false"/>
-<paragraph role="heading" id="hd_id3154275" xml-lang="en-US" level="1"><link href="text/swriter/main0205.xhp">Drawing Object Properties Bar</link></paragraph>
+<h1 id="hd_id3154275"><link href="text/swriter/main0205.xhp">Drawing Object Properties Bar</link></h1>
<paragraph role="paragraph" id="par_id3147578" xml-lang="en-US"><ahelp hid="HID_DRAW_TOOLBOX">You can see the <emph>Drawing Object Properties</emph> bar in Writer and Calc. Select the menu View - Toolbars - Drawing Object Properties. The controls are enabled when a drawing object is selected. You see some different icons by default, whether the current document is a text document or a spreadsheet.</ahelp></paragraph>
</section>
@@ -37,18 +37,18 @@
<embed href="text/shared/00/00040502.xhp#syline"/>
<embed href="text/shared/02/05020000.xhp#arrow_style"/>
<embed href="text/shared/02/05020000.xhp#syarrow_style"/>
-<paragraph role="heading" id="hd_id3147784" xml-lang="en-US" level="2"><link href="text/shared/01/05200100.xhp">Line Style</link></paragraph>
+<h2 id="hd_id3147784"><link href="text/shared/01/05200100.xhp">Line Style</link></h2>
<embed href="text/shared/01/05200100.xhp#stiltext"/>
<embed href="text/shared/00/00000004.xhp#syline_style"/>
-<paragraph role="heading" id="hd_id3147818" xml-lang="en-US" level="2"><link href="text/shared/01/05200100.xhp">Line Width</link></paragraph>
+<h2 id="hd_id3147818"><link href="text/shared/01/05200100.xhp">Line Width</link></h2>
<embed href="text/shared/01/05200100.xhp#breitetext"/>
<embed href="text/shared/00/00000004.xhp#syline_width"/>
-<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="2"><link href="text/shared/01/05200100.xhp">Line Color</link></paragraph>
+<h2 id="hd_id3147229"><link href="text/shared/01/05200100.xhp">Line Color</link></h2>
<embed href="text/shared/01/05200100.xhp#farbetext"/>
<embed href="text/shared/00/00000004.xhp#syline_color"/>
<embed href="text/shared/01/05210000.xhp#area"/>
<embed href="text/shared/00/00040502.xhp#syarea"/>
-<paragraph role="heading" id="hd_id3147280" xml-lang="en-US" level="2"><link href="text/shared/01/05210100.xhp">Area Style/Filling</link></paragraph>
+<h2 id="hd_id3147280"><link href="text/shared/01/05210100.xhp">Area Style/Filling</link></h2>
<embed href="text/shared/01/05210100.xhp#sytext"/>
<embed href="text/shared/00/00000004.xhp#syarea_style"/>
<embed href="text/shared/02/05090000.xhp#rotate"/>