diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-03-13 16:41:53 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-03-16 15:18:30 +0000 |
commit | 4453c0b2edae4934f87594d5974783c4a1a5ea54 (patch) | |
tree | da7008bd439cc57cd8d44597f8cba6fc1808aa0c /source/text/simpress/02 | |
parent | 77cb682cd1b004e7247560e60f603a4bb0565b8d (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/simpress/02')
-rw-r--r-- | source/text/simpress/02/04070000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/08020000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/10080000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/10100000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/10120000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/13020000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/13030000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/13040000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/13050000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/13060000.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/02/13090000.xhp | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/source/text/simpress/02/04070000.xhp b/source/text/simpress/02/04070000.xhp index f75dd1e975..e62910c64e 100644 --- a/source/text/simpress/02/04070000.xhp +++ b/source/text/simpress/02/04070000.xhp @@ -33,7 +33,7 @@ <body> <section id="rehearse_timings"> <bookmark xml-lang="en-US" branch="hid/.uno:RehearseTimings" id="bm_id194363" localize="false"/> -<paragraph role="heading" id="hd_id3150010" xml-lang="en-US" level="1"><link href="text/simpress/02/04070000.xhp">Rehearse Timings</link></paragraph> +<h1 id="hd_id3150010"><link href="text/simpress/02/04070000.xhp">Rehearse Timings</link></h1> <paragraph role="paragraph" id="par_id3154491" xml-lang="en-US"><ahelp hid=".uno:RehearseTimings">Starts a slide show with a timer in the lower left corner.</ahelp></paragraph> </section> <section id="syrehearse_timings"> diff --git a/source/text/simpress/02/08020000.xhp b/source/text/simpress/02/08020000.xhp index c7d3cb62f3..f0876a0c51 100644 --- a/source/text/simpress/02/08020000.xhp +++ b/source/text/simpress/02/08020000.xhp @@ -29,7 +29,7 @@ <body> <section id="current_size"> <bookmark xml-lang="en-US" branch="hid/.uno:Position" id="bm_id3146119" localize="false"/> -<paragraph role="heading" id="hd_id3154011" xml-lang="en-US" level="1"><link href="text/simpress/02/08020000.xhp">Current Size</link></paragraph> +<h1 id="hd_id3154011"><link href="text/simpress/02/08020000.xhp">Current Size</link></h1> <paragraph role="paragraph" id="par_id3154321" xml-lang="en-US"><ahelp hid=".uno:Position">Displays the X and Y position of the cursor and the size of the selected object.</ahelp></paragraph> </section> <paragraph role="paragraph" id="par_id3154510" xml-lang="en-US">This Status bar field uses the same measurement units as the rulers. You can define the units by choosing <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01070500.xhp"><emph>%PRODUCTNAME Impress - General</emph></link>.</paragraph> diff --git a/source/text/simpress/02/10080000.xhp b/source/text/simpress/02/10080000.xhp index cb5e9d099c..ade0bc119a 100644 --- a/source/text/simpress/02/10080000.xhp +++ b/source/text/simpress/02/10080000.xhp @@ -40,7 +40,7 @@ <paragraph role="paragraph" id="par_id3149050" xml-lang="en-US" localize="false"/> <section id="curve"> <bookmark xml-lang="en-US" branch="hid/.uno:LineToolbox" id="bm_id3145114" localize="false"/> -<paragraph role="heading" id="hd_id3149875" xml-lang="en-US" level="1"><link href="text/simpress/02/10080000.xhp">Curve</link></paragraph> +<h1 id="hd_id3149875"><link href="text/simpress/02/10080000.xhp">Curve</link></h1> <paragraph role="paragraph" id="par_id3147301" xml-lang="en-US"><ahelp hid=".uno:LineToolbox">The Curve icon on the Drawing bar opens the <emph>Lines</emph> toolbar, where you can add lines and shapes to the current slide.</ahelp></paragraph> </section> <paragraph role="paragraph" id="par_id3157873" xml-lang="en-US">If you hold the Shift key down, the movement of the mouse is limited to multiples of 45 degrees. If you hold down the <switchinline select="sys"><caseinline select="MAC">Options</caseinline><defaultinline>Alt</defaultinline></switchinline> key, the new point will not be connected to the last point. This allows you to create objects that consist of curves that are not connected together. If you draw a smaller object while holding down the <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key into a larger object that you have not closed yet, the smaller object is subtracted from the larger one, thus appearing as a hole in the larger one.</paragraph> diff --git a/source/text/simpress/02/10100000.xhp b/source/text/simpress/02/10100000.xhp index a293e5865c..441cba4389 100644 --- a/source/text/simpress/02/10100000.xhp +++ b/source/text/simpress/02/10100000.xhp @@ -29,7 +29,7 @@ <body> <section id="connectors"> <bookmark xml-lang="en-US" branch="hid/.uno:ConnectorToolbox" id="bm_id6113909" localize="false"/> -<paragraph role="heading" id="hd_id3149664" xml-lang="en-US" level="1"><link href="text/simpress/02/10100000.xhp">Connectors</link></paragraph> +<h1 id="hd_id3149664"><link href="text/simpress/02/10100000.xhp">Connectors</link></h1> <table id="tbl_id3154512"> <tablerow> <tablecell> diff --git a/source/text/simpress/02/10120000.xhp b/source/text/simpress/02/10120000.xhp index e4bec85fe6..46cf1f08d6 100644 --- a/source/text/simpress/02/10120000.xhp +++ b/source/text/simpress/02/10120000.xhp @@ -35,7 +35,7 @@ <bookmark_value>dimension lines; drawing</bookmark_value> </bookmark> <bookmark xml-lang="en-US" branch="hid/.uno:ArrowsToolbox" id="bm_id4119521" localize="false"/> -<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="1"><link href="text/simpress/02/10120000.xhp">Arrows</link></paragraph> +<h1 id="hd_id3145799"><link href="text/simpress/02/10120000.xhp">Arrows</link></h1> <paragraph role="paragraph" id="par_id3145790" xml-lang="en-US"><ahelp hid=".uno:ArrowsToolbox">Open the <emph>Arrows</emph> toolbar, where you can add straight lines, lines with arrows, and dimension lines to the current slide or page.</ahelp></paragraph> <paragraph role="tip" id="par_idN1071F" xml-lang="en-US">If you want, you can add an arrow after you draw a line by choosing Format - Line, and then selecting an arrow style from the Style box.</paragraph> <h2 id="hd_id3153811">Line</h2> diff --git a/source/text/simpress/02/13020000.xhp b/source/text/simpress/02/13020000.xhp index efd8790382..aaa6ea9ab1 100644 --- a/source/text/simpress/02/13020000.xhp +++ b/source/text/simpress/02/13020000.xhp @@ -34,7 +34,7 @@ <bookmark xml-lang="en-US" branch="index" id="bm_id2825428"><bookmark_value>rotation mode</bookmark_value> </bookmark> <bookmark xml-lang="en-US" branch="hid/.uno:ClickChangeRotation" id="bm_id3153728" localize="false"/> -<paragraph role="heading" id="hd_id3149664" xml-lang="en-US" level="1"><link href="text/simpress/02/13020000.xhp">Rotation Mode after Clicking Object</link></paragraph> +<h1 id="hd_id3149664"><link href="text/simpress/02/13020000.xhp">Rotation Mode after Clicking Object</link></h1> <paragraph role="paragraph" id="par_id3154320" xml-lang="en-US"><ahelp hid=".uno:ClickChangeRotation">Changes the mouse-click behavior, so that rotation handles appear after you click an object, and then click it again.</ahelp> Drag a handle to rotate the object in the direction you want.</paragraph> </section> <section id="syrotation_mode"> diff --git a/source/text/simpress/02/13030000.xhp b/source/text/simpress/02/13030000.xhp index 0c429d8eeb..2e16786f26 100644 --- a/source/text/simpress/02/13030000.xhp +++ b/source/text/simpress/02/13030000.xhp @@ -34,7 +34,7 @@ <bookmark_value>effects; preview</bookmark_value> </bookmark> <bookmark xml-lang="en-US" branch="hid/.uno:AnimationMode" id="bm_id3146121" localize="false"/> -<paragraph role="heading" id="hd_id3149666" xml-lang="en-US" level="1"><link href="text/simpress/02/13030000.xhp">Allow Effects</link></paragraph> +<h1 id="hd_id3149666"><link href="text/simpress/02/13030000.xhp">Allow Effects</link></h1> <paragraph role="paragraph" id="par_id3145251" xml-lang="en-US"><ahelp hid=".uno:AnimationMode">Plays a preview of an animation effect that is assigned to an object, when you click the object in the slide. To select an object for editing, hold down the <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key when you click.</ahelp></paragraph> <table id="tbl_id3154756"> <tablerow> diff --git a/source/text/simpress/02/13040000.xhp b/source/text/simpress/02/13040000.xhp index 39a829a87a..f7016374c5 100644 --- a/source/text/simpress/02/13040000.xhp +++ b/source/text/simpress/02/13040000.xhp @@ -34,7 +34,7 @@ <bookmark_value>allowing; interaction</bookmark_value> </bookmark> <bookmark xml-lang="en-US" branch="hid/.uno:ActionMode" id="bm_id3145297" localize="false"/> -<paragraph role="heading" id="hd_id3148386" xml-lang="en-US" level="1"><link href="text/simpress/02/13040000.xhp">Allow Interaction</link></paragraph> +<h1 id="hd_id3148386"><link href="text/simpress/02/13040000.xhp">Allow Interaction</link></h1> <paragraph role="paragraph" id="par_id3150266" xml-lang="en-US"><ahelp hid=".uno:ActionMode">Runs a preview of the interaction that is assigned to an object, when you click the object in the slide. To select an object for editing, hold down the <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key when you click.</ahelp></paragraph> <table id="tbl_id3155817"> <tablerow> diff --git a/source/text/simpress/02/13050000.xhp b/source/text/simpress/02/13050000.xhp index 79163f4010..e545759072 100644 --- a/source/text/simpress/02/13050000.xhp +++ b/source/text/simpress/02/13050000.xhp @@ -35,7 +35,7 @@ <bookmark_value>showing; guides</bookmark_value> </bookmark> <bookmark xml-lang="en-US" branch="hid/.uno:HelplinesVisible" id="bm_id3153144" localize="false"/> -<paragraph role="heading" id="hd_id3152596" xml-lang="en-US" level="1"><link href="text/simpress/02/13050000.xhp">Show Snap Lines</link></paragraph> +<h1 id="hd_id3152596"><link href="text/simpress/02/13050000.xhp">Show Snap Lines</link></h1> <paragraph role="paragraph" id="par_id3154490" xml-lang="en-US"><ahelp hid=".uno:HelplinesVisible">Shows or hides snap lines so can you align objects on your slide. To remove a snap line, drag it off the slide.</ahelp></paragraph> </section> <section id="syshow_snap_lines"> diff --git a/source/text/simpress/02/13060000.xhp b/source/text/simpress/02/13060000.xhp index 91cdb5b8bf..ec6a72469a 100644 --- a/source/text/simpress/02/13060000.xhp +++ b/source/text/simpress/02/13060000.xhp @@ -32,7 +32,7 @@ </bookmark> <bookmark xml-lang="en-US" branch="hid/.uno:DoubleClickTextEdit" id="bm_id3147434" localize="false"/> -<paragraph role="heading" id="hd_id3150010" xml-lang="en-US" level="1"><link href="text/simpress/02/13060000.xhp">Double-Click to add Text</link></paragraph> +<h1 id="hd_id3150010"><link href="text/simpress/02/13060000.xhp">Double-Click to add Text</link></h1> <paragraph role="paragraph" id="par_id3149378" xml-lang="en-US"><ahelp hid=".uno:DoubleClickTextEdit">Changes the mouse-click behavior, so that you can double-click an object to add or edit text.</ahelp></paragraph> </section> <section id="sydoubleclick_textedit"> diff --git a/source/text/simpress/02/13090000.xhp b/source/text/simpress/02/13090000.xhp index 00b84e08e7..f49ef5eb51 100644 --- a/source/text/simpress/02/13090000.xhp +++ b/source/text/simpress/02/13090000.xhp @@ -32,7 +32,7 @@ <bookmark_value>objects; with attributes</bookmark_value> </bookmark> <bookmark xml-lang="en-US" branch="hid/.uno:SolidCreate" id="bm_id8691281" localize="false"/> -<paragraph xml-lang="en-US" id="hd_id3152596" role="heading" level="1"><link href="text/simpress/02/13090000.xhp">Modify Object with Attributes</link></paragraph> +<h1 id="hd_id3152596"><link href="text/simpress/02/13090000.xhp">Modify Object with Attributes</link></h1> <paragraph xml-lang="en-US" id="par_id3151074" role="paragraph"><ahelp hid=".uno:SolidCreate">If this icon on the <emph>Options</emph> bar is activated, objects are shown with their attributes, but with 50% transparency, while you move or draw them.</ahelp> If this icon is not activated, only a contour is shown while drawing, and the object is shown with all attributes when you release the mouse button.</paragraph> </section> <section id="syobject_with_attributes"> |