summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic
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/sbasic
parentconvert plain paragraphs with role="heading" → h<level> (localize="false") (diff)
downloadhelp-77cb682cd1b004e7247560e60f603a4bb0565b8d.tar.gz
help-77cb682cd1b004e7247560e60f603a4bb0565b8d.zip
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/sbasic')
-rw-r--r--source/text/sbasic/guide/access2base.xhp8
-rw-r--r--source/text/sbasic/guide/sample_code.xhp10
-rw-r--r--source/text/sbasic/guide/translation.xhp4
-rw-r--r--source/text/sbasic/shared/01/06130000.xhp38
-rw-r--r--source/text/sbasic/shared/01/06130100.xhp12
-rw-r--r--source/text/sbasic/shared/01/06130500.xhp10
-rw-r--r--source/text/sbasic/shared/01010210.xhp8
-rw-r--r--source/text/sbasic/shared/01020500.xhp6
-rw-r--r--source/text/sbasic/shared/01030300.xhp10
-rw-r--r--source/text/sbasic/shared/01050000.xhp16
-rw-r--r--source/text/sbasic/shared/01050100.xhp6
-rw-r--r--source/text/sbasic/shared/01050300.xhp10
-rw-r--r--source/text/sbasic/shared/01170100.xhp2
-rw-r--r--source/text/sbasic/shared/01170103.xhp28
-rw-r--r--source/text/sbasic/shared/02/11090000.xhp2
-rw-r--r--source/text/sbasic/shared/03010102.xhp2
-rw-r--r--source/text/sbasic/shared/03020302.xhp6
-rw-r--r--source/text/sbasic/shared/03020304.xhp6
-rw-r--r--source/text/sbasic/shared/03020305.xhp2
-rw-r--r--source/text/sbasic/shared/03020403.xhp2
-rw-r--r--source/text/sbasic/shared/03020406.xhp6
-rw-r--r--source/text/sbasic/shared/03020407.xhp6
-rw-r--r--source/text/sbasic/shared/03020409.xhp10
-rw-r--r--source/text/sbasic/shared/03020412.xhp6
-rw-r--r--source/text/sbasic/shared/03020415.xhp8
-rw-r--r--source/text/sbasic/shared/03030103.xhp8
-rw-r--r--source/text/sbasic/shared/03030104.xhp8
-rw-r--r--source/text/sbasic/shared/03030106.xhp8
-rw-r--r--source/text/sbasic/shared/03030107.xhp8
-rw-r--r--source/text/sbasic/shared/03030108.xhp8
-rw-r--r--source/text/sbasic/shared/03030110.xhp2
-rw-r--r--source/text/sbasic/shared/03030111.xhp8
-rw-r--r--source/text/sbasic/shared/03030112.xhp8
-rw-r--r--source/text/sbasic/shared/03030113.xhp8
-rw-r--r--source/text/sbasic/shared/03030114.xhp8
-rw-r--r--source/text/sbasic/shared/03030115.xhp8
-rw-r--r--source/text/sbasic/shared/03030116.xhp8
-rw-r--r--source/text/sbasic/shared/03030120.xhp2
-rw-r--r--source/text/sbasic/shared/03030130.xhp2
-rw-r--r--source/text/sbasic/shared/03030201.xhp8
-rw-r--r--source/text/sbasic/shared/03030204.xhp8
-rw-r--r--source/text/sbasic/shared/03030205.xhp8
-rw-r--r--source/text/sbasic/shared/03030206.xhp8
-rw-r--r--source/text/sbasic/shared/03050100.xhp8
-rw-r--r--source/text/sbasic/shared/03050200.xhp8
-rw-r--r--source/text/sbasic/shared/03050300.xhp6
-rw-r--r--source/text/sbasic/shared/03060100.xhp6
-rw-r--r--source/text/sbasic/shared/03060200.xhp6
-rw-r--r--source/text/sbasic/shared/03060300.xhp6
-rw-r--r--source/text/sbasic/shared/03060400.xhp6
-rw-r--r--source/text/sbasic/shared/03060500.xhp6
-rw-r--r--source/text/sbasic/shared/03060600.xhp6
-rw-r--r--source/text/sbasic/shared/03070100.xhp6
-rw-r--r--source/text/sbasic/shared/03070200.xhp6
-rw-r--r--source/text/sbasic/shared/03070300.xhp6
-rw-r--r--source/text/sbasic/shared/03070400.xhp6
-rw-r--r--source/text/sbasic/shared/03070500.xhp6
-rw-r--r--source/text/sbasic/shared/03080201.xhp8
-rw-r--r--source/text/sbasic/shared/03080301.xhp6
-rw-r--r--source/text/sbasic/shared/03080302.xhp8
-rw-r--r--source/text/sbasic/shared/03080401.xhp8
-rw-r--r--source/text/sbasic/shared/03080601.xhp8
-rw-r--r--source/text/sbasic/shared/03080701.xhp8
-rw-r--r--source/text/sbasic/shared/03080801.xhp8
-rw-r--r--source/text/sbasic/shared/03080802.xhp8
-rw-r--r--source/text/sbasic/shared/03090302.xhp6
-rw-r--r--source/text/sbasic/shared/03090403.xhp6
-rw-r--r--source/text/sbasic/shared/03090404.xhp8
-rw-r--r--source/text/sbasic/shared/03090405.xhp6
-rw-r--r--source/text/sbasic/shared/03100060.xhp6
-rw-r--r--source/text/sbasic/shared/03100070.xhp6
-rw-r--r--source/text/sbasic/shared/03100300.xhp2
-rw-r--r--source/text/sbasic/shared/03101000.xhp10
-rw-r--r--source/text/sbasic/shared/03102101.xhp2
-rw-r--r--source/text/sbasic/shared/03102200.xhp8
-rw-r--r--source/text/sbasic/shared/03102300.xhp8
-rw-r--r--source/text/sbasic/shared/03102400.xhp8
-rw-r--r--source/text/sbasic/shared/03102600.xhp8
-rw-r--r--source/text/sbasic/shared/03102700.xhp8
-rw-r--r--source/text/sbasic/shared/03103100.xhp6
-rw-r--r--source/text/sbasic/shared/03103400.xhp4
-rw-r--r--source/text/sbasic/shared/03103450.xhp4
-rw-r--r--source/text/sbasic/shared/03103500.xhp4
-rw-r--r--source/text/sbasic/shared/03103800.xhp4
-rw-r--r--source/text/sbasic/shared/03103900.xhp4
-rw-r--r--source/text/sbasic/shared/03104000.xhp4
-rw-r--r--source/text/sbasic/shared/03104100.xhp4
-rw-r--r--source/text/sbasic/shared/03104300.xhp6
-rw-r--r--source/text/sbasic/shared/03110100.xhp2
-rw-r--r--source/text/sbasic/shared/03120402.xhp8
-rw-r--r--source/text/sbasic/shared/03130700.xhp6
-rw-r--r--source/text/sbasic/shared/03130800.xhp8
-rw-r--r--source/text/sbasic/shared/03131000.xhp6
-rw-r--r--source/text/sbasic/shared/03131300.xhp6
-rw-r--r--source/text/sbasic/shared/03131400.xhp6
-rw-r--r--source/text/sbasic/shared/03132100.xhp8
-rw-r--r--source/text/sbasic/shared/03150000.xhp2
-rw-r--r--source/text/sbasic/shared/03150001.xhp2
-rw-r--r--source/text/sbasic/shared/05060700.xhp14
-rw-r--r--source/text/sbasic/shared/main0601.xhp4
-rw-r--r--source/text/sbasic/shared/vbasupport.xhp6
101 files changed, 355 insertions, 355 deletions
diff --git a/source/text/sbasic/guide/access2base.xhp b/source/text/sbasic/guide/access2base.xhp
index afb44b345f..2294f26e21 100644
--- a/source/text/sbasic/guide/access2base.xhp
+++ b/source/text/sbasic/guide/access2base.xhp
@@ -40,13 +40,13 @@
<bookmark_value>Microsoft Access; Access2Base</bookmark_value>
<bookmark_value>Access databases; run in Base</bookmark_value>
</bookmark>
- <paragraph role="heading" id="hd_idA2B002" xml-lang="en-US" level="1">Access2Base</paragraph>
- <paragraph role="heading" id="hd_idA2B003" xml-lang="en-US" level="2">What is Access2Base?</paragraph>
+ <h1 id="hd_idA2B002">Access2Base</h1>
+ <h2 id="hd_idA2B003">What is Access2Base?</h2>
<paragraph role="paragraph" id="par_idA2B004" xml-lang="en-US">Access2Base is a %PRODUCTNAME BASIC library of macros for (business or personal) application developers and advanced users. It is one of the libraries stored in "Application macros and dialogs".</paragraph>
<paragraph role="paragraph" id="par_idA2B005" xml-lang="en-US">The functionalities provided by the implemented macros are all directly inspired by Microsoft Access. The macros are callable mainly from a %PRODUCTNAME <emph>Base</emph> application, but also from <emph>any</emph> %PRODUCTNAME document (Writer, Calc, ...) where access to data stored in a database makes sense.</paragraph>
<paragraph role="paragraph" id="par_idA2B006" xml-lang="en-US">The API provided by Access2Base is intended to be more concise, intuitive and easy to learn than the standard UNO API (API = Application Programming Interface).</paragraph>
<paragraph role="warning" id="par_idA2B007" xml-lang="en-US"><emph>The library is documented online on </emph><link href="http://www.access2base.com"><emph>http://www.access2base.com</emph></link>.</paragraph>
- <paragraph role="heading" id="hd_idA2B008" xml-lang="en-US" level="2">The implemented macros include:</paragraph>
+ <h2 id="hd_idA2B008">The implemented macros include:</h2>
<list type="ordered" format="1">
<listitem>
<paragraph role="listitem" id="par_idA2B009" xml-lang="en-US">a simplified and extensible API for <emph>forms</emph>, <emph>dialogs</emph> and <emph>controls</emph> manipulations similar with the Microsoft Access object model,</paragraph>
@@ -76,7 +76,7 @@
<paragraph role="listitem" id="par_idA2B017" xml-lang="en-US">the support of both embedded forms and standalone (Writer) forms.</paragraph>
</listitem>
</list>
- <paragraph role="heading" id="hd_idA2B018" xml-lang="en-US" level="2">Compare Access2Base with Microsoft Access VBA</paragraph>
+ <h2 id="hd_idA2B018">Compare Access2Base with Microsoft Access VBA</h2>
<bascode>
<paragraph role="bascode" id="hd_idA2B019" xml-lang="en-US" localize="false">REM Open a form ... </paragraph>
<paragraph role="bascode" id="hd_idA2B020" xml-lang="en-US" localize="false"> OpenForm("myForm") </paragraph>
diff --git a/source/text/sbasic/guide/sample_code.xhp b/source/text/sbasic/guide/sample_code.xhp
index b6721f2dc8..9529087559 100644
--- a/source/text/sbasic/guide/sample_code.xhp
+++ b/source/text/sbasic/guide/sample_code.xhp
@@ -43,7 +43,7 @@
</section>
<paragraph role="paragraph" id="par_id3153031" xml-lang="en-US">The following examples are for a new <link href="text/sbasic/guide/create_dialog.xhp">dialog</link> called "Dialog1". Use the tools on the <emph>Toolbox</emph> bar in the dialog editor to create the dialog and add the following controls: a <emph>Check Box</emph> called "CheckBox1", a <emph>Label Field</emph> called "Label1", a <emph>Button</emph> called "CommandButton1", and a <emph>List Box</emph> called "ListBox1".</paragraph>
<paragraph role="warning" id="par_id3154141" xml-lang="en-US">Be consistent with uppercase and lowercase letter when you attach a control to an object variable.</paragraph>
-<paragraph role="heading" id="hd_id3154909" xml-lang="en-US" level="3">Global Function for Loading Dialogs</paragraph>
+<h3 id="hd_id3154909">Global Function for Loading Dialogs</h3>
<bascode>
<paragraph role="bascode" id="par_id3153193" xml-lang="en-US" localize="false">Function LoadDialog(Libname as String, DialogName as String, Optional oLibContainer)</paragraph>
<paragraph role="bascode" id="par_id3145787" xml-lang="en-US" localize="false">Dim oLib as Object ' com.sun.star.script.XLibraryContainer</paragraph>
@@ -60,7 +60,7 @@
<paragraph role="bascode" id="par_id3156286" xml-lang="en-US" localize="false">End Function</paragraph>
</bascode>
<paragraph role="paragraph" id="par_id3153032" xml-lang="en-US"><literal>LoadDialog</literal> function is stored in <literal>Tools.ModuleControls</literal> available from Application Macros and Dialogs.</paragraph>
-<paragraph role="heading" id="hd_id3149412" xml-lang="en-US" level="3">Displaying a Dialog</paragraph>
+<h3 id="hd_id3149412">Displaying a Dialog</h3>
<bascode>
<paragraph role="bascode" id="par_id3145801" xml-lang="en-US">REM global definition of variables</paragraph>
<paragraph role="bascode" id="par_id3150716" xml-lang="en-US" localize="false">Dim oDialog1 AS Object</paragraph>
@@ -72,7 +72,7 @@
<paragraph role="bascode" id="par_id3155767" xml-lang="en-US" localize="false"> oDialog1.Execute()</paragraph>
<paragraph role="bascode" id="par_id3149019" xml-lang="en-US" localize="false">End Sub</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3150042" xml-lang="en-US" level="3">Read or Edit Properties of Controls in the Program</paragraph>
+<h3 id="hd_id3150042">Read or Edit Properties of Controls in the Program</h3>
<bascode>
<paragraph role="bascode" id="par_id3159267" xml-lang="en-US" localize="false">Sub Sample1</paragraph>
<paragraph role="bascode" id="par_id6715588" xml-lang="en-US" localize="false"> With GlobalScope.Basiclibraries</paragraph>
@@ -101,7 +101,7 @@
<paragraph role="bascode" id="par_id3154485" xml-lang="en-US" localize="false"> oDialog1.Execute()</paragraph>
<paragraph role="bascode" id="par_id3146115" xml-lang="en-US" localize="false">End Sub</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3145387" xml-lang="en-US" level="3">Add an Entry to a ListBox</paragraph>
+<h3 id="hd_id3145387">Add an Entry to a ListBox</h3>
<bascode>
<paragraph role="bascode" id="par_id3155088" xml-lang="en-US" localize="false">Sub AddEntry</paragraph>
<paragraph role="bascode" id="par_id6715589" xml-lang="en-US" localize="false"> With GlobalScope.Basiclibraries</paragraph>
@@ -116,7 +116,7 @@
<paragraph role="bascode" id="par_id3144504" xml-lang="en-US"> oListbox.additem("New Item" &amp; iCount,0)</paragraph>
<paragraph role="bascode" id="par_id3149328" xml-lang="en-US" localize="false">End Sub</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3147071" xml-lang="en-US" level="3">Remove an Entry from a ListBox</paragraph>
+<h3 id="hd_id3147071">Remove an Entry from a ListBox</h3>
<bascode>
<paragraph role="bascode" id="par_id3159095" xml-lang="en-US" localize="false">Sub RemoveEntry</paragraph>
<paragraph role="bascode" id="par_id6715590" xml-lang="en-US" localize="false"> With GlobalScope.Basiclibraries</paragraph>
diff --git a/source/text/sbasic/guide/translation.xhp b/source/text/sbasic/guide/translation.xhp
index 38608ddea9..edf0563be3 100644
--- a/source/text/sbasic/guide/translation.xhp
+++ b/source/text/sbasic/guide/translation.xhp
@@ -48,7 +48,7 @@
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/defaultlanguage/@@nowidget@@" id="bm_id879849" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/defaultlanguage/entries" id="bm_id879848" localize="false"/><paragraph role="paragraph" id="par_id4721823" xml-lang="en-US"><ahelp hid="." visibility="hidden">The default language will be used as a source for all other language strings.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/defaultlanguage/checkedentries" id="bm_id8675191" localize="false"/><paragraph role="paragraph" id="par_id5806756" xml-lang="en-US"><ahelp hid="." visibility="hidden">Add UI languages for your dialog strings.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id6596881" xml-lang="en-US" level="2">To enable localizable dialogs</paragraph>
+<h2 id="hd_id6596881">To enable localizable dialogs</h2>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_id8750572" xml-lang="en-US">In the Basic IDE dialog editor, open the Language toolbar choosing <item type="menuitem">View - Toolbars - Language</item>. </paragraph>
@@ -76,7 +76,7 @@
<paragraph role="paragraph" id="par_id2394482" xml-lang="en-US">Close the dialog or add additional languages.</paragraph>
</listitem>
</list>
-<paragraph role="heading" id="hd_id631733" xml-lang="en-US" level="2">To edit localizable controls in your dialog</paragraph>
+<h2 id="hd_id631733">To edit localizable controls in your dialog</h2>
<paragraph role="paragraph" id="par_id2334665" xml-lang="en-US">Once you have added the resources for localizable strings in your dialogs, you can select the current language from the Current Language listbox on the Language toolbar.</paragraph>
<list type="ordered">
<listitem>
diff --git a/source/text/sbasic/shared/01/06130000.xhp b/source/text/sbasic/shared/01/06130000.xhp
index 56fc4ac1cc..c275d4ae93 100644
--- a/source/text/sbasic/shared/01/06130000.xhp
+++ b/source/text/sbasic/shared/01/06130000.xhp
@@ -33,48 +33,48 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3145786"><bookmark_value>macros; Basic IDE</bookmark_value>
<bookmark_value>Basic IDE; macros</bookmark_value>
</bookmark><comment>this file needs more work, see i62546</comment>
-<paragraph role="heading" id="hd_id3145786" xml-lang="en-US" level="1">Macro</paragraph>
+<h1 id="hd_id3145786">Macro</h1>
<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US"><variable id="makro"><ahelp hid=".uno:ChooseMacro">Opens the <emph>Macro</emph> dialog, where you can create, edit, organize, and run $[officename] Basic macros.</ahelp></variable></paragraph>
-<paragraph role="heading" id="hd_id3154145" xml-lang="en-US" level="2">Macro name</paragraph>
+<h2 id="hd_id3154145">Macro name</h2>
<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/macronameedit">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3153729" xml-lang="en-US" level="2">Macro from / Save macro in</paragraph>
+<h2 id="hd_id3153729">Macro from / Save macro in</h2>
<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/libraries">Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3146975" xml-lang="en-US" level="2">Run / Save</paragraph>
+<h2 id="hd_id3146975">Run / Save</h2>
<paragraph role="paragraph" id="par_id3154791" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/ok">Runs or saves the current macro.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3153158" xml-lang="en-US" level="2">Assign</paragraph>
+<h2 id="hd_id3153158">Assign</h2>
<paragraph role="paragraph" id="par_id3149961" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/assign">Opens the Customize dialog, where you can assign the selected macro to a menu command, a toolbar, or an event.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="2">Edit</paragraph>
+<h2 id="hd_id3145799">Edit</h2>
<paragraph role="paragraph" id="par_id3147127" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/edit">Starts the $[officename] Basic editor and opens the selected macro for editing.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3149400" xml-lang="en-US" level="2">New/Delete</paragraph>
+<h2 id="hd_id3149400">New/Delete</h2>
<paragraph role="paragraph" id="par_id3155602" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/delete">Creates a new macro, or deletes the selected macro.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3149124" xml-lang="en-US">To create a new macro, select the "Standard" module in the <emph>Macro from</emph> list, and then click <emph>New</emph>.</paragraph>
<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph>
-<paragraph role="heading" id="hd_id3153764" xml-lang="en-US" level="2">Organizer</paragraph>
+<h2 id="hd_id3153764">Organizer</h2>
<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/organize">Opens the <emph>Macro Organizer</emph> dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3166447" xml-lang="en-US" level="3">Module/Dialog</paragraph>
+<h3 id="hd_id3166447">Module/Dialog</h3>
<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/library">Lists the existing macros and dialogs.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3149922" xml-lang="en-US">You can drag-and-drop a module or a dialog between libraries.</paragraph>
<paragraph role="paragraph" id="par_id3159333" xml-lang="en-US">To copy a dialog or a module, hold down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key while you drag-and-drop.</paragraph>
-<paragraph role="heading" id="hd_id3147131" xml-lang="en-US" level="3">Edit</paragraph>
+<h3 id="hd_id3147131">Edit</h3>
<paragraph role="paragraph" id="par_id3149816" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/edit">Opens the selected macro or dialog for editing.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3151214" xml-lang="en-US" level="3">New</paragraph>
+<h3 id="hd_id3151214">New</h3>
<paragraph role="paragraph" id="par_id3154202" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/newmodule">Creates a new module.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3153269" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/newdialog">Creates a new dialog.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3154587" xml-lang="en-US" level="3">Libraries tab page</paragraph>
+<h3 id="hd_id3154587">Libraries tab page</h3>
<paragraph role="paragraph" id="par_id3153705" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/newdialog">Lets you manage the macro libraries.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3145259" xml-lang="en-US" level="3">Location</paragraph>
+<h3 id="hd_id3145259">Location</h3>
<paragraph role="paragraph" id="par_id3153234" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/location">Select the location containing the macro libraries that you want to organize.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3148460" xml-lang="en-US" level="3">Library</paragraph>
+<h3 id="hd_id3148460">Library</h3>
<paragraph role="paragraph" id="par_id3150828" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/library">Lists the macro libraries in the chosen location.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3145134" xml-lang="en-US" level="3">Edit</paragraph>
+<h3 id="hd_id3145134">Edit</h3>
<paragraph role="paragraph" id="par_id3150518" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/edit">Opens the $[officename] Basic editor so that you can modify the selected library.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3150371" xml-lang="en-US" level="3">Password</paragraph>
+<h3 id="hd_id3150371">Password</h3>
<paragraph role="paragraph" id="par_id3166430" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/password">Assigns or edits the <link href="text/sbasic/shared/01/06130100.xhp">password</link> for the selected library. "Standard" libraries cannot have a password.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3154372" xml-lang="en-US" level="3">New</paragraph>
+<h3 id="hd_id3154372">New</h3>
<paragraph role="paragraph" id="par_id3145387" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/new">Creates a new library.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3154259" xml-lang="en-US" level="3">Name</paragraph>
+<h3 id="hd_id3154259">Name</h3>
<paragraph role="paragraph" id="par_id3156169" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/newlibdialog/NewLibDialog">Enter a name for the new module, dialog, or library.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3151183" xml-lang="en-US" level="3">Append</paragraph>
+<h3 id="hd_id3151183">Append</h3>
<paragraph role="paragraph" id="par_id3155126" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/import">Locate that $[officename] Basic library that you want to add to the current list, and then click <emph>Open</emph>.</ahelp></paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/01/06130100.xhp b/source/text/sbasic/shared/01/06130100.xhp
index 3ccfab7460..d8be2f189b 100644
--- a/source/text/sbasic/shared/01/06130100.xhp
+++ b/source/text/sbasic/shared/01/06130100.xhp
@@ -28,15 +28,15 @@
<filename>/text/sbasic/shared/01/06130100.xhp</filename>
</topic>
</meta>
-<body><paragraph role="heading" id="hd_id3159399" xml-lang="en-US" level="1">Change Password</paragraph>
+<body><h1 id="hd_id3159399">Change Password</h1>
<paragraph role="paragraph" id="par_id3150276" xml-lang="en-US"><ahelp hid="svx/ui/passwd/PasswordDialog">Protects the selected library with a password.</ahelp> You can enter a new password, or change the current password.</paragraph>
-<paragraph role="heading" id="hd_id3154285" xml-lang="en-US" level="2">Old password</paragraph>
-<paragraph role="heading" id="hd_id3153665" xml-lang="en-US" level="3">Password</paragraph>
+<h2 id="hd_id3154285">Old password</h2>
+<h3 id="hd_id3153665">Password</h3>
<paragraph role="paragraph" id="par_id3155628" xml-lang="en-US"><ahelp hid="svx/ui/passwd/oldpassEntry">Enter the current password for the selected library.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3153126" xml-lang="en-US" level="2">New password</paragraph>
-<paragraph role="heading" id="hd_id3153628" xml-lang="en-US" level="3">Password</paragraph>
+<h2 id="hd_id3153126">New password</h2>
+<h3 id="hd_id3153628">Password</h3>
<paragraph role="paragraph" id="par_id3159413" xml-lang="en-US"><ahelp hid="svx/ui/passwd/newpassEntry">Enter a new password for the selected library.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="3">Confirm</paragraph>
+<h3 id="hd_id3148947">Confirm</h3>
<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US"><ahelp hid="svx/ui/passwd/confirmpassEntry">Repeat the new password for the selected library.</ahelp><comment>i66515</comment></paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/01/06130500.xhp b/source/text/sbasic/shared/01/06130500.xhp
index d7d9786046..9b9ebc8115 100644
--- a/source/text/sbasic/shared/01/06130500.xhp
+++ b/source/text/sbasic/shared/01/06130500.xhp
@@ -34,16 +34,16 @@
<bookmark_value>libraries; adding</bookmark_value>
<bookmark_value>inserting;Basic libraries</bookmark_value>
</bookmark>
- <paragraph xml-lang="en-US" id="hd_id3150502" role="heading" level="1">Append libraries</paragraph>
+ <h1 id="hd_id3150502">Append libraries</h1>
<paragraph xml-lang="en-US" id="par_id3154840" role="paragraph">Locate that <item type="productname">%PRODUCTNAME</item> Basic library that you want to add to the current list, and then click <emph>Open</emph>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/importlibdialog/ImportLibDialog" id="bm_id3109850" localize="false"/>
- <paragraph xml-lang="en-US" id="hd_id3149119" role="heading" level="2">File name:</paragraph>
+ <h2 id="hd_id3149119">File name:</h2>
<paragraph xml-lang="en-US" id="par_id3147102" role="paragraph"><ahelp hid="modules/BasicIDE/ui/importlibdialog/ImportLibDialog">Enter a name or the path to the library that you want to append.</ahelp> You can also select a library from the list.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3147291" role="heading" level="2">Options</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3147226" role="heading" level="3">Insert as reference (read-only)</paragraph>
+ <h2 id="hd_id3147291">Options</h2>
+ <h3 id="hd_id3147226">Insert as reference (read-only)</h3>
<paragraph xml-lang="en-US" id="par_id3155892" role="paragraph"><ahelp hid="modules/BasicIDE/ui/importlibdialog/ref">Adds the selected library as a read-only file. The library is reloaded each time you start <item type="productname">%PRODUCTNAME</item>.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3145071" role="heading" level="3">Replace existing libraries</paragraph>
+ <h3 id="hd_id3145071">Replace existing libraries</h3>
<paragraph xml-lang="en-US" id="par_id3149812" role="paragraph"><ahelp hid="modules/BasicIDE/ui/importlibdialog/replace">Replaces a library that has the same name with the current library.</ahelp></paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/01010210.xhp b/source/text/sbasic/shared/01010210.xhp
index adc5175207..9848e4db7f 100644
--- a/source/text/sbasic/shared/01010210.xhp
+++ b/source/text/sbasic/shared/01010210.xhp
@@ -41,17 +41,17 @@
<paragraph role="note" id="par_id314756320" xml-lang="en-US">Some restrictions apply for the names of your public variables, subs, and functions. You must not use the same name as one of the modules of the same library.</paragraph>
-<paragraph role="heading" id="hd_id3150398" xml-lang="en-US" level="2">What is a Sub?</paragraph>
+<h2 id="hd_id3150398">What is a Sub?</h2>
<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US">
<emph>Sub</emph> is the short form of <emph>subroutine</emph>, that is used to handle a certain task within a program. Subs are used to split a task into individual procedures. Splitting a program into procedures and sub-procedures enhances readability and reduces the error-proneness. A sub possibly takes some arguments as parameters but does not return any values back to the calling sub or function, for example:</paragraph>
<paragraph role="code" id="par_id3150868" xml-lang="en-US">DoSomethingWithTheValues(MyFirstValue,MySecondValue)</paragraph>
-<paragraph role="heading" id="hd_id3156282" xml-lang="en-US" level="2">What is a Function?</paragraph>
+<h2 id="hd_id3156282">What is a Function?</h2>
<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US">A <emph>function</emph> is essentially a sub, which returns a value. You may use a function at the right side of a variable declaration, or at other places where you normally use values, for example:</paragraph>
<paragraph role="code" id="par_id3146985" xml-lang="en-US">MySecondValue = myFunction(MyFirstValue)</paragraph>
-<paragraph role="heading" id="hd_id3153364" xml-lang="en-US" level="2">Global and local variables</paragraph>
+<h2 id="hd_id3153364">Global and local variables</h2>
<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US">Global variables are valid for all subs and functions inside a module. They are declared at the beginning of a module before the first sub or function starts.</paragraph>
<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US">Variables that you declare within a sub or function are valid only inside this sub or function. These variables override global variables with the same name and local variables with the same name coming from superordinate subs or functions.</paragraph>
-<paragraph role="heading" id="hd_id3150010" xml-lang="en-US" level="2">Structuring</paragraph>
+<h2 id="hd_id3150010">Structuring</h2>
<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US">After separating your program into procedures and functions (Subs and Functions), you can save these procedures and functions as files for reuse in other projects. $[officename] Basic supports <link href="text/sbasic/shared/01020500.xhp">Modules and Libraries</link>. Subs and functions are always contained in modules. You can define modules to be global or part of a document. Multiple modules can be combined to a library.</paragraph>
<paragraph role="paragraph" id="par_id3152578" xml-lang="en-US">You can copy or move subs, functions, modules and libraries from one file to another by using the <link href="text/sbasic/shared/01/06130000.xhp">Macro</link> dialog.</paragraph>
</body>
diff --git a/source/text/sbasic/shared/01020500.xhp b/source/text/sbasic/shared/01020500.xhp
index 30e1bea828..cc74e6d89b 100644
--- a/source/text/sbasic/shared/01020500.xhp
+++ b/source/text/sbasic/shared/01020500.xhp
@@ -35,12 +35,12 @@
<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US">The following describes the basic use of libraries, modules and dialogs in $[officename] Basic.</paragraph>
</section>
<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US">$[officename] Basic provides tools to help you structuring your projects. It supports various "units" which enable you to group individual SUBS and FUNCTIONS in a Basic project.</paragraph>
-<paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2">Libraries</paragraph>
+<h2 id="hd_id3148575">Libraries</h2>
<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US">Libraries serve as a tool for organizing modules, and can either be attached to a document or a template. When the document or a template is saved, all modules contained in the library are automatically saved as well.</paragraph>
<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US">A library can contain up to 16,000 modules.</paragraph>
-<paragraph role="heading" id="hd_id3149262" xml-lang="en-US" level="2">Modules</paragraph>
+<h2 id="hd_id3149262">Modules</h2>
<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US">A module contains SUBS and FUNCTIONS along with variable declarations. The length of the program that can be saved in a module is limited to 64 kB. If more space is required you can divide a $[officename] Basic project among several modules, and then save them in a single library.</paragraph>
-<paragraph role="heading" id="hd_id3152577" xml-lang="en-US" level="2">Dialog Modules</paragraph>
+<h2 id="hd_id3152577">Dialog Modules</h2>
<paragraph role="paragraph" id="par_id3149377" xml-lang="en-US">Dialog modules contain dialog definitions, including the dialog box properties, the properties of each dialog element and the events assigned. Since a dialog module can only contain a single dialog, they are often referred to as "dialogs".</paragraph>
<section id="relatedtopics">
<embed href="text/sbasic/shared/01030400.xhp#01030400"/>
diff --git a/source/text/sbasic/shared/01030300.xhp b/source/text/sbasic/shared/01030300.xhp
index 0345d92504..3d29257b07 100644
--- a/source/text/sbasic/shared/01030300.xhp
+++ b/source/text/sbasic/shared/01030300.xhp
@@ -39,25 +39,25 @@
<bookmark_value>Call Stack window</bookmark_value>
</bookmark><paragraph role="heading" id="hd_id3153344" xml-lang="en-US" level="1"><link href="text/sbasic/shared/01030300.xhp">Debugging a Basic Program</link></paragraph>
</section>
-<paragraph role="heading" id="hd_id3159224" xml-lang="en-US" level="2">Breakpoints and Single Step Execution</paragraph>
+<h2 id="hd_id3159224">Breakpoints and Single Step Execution</h2>
<paragraph role="paragraph" id="par_id3150682" xml-lang="en-US">You can check each line in your Basic program for errors using single step execution. Errors are easily traced since you can immediately see the result of each step. A pointer in the breakpoint column of the Editor indicates the current line. You can also set a breakpoint if you want to force the program to be interrupted at a specific position.</paragraph>
<paragraph role="paragraph" id="par_id3147303" xml-lang="en-US">Double-click in the <emph>breakpoint</emph> column at the left of the Editor window to toggle a breakpoint at the corresponding line. When the program reaches a breakpoint, the program execution is interrupted.</paragraph>
<paragraph role="paragraph" id="par_id3155805" xml-lang="en-US">The <emph>single step </emph>execution using the <emph>Single Step</emph> icon causes the program to branch into procedures and functions.</paragraph>
<paragraph role="paragraph" id="par_id3151110" xml-lang="en-US">The procedure step execution using the <emph>Procedure Step</emph> icon causes the program to skip over procedures and functions as a single step.</paragraph>
-<paragraph role="heading" id="hd_id3153825" xml-lang="en-US" level="3">Properties of a Breakpoint</paragraph>
+<h3 id="hd_id3153825">Properties of a Breakpoint</h3>
<paragraph role="paragraph" id="par_id3147574" xml-lang="en-US">The properties of a breakpoint are available through its context menu by right-clicking the breakpoint in the breakpoint column.</paragraph>
<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US">You can <emph>activate</emph> and <emph>deactivate</emph> a breakpoint by selecting <emph>Active</emph> from its context menu. When a breakpoint is deactivated, it does not interrupt the program execution. </paragraph>
<paragraph role="paragraph" id="par_id3159413" xml-lang="en-US">Select <emph>Properties</emph> from the context menu of a breakpoint or select <emph>Breakpoints</emph> from the context menu of the breakpoint column to call the <emph>Breakpoints</emph> dialog where you can specify other breakpoint options.</paragraph>
<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US">The list displays all <emph>breakpoints</emph> with the corresponding line number in the source code. You can activate or deactivate a selected breakpoint by checking or clearing the <emph>Active</emph> box.</paragraph>
<paragraph role="paragraph" id="par_id3158407" xml-lang="en-US">The <emph>Pass Count</emph> specifies the number of times the breakpoint can be passed over before the program is interrupted. If you enter 0 (default setting) the program is always interrupted as soon as a breakpoint is encountered.</paragraph>
<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US">Click <emph>Delete</emph> to remove the breakpoint from the program.</paragraph>
-<paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="2">Observing the Value of Variables</paragraph>
+<h2 id="hd_id3150439">Observing the Value of Variables</h2>
<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US">You can monitor the values of a variable by adding it to the <emph>Watch</emph> window. To add a variable to the list of watched variables, type the variable name in the <emph>Watch</emph> text box and press Enter.</paragraph>
<paragraph role="paragraph" id="par_id3146986" xml-lang="en-US">The values of variables are only displayed if they are in scope. Variables that are not defined at the current source code location display ("Out of Scope") instead of a value.</paragraph>
<paragraph role="paragraph" id="par_id3145272" xml-lang="en-US">You can also include arrays in the Watch window. If you enter the name of an array variable without an index value in the Watch text box, the content of the entire array is displayed.</paragraph>
-<paragraph role="tip" id="par_id3145749" xml-lang="en-US">If you rest the mouse over a predefined variable in the Editor at run-time, the content of the variable is displayed in a pop-up box.</paragraph><paragraph role="heading" id="hd_id3148618" xml-lang="en-US" level="2">The Call Stack Window</paragraph>
+<paragraph role="tip" id="par_id3145749" xml-lang="en-US">If you rest the mouse over a predefined variable in the Editor at run-time, the content of the variable is displayed in a pop-up box.</paragraph><h2 id="hd_id3148618">The Call Stack Window</h2>
<paragraph role="paragraph" id="par_id3154491" xml-lang="en-US"><ahelp hid="HID_BASICIDE_STACKWINDOW_LIST">Provides an overview of the call hierarchy of procedures and functions.</ahelp> You can determine which procedures and functions called which other procedures and functions at the current point in the source code.</paragraph>
-<paragraph role="heading" id="hd_id3150594" xml-lang="en-US" level="2">List of Run-Time Errors</paragraph>
+<h2 id="hd_id3150594">List of Run-Time Errors</h2>
<embed href="text/sbasic/shared/00000003.xhp#allerrors"/>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/01050000.xhp b/source/text/sbasic/shared/01050000.xhp
index cd8b5573ce..1a0383531e 100644
--- a/source/text/sbasic/shared/01050000.xhp
+++ b/source/text/sbasic/shared/01050000.xhp
@@ -42,24 +42,24 @@
<embed href="text/sbasic/shared/01050200.xhp#callstack"/>
<embed href="text/sbasic/shared/01050300.xhp#breakpoints"/>
<embed href="text/sbasic/shared/keys.xhp#keys"/>
-<paragraph role="heading" id="hd_id3153188" xml-lang="en-US" level="2">Commands From the Context menu of the Module Tabs</paragraph>
-<paragraph role="heading" id="hd_id3154731" xml-lang="en-US" level="3">Insert</paragraph>
+<h2 id="hd_id3153188">Commands From the Context menu of the Module Tabs</h2>
+<h3 id="hd_id3154731">Insert</h3>
<bookmark xml-lang="en-US" branch="hid/.uno:NewModule" id="bm_id3412182" localize="false"/>
-<paragraph role="heading" id="hd_id3151074" xml-lang="en-US" level="4">Module</paragraph>
+<h4 id="hd_id3151074">Module</h4>
<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US"><ahelp hid=".uno:NewModule">Inserts a new module into the current library.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:NewDialog" id="bm_id9158311" localize="false"/>
-<paragraph role="heading" id="hd_id3147397" xml-lang="en-US" level="4">Dialog</paragraph>
+<h4 id="hd_id3147397">Dialog</h4>
<paragraph role="paragraph" id="par_id3144335" xml-lang="en-US"><ahelp hid=".uno:NewDialog">Inserts a new dialog into the current library.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:DeleteCurrent" id="bm_id9753230" localize="false"/>
-<paragraph role="heading" id="hd_id3155602" xml-lang="en-US" level="3">Delete</paragraph>
+<h3 id="hd_id3155602">Delete</h3>
<paragraph role="paragraph" id="par_id3155064" xml-lang="en-US"><ahelp hid=".uno:DeleteCurrent">Deletes the selected module.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:RenameCurrent" id="bm_id8105416" localize="false"/>
-<paragraph role="heading" id="hd_id3149018" xml-lang="en-US" level="3">Rename</paragraph>
+<h3 id="hd_id3149018">Rename</h3>
<paragraph role="paragraph" id="par_id3154754" xml-lang="en-US"><ahelp hid=".uno:RenameCurrent">Renames the current module in place.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:HideCurPage" id="bm_id3462342" localize="false"/>
-<paragraph role="heading" id="hd_id3150043" xml-lang="en-US" level="3">Hide</paragraph>
+<h3 id="hd_id3150043">Hide</h3>
<paragraph role="paragraph" id="par_id3145147" xml-lang="en-US"><ahelp hid=".uno:HideCurPage">Hides the current module.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3163805" xml-lang="en-US" level="3">Modules</paragraph>
+<h3 id="hd_id3163805">Modules</h3>
<paragraph role="paragraph" id="par_id3153965" xml-lang="en-US">Opens the <link href="text/sbasic/shared/01/06130000.xhp"><emph>Macro Organizer</emph></link> dialog.</paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/01050100.xhp b/source/text/sbasic/shared/01050100.xhp
index 572fa6619d..473f6b874d 100644
--- a/source/text/sbasic/shared/01050100.xhp
+++ b/source/text/sbasic/shared/01050100.xhp
@@ -35,10 +35,10 @@
<paragraph role="paragraph" id="par_id3154908" xml-lang="en-US">The Watch window allows you to observe the value of variables during the execution of a program. Define the variable in the Watch text box. Click on <link href="text/sbasic/shared/02/11080000.xhp">Enable Watch</link> to add the variable to the list box and to display its values.</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_WATCHWINDOW_EDIT" id="bm_id3125865" localize="false"/>
-<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2">Watch</paragraph>
+<h2 id="hd_id3145173">Watch</h2>
<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US"><ahelp hid="HID_BASICIDE_WATCHWINDOW_EDIT">Enter the name of the variable whose value is to be monitored.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_REMOVEWATCH" id="bm_id3163712" localize="false"/>
-<paragraph role="heading" id="hd_id3148645" xml-lang="en-US" level="2">Remove Watch</paragraph>
+<h2 id="hd_id3148645">Remove Watch</h2>
<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US"><ahelp hid="HID_BASICIDE_REMOVEWATCH">Removes the selected variable from the list of watched variables.</ahelp></paragraph>
<table id="tbl_id3145271">
<tablerow>
@@ -54,7 +54,7 @@
</table>
<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_WATCHWINDOW_LIST" id="bm_id3154944" localize="false"/>
-<paragraph role="heading" id="hd_id3154491" xml-lang="en-US" level="2">Editing the Value of a Watched Variable</paragraph>
+<h2 id="hd_id3154491">Editing the Value of a Watched Variable</h2>
<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US"><ahelp hid="HID_BASICIDE_WATCHWINDOW_LIST">Displays the list of watched variables. Click twice with a short pause in between on an entry to edit its value.</ahelp> The new value will be taken as the variable's value for the program.</paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/01050300.xhp b/source/text/sbasic/shared/01050300.xhp
index 24001568a1..3de2a3de14 100644
--- a/source/text/sbasic/shared/01050300.xhp
+++ b/source/text/sbasic/shared/01050300.xhp
@@ -39,20 +39,20 @@
<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/managebreakpoints/ManageBreakpointsDialog">Specifies the options for breakpoints.</ahelp></paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/managebreakpoints/entries" id="bm_id31496561" localize="false"/>
-<paragraph role="heading" id="hd_id3149670" xml-lang="en-US" level="2">Breakpoints</paragraph>
+<h2 id="hd_id3149670">Breakpoints</h2>
<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/managebreakpoints/entries">Enter the line number for a new breakpoint, then click <emph>New</emph>.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/managebreakpoints/active" id="bm_id3156422" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/breakpointmenus/active" id="bm_id3150870" localize="false"/>
-<paragraph role="heading" id="hd_id3156280" xml-lang="en-US" level="2">Active</paragraph>
+<h2 id="hd_id3156280">Active</h2>
<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/managebreakpoints/active">Activates or deactivates the current breakpoint.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/managebreakpoints/pass" id="bm_id3153768" localize="false"/>
-<paragraph role="heading" id="hd_id3144500" xml-lang="en-US" level="2">Pass Count</paragraph>
+<h2 id="hd_id3144500">Pass Count</h2>
<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/managebreakpoints/pass">Specify the number of loops to perform before the breakpoint takes effect.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/managebreakpoints/new" id="bm_id3150012" localize="false"/>
-<paragraph role="heading" id="hd_id3152579" xml-lang="en-US" level="2">New</paragraph>
+<h2 id="hd_id3152579">New</h2>
<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/managebreakpoints/new">Creates a breakpoint on the line number specified.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/managebreakpoints/delete" id="bm_id3159156" localize="false"/>
-<paragraph role="heading" id="hd_id3147319" xml-lang="en-US" level="2">Delete</paragraph>
+<h2 id="hd_id3147319">Delete</h2>
<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/managebreakpoints/delete">Deletes the selected breakpoint.</ahelp></paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/01170100.xhp b/source/text/sbasic/shared/01170100.xhp
index 35c5c02926..79cdf54be8 100644
--- a/source/text/sbasic/shared/01170100.xhp
+++ b/source/text/sbasic/shared/01170100.xhp
@@ -38,7 +38,7 @@
<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="1"><link href="text/sbasic/shared/01170100.xhp">Control and Dialog Properties</link></paragraph>
</section>
<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US"><ahelp hid=".">Specifies the properties of the selected dialog or control.</ahelp> You must be in the design mode to be able to use this command.</paragraph>
-<paragraph role="heading" id="hd_id3151043" xml-lang="en-US" level="2">Entering Data in the Properties Dialog</paragraph>
+<h2 id="hd_id3151043">Entering Data in the Properties Dialog</h2>
<paragraph role="paragraph" id="par_id3153771" xml-lang="en-US">The following key combinations apply to enter data in multiline fields or combo boxes of the <emph>Properties</emph> dialog:</paragraph>
<table id="tbl_id3152460">
<tablerow>
diff --git a/source/text/sbasic/shared/01170103.xhp b/source/text/sbasic/shared/01170103.xhp
index 3ab5d1b940..f27610b37a 100644
--- a/source/text/sbasic/shared/01170103.xhp
+++ b/source/text/sbasic/shared/01170103.xhp
@@ -34,33 +34,33 @@
<paragraph role="heading" id="hd_id3155506" xml-lang="en-US" level="1"><link href="text/sbasic/shared/01170103.xhp">Events</link></paragraph>
<paragraph role="paragraph" id="par_id3146114" xml-lang="en-US">Define event assignments for the selected control or dialog. The available events depend on the type of control selected.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3145387" xml-lang="en-US" level="2">When receiving focus</paragraph>
+<h2 id="hd_id3145387">When receiving focus</h2>
<paragraph role="paragraph" id="par_id3155090" xml-lang="en-US"><ahelp hid="HID_EVT_FOCUSGAINED">This event takes place if a control receives the focus.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3152892" xml-lang="en-US" level="2">When losing focus</paragraph>
+<h2 id="hd_id3152892">When losing focus</h2>
<paragraph role="paragraph" id="par_id3153305" xml-lang="en-US"><ahelp hid="HID_EVT_FOCUSLOST">This event takes place if a control loses the focus.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3152896" xml-lang="en-US" level="2">Key pressed</paragraph>
+<h2 id="hd_id3152896">Key pressed</h2>
<paragraph role="paragraph" id="par_id3148837" xml-lang="en-US"><ahelp hid="HID_EVT_KEYTYPED">This event occurs when the user presses any key while the control has the focus.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3146869" xml-lang="en-US" level="2">Key released</paragraph>
+<h2 id="hd_id3146869">Key released</h2>
<paragraph role="paragraph" id="par_id3155267" xml-lang="en-US"><ahelp hid="HID_EVT_KEYUP">This event occurs when the user releases a key while the control has the focus.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3159096" xml-lang="en-US" level="2">Modified</paragraph>
+<h2 id="hd_id3159096">Modified</h2>
<paragraph role="paragraph" id="par_id3156019" xml-lang="en-US"><ahelp hid="HID_EVT_CHANGED">This event takes place, when the control loses the focus and the contents of the control were changed since it lost the focus.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3144508" xml-lang="en-US" level="2">Text modified</paragraph>
+<h2 id="hd_id3144508">Text modified</h2>
<paragraph role="paragraph" id="par_id3148608" xml-lang="en-US"><ahelp hid="HID_EVT_TEXTCHANGED">This event takes place if you enter or modify a text in an input field.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3159207" xml-lang="en-US" level="2">Item status changed</paragraph>
+<h2 id="hd_id3159207">Item status changed</h2>
<paragraph role="paragraph" id="par_id3155097" xml-lang="en-US"><ahelp hid="HID_EVT_ITEMSTATECHANGED">This event takes place if the status of the control field is changed, for example, from checked to unchecked.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3151304" xml-lang="en-US" level="2">Mouse inside</paragraph>
+<h2 id="hd_id3151304">Mouse inside</h2>
<paragraph role="paragraph" id="par_id3152871" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEENTERED">This event takes place when the mouse enters the control.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3146778" xml-lang="en-US" level="2">Mouse moved while key pressed</paragraph>
+<h2 id="hd_id3146778">Mouse moved while key pressed</h2>
<paragraph role="paragraph" id="par_id3150403" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEDRAGGED">This event takes place when the mouse is dragged while a key is pressed.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3150210" xml-lang="en-US" level="2">Mouse moved</paragraph>
+<h2 id="hd_id3150210">Mouse moved</h2>
<paragraph role="paragraph" id="par_id3149697" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEMOVED">This event takes place when the mouse moves over the control.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3145216" xml-lang="en-US" level="2">Mouse button pressed</paragraph>
+<h2 id="hd_id3145216">Mouse button pressed</h2>
<paragraph role="paragraph" id="par_id3155914" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEPRESSED">This event takes place when the mouse button is pressed while the mouse pointer is on the control.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3148899" xml-lang="en-US" level="2">Mouse button released</paragraph>
+<h2 id="hd_id3148899">Mouse button released</h2>
<paragraph role="paragraph" id="par_id3153812" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSERELEASED">This event takes place when the mouse button is released while the mouse pointer is on the control.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3153556" xml-lang="en-US" level="2">Mouse outside</paragraph>
+<h2 id="hd_id3153556">Mouse outside</h2>
<paragraph role="paragraph" id="par_id3153013" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEEXITED">This event takes place when the mouse leaves the control.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3155759" xml-lang="en-US" level="2">While adjusting</paragraph>
+<h2 id="hd_id3155759">While adjusting</h2>
<paragraph role="paragraph" id="par_id3156364" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEEXITED">This event takes place when a scrollbar is being dragged.</ahelp></paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/02/11090000.xhp b/source/text/sbasic/shared/02/11090000.xhp
index fd12cdd830..6a3c2ce033 100644
--- a/source/text/sbasic/shared/02/11090000.xhp
+++ b/source/text/sbasic/shared/02/11090000.xhp
@@ -55,7 +55,7 @@
</section>
<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_OBJECTCAT" id="bm_id3148664" localize="false"/>
-<paragraph role="heading" id="hd_id3146794" xml-lang="en-US" level="2">Window Area</paragraph>
+<h2 id="hd_id3146794">Window Area</h2>
<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US"><ahelp hid="HID_BASICIDE_OBJECTCAT">Displays a hierarchical view of the current $[officename] macro libraries, modules, and dialogs. To display the contents of an item in the window, double click its name.</ahelp></paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/03010102.xhp b/source/text/sbasic/shared/03010102.xhp
index ed00a4462d..b6e110aeb2 100644
--- a/source/text/sbasic/shared/03010102.xhp
+++ b/source/text/sbasic/shared/03010102.xhp
@@ -141,7 +141,7 @@
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3150090" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3150090">Example:</h2>
<bascode>
<paragraph id="par_idm1340837456" role="bascode" localize="false" xml-lang="en-US">Sub ExampleMsgBox</paragraph>
<paragraph id="par_idm1340836224" role="bascode" localize="false" xml-lang="en-US">Dim sVar As Integer</paragraph>
diff --git a/source/text/sbasic/shared/03020302.xhp b/source/text/sbasic/shared/03020302.xhp
index 1db86f3e3d..ad8206a8d7 100644
--- a/source/text/sbasic/shared/03020302.xhp
+++ b/source/text/sbasic/shared/03020302.xhp
@@ -36,13 +36,13 @@
<paragraph role="heading" id="hd_id3148663" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03020302.xhp">Loc Function</link></paragraph>
<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US">Returns the current position in an open file.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3156422" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3156422">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3150768" xml-lang="en-US">Loc(FileNumber)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3150440" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3150440">Return value:</h2>
<paragraph role="paragraph" localize="false" id="par_id3152578" xml-lang="en-US">Long</paragraph>
-<paragraph role="heading" id="hd_id3152462" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3152462">Parameters:</h2>
<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US">
<emph>FileNumber:</emph> Any numeric expression that contains the file number that is set by the Open statement for the respective file.</paragraph>
<paragraph role="paragraph" id="par_id3154320" xml-lang="en-US">If the Loc function is used for an open random access file, it returns the number of the last record that was last read or written.</paragraph>
diff --git a/source/text/sbasic/shared/03020304.xhp b/source/text/sbasic/shared/03020304.xhp
index 01352b21df..cc00797a3c 100644
--- a/source/text/sbasic/shared/03020304.xhp
+++ b/source/text/sbasic/shared/03020304.xhp
@@ -39,13 +39,13 @@
<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US">For random access files, the Seek function returns the number of the next record to be read.</paragraph>
<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US">For all other files, the function returns the byte position at which the next operation is to occur.</paragraph>
<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US">See also: <link href="text/sbasic/shared/03020103.xhp">Open</link>, <link href="text/sbasic/shared/03020305.xhp">Seek</link>.</paragraph>
-<paragraph role="heading" id="hd_id3152460" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3152460">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3145365" xml-lang="en-US">Seek (FileNumber)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3148575">Return value:</h2>
<paragraph role="paragraph" localize="false" id="par_id3159156" xml-lang="en-US">Long</paragraph>
-<paragraph role="heading" id="hd_id3149665" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3149665">Parameters:</h2>
<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US">
<emph>FileNumber:</emph> The data channel number used in the Open statement.</paragraph>
</body>
diff --git a/source/text/sbasic/shared/03020305.xhp b/source/text/sbasic/shared/03020305.xhp
index 875a125742..3caead6222 100644
--- a/source/text/sbasic/shared/03020305.xhp
+++ b/source/text/sbasic/shared/03020305.xhp
@@ -43,7 +43,7 @@
<paragraph role="bascode" id="par_id3145273" xml-lang="en-US">Seek [#]filePos, {filePos|recordNum}</paragraph>
</bascode>
-<paragraph id="hd_id3153379" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3153379">Parameters:</h2>
<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US">
<emph>fileNum</emph>: The data channel number used in the Open statement.</paragraph>
<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US">
diff --git a/source/text/sbasic/shared/03020403.xhp b/source/text/sbasic/shared/03020403.xhp
index 0929218d7c..3a876a96f0 100644
--- a/source/text/sbasic/shared/03020403.xhp
+++ b/source/text/sbasic/shared/03020403.xhp
@@ -43,7 +43,7 @@
<paragraph id="par_id3153381" role="bascode" localize="false">CurDir [(Text As String)]</paragraph>
</bascode>
-<paragraph id="hd_id3154366" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3154366">Return value:</h2>
<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US">String</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
diff --git a/source/text/sbasic/shared/03020406.xhp b/source/text/sbasic/shared/03020406.xhp
index 04b32654dd..45f31916a9 100644
--- a/source/text/sbasic/shared/03020406.xhp
+++ b/source/text/sbasic/shared/03020406.xhp
@@ -38,12 +38,12 @@
<paragraph id="par_id3149497" role="paragraph" xml-lang="en-US">Copies a file.</paragraph>
</section>
-<paragraph id="hd_id3147443" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3147443">Syntax:</h2>
<bascode>
<paragraph id="par_id3146957" role="bascode" xml-lang="en-US">FileCopy Source As String, Destination As String</paragraph>
</bascode>
-<paragraph id="hd_id3153825" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3153825">Parameters:</h2>
<paragraph id="par_id3155390" role="paragraph" xml-lang="en-US"> <emph>Source</emph>: Any string expression that specifies the name of the file that you want to copy. The expression can contain optional path and drive information. If you want, you can enter a path in <link href="text/sbasic/shared/00000002.xhp">URL notation</link>.</paragraph>
<paragraph id="par_id3150669" role="paragraph" xml-lang="en-US"> <emph>Destination</emph>: Any string expression that specifies where you want to copy the source file to. The expression can contain the destination drive, the path, and file name, or the path in URL notation.</paragraph>
<paragraph id="par_id3150791" role="note" xml-lang="en-US">You can only use the FileCopy statement to copy files that are not opened.</paragraph>
@@ -51,7 +51,7 @@
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err76"/>
-<paragraph id="hd_id3125863" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3125863">Example:</h2>
<bascode>
<paragraph id="par_idm1340767600" role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileCopy</paragraph>
<paragraph id="par_idm1340766368" role="bascode" localize="false" xml-lang="en-US"> FileCopy "c:\autoexec.bat", "c:\Temp\Autoexec.sav"</paragraph>
diff --git a/source/text/sbasic/shared/03020407.xhp b/source/text/sbasic/shared/03020407.xhp
index 98544abd44..1455280d7f 100644
--- a/source/text/sbasic/shared/03020407.xhp
+++ b/source/text/sbasic/shared/03020407.xhp
@@ -38,19 +38,19 @@
<paragraph id="par_id3156423" role="paragraph" xml-lang="en-US">Returns a string that contains the date and the time that a file was created or last modified.</paragraph>
</section>
-<paragraph id="hd_id3154685" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3154685">Syntax:</h2>
<bascode>
<paragraph id="par_id3154124" role="bascode" xml-lang="en-US">FileDateTime (Text As String)</paragraph>
</bascode>
-<paragraph id="hd_id3150448" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3150448">Parameters:</h2>
<paragraph id="par_id3159153" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that contains an unambiguous (no wildcards) file specification. You can also use <link href="text/sbasic/shared/00000002.xhp">URL notation</link>.</paragraph>
<paragraph id="par_id3155306" role="paragraph" xml-lang="en-US">This function determines the exact time of creation or last modification of a file, returned in the format "MM.DD.YYYY HH.MM.SS".</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#languageformat"/>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3146119" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3146119">Example:</h2>
<bascode>
<paragraph id="par_idm1340766944" role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileDateTime</paragraph>
<paragraph id="par_idm1340765712" role="bascode" localize="false" xml-lang="en-US"> MsgBox FileDateTime("C:\autoexec.bat")</paragraph>
diff --git a/source/text/sbasic/shared/03020409.xhp b/source/text/sbasic/shared/03020409.xhp
index 9be37bdb17..313c57f7c7 100644
--- a/source/text/sbasic/shared/03020409.xhp
+++ b/source/text/sbasic/shared/03020409.xhp
@@ -38,22 +38,22 @@
<paragraph id="par_id3154347" role="paragraph" xml-lang="en-US">Returns a bit pattern that identifies the file type or the name of a volume or a directory.</paragraph>
</section>
-<paragraph id="hd_id3149457" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3149457">Syntax:</h2>
<bascode>
<paragraph id="par_id3150359" role="bascode" xml-lang="en-US">GetAttr (Text As String)</paragraph>
</bascode>
-<paragraph id="hd_id3151211" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3151211">Return value:</h2>
<paragraph id="par_id3154909" role="paragraph" xml-lang="en-US">Integer</paragraph>
-<paragraph id="hd_id3145172" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3145172">Parameters:</h2>
<paragraph id="par_id3151042" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp">URL notation</link>.</paragraph>
<paragraph id="par_id3161831" role="paragraph" xml-lang="en-US">This function determines the attributes for a specified file and returns the bit pattern that can help you to identify the following file attributes:</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err53"/>
-<paragraph id="hd_id3145364" role="heading" level="2" xml-lang="en-US">Value</paragraph>
+<h2 id="hd_id3145364">Value</h2>
<section id="GetAttr_constants">
<table id="Table1">
@@ -150,7 +150,7 @@
<paragraph id="par_id3156444" role="paragraph" xml-lang="en-US">If you want to know if a bit of the attribute byte is set, use the following query method:</paragraph>
-<paragraph id="hd_id3153094" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153094">Example:</h2>
<bascode>
<paragraph id="par_idm1341566848" role="bascode" localize="false" xml-lang="en-US">Sub ExampleSetGetAttr</paragraph>
<paragraph id="par_id3155415" role="bascode" xml-lang="en-US">On Error GoTo ErrorHandler ' Define target for error handler</paragraph>
diff --git a/source/text/sbasic/shared/03020412.xhp b/source/text/sbasic/shared/03020412.xhp
index 04d1795b26..bc3750a689 100644
--- a/source/text/sbasic/shared/03020412.xhp
+++ b/source/text/sbasic/shared/03020412.xhp
@@ -38,15 +38,15 @@
<paragraph id="par_id3154346" role="paragraph" xml-lang="en-US">Renames an existing file or directory.</paragraph>
</section>
-<paragraph id="hd_id3156344" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3156344">Syntax:</h2>
<bascode>
<paragraph id="par_id3153381" role="bascode" xml-lang="en-US">Name OldName As String As NewName As String</paragraph>
</bascode>
-<paragraph id="hd_id3153362" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3153362">Parameters:</h2>
<paragraph id="par_id3151210" role="paragraph" xml-lang="en-US"> <emph>OldName, NewName:</emph> Any string expression that specifies the file name, including the path. You can also use <link href="text/sbasic/shared/00000002.xhp">URL notation</link>.</paragraph><comment>see #i61074</comment>
-<paragraph id="hd_id3125863" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3125863">Example:</h2>
<bascode>
<paragraph id="par_idm1341617392" role="bascode" localize="false" xml-lang="en-US">Sub ExampleReName</paragraph>
<paragraph id="par_idm1341616160" role="bascode" localize="false" xml-lang="en-US">On Error GoTo Error</paragraph>
diff --git a/source/text/sbasic/shared/03020415.xhp b/source/text/sbasic/shared/03020415.xhp
index 8ac875c185..2b0684a17f 100644
--- a/source/text/sbasic/shared/03020415.xhp
+++ b/source/text/sbasic/shared/03020415.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3153361" role="paragraph" xml-lang="en-US">Determines if a file or a directory is available on the data medium.</paragraph>
</section>
-<paragraph id="hd_id3150447" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3150447">Syntax:</h2>
<bascode>
<paragraph id="par_id3154685" role="bascode" xml-lang="en-US">FileExists(FileName As String | DirectoryName As String)</paragraph>
</bascode>
-<paragraph id="hd_id3154126" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3154126">Return value:</h2>
<paragraph id="par_id3150769" role="paragraph" xml-lang="en-US">Bool</paragraph>
-<paragraph id="hd_id3153770" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3153770">Parameters:</h2>
<paragraph id="par_id3147349" role="paragraph" xml-lang="en-US">FileName | DirectoryName: Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp">URL notation</link>.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3149664" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3149664">Example:</h2>
<bascode>
<paragraph id="par_idm1341149552" role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileExists</paragraph>
<paragraph id="par_idm1341148320" role="bascode" localize="false" xml-lang="en-US"> MsgBox FileExists("C:\autoexec.bat")</paragraph>
diff --git a/source/text/sbasic/shared/03030103.xhp b/source/text/sbasic/shared/03030103.xhp
index d2e6baab96..83fe73f04d 100644
--- a/source/text/sbasic/shared/03030103.xhp
+++ b/source/text/sbasic/shared/03030103.xhp
@@ -35,13 +35,13 @@
<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03030103.xhp">Day Function</link></paragraph>
<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US">Returns a value that represents the day of the month based on a serial date number generated by <emph>DateSerial</emph> or <emph>DateValue</emph>.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3149456">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3150358" xml-lang="en-US">Day (Number)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3148798" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3148798">Return value:</h2>
<paragraph role="paragraph" id="par_id3125865" xml-lang="en-US">Integer</paragraph>
-<paragraph role="heading" id="hd_id3150448" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3150448">Parameters:</h2>
<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US">
<emph>Number:</emph> A numeric expression that contains a serial date number from which you can determine the day of the month.</paragraph>
<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US">This function is basically the opposite of the DateSerial function, returning the day of the month from a serial date number generated by the <emph>DateSerial</emph> or the <emph>DateValue</emph> function. For example, the expression</paragraph>
@@ -51,7 +51,7 @@
<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US">returns the value 20.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3149481" xml-lang="en-US" level="2">Example:</paragraph>
+<h2 id="hd_id3149481">Example:</h2>
<bascode>
<paragraph role="bascode" id="par_id3155413" xml-lang="en-US" localize="false">Sub ExampleDay</paragraph>
<paragraph role="bascode" id="par_id3149260" xml-lang="en-US"> Print "Day " &amp; Day(DateSerial(1994, 12, 20)) &amp; " of the month"</paragraph>
diff --git a/source/text/sbasic/shared/03030104.xhp b/source/text/sbasic/shared/03030104.xhp
index b1d523ce05..c89e726cab 100644
--- a/source/text/sbasic/shared/03030104.xhp
+++ b/source/text/sbasic/shared/03030104.xhp
@@ -35,13 +35,13 @@
<paragraph role="heading" id="hd_id3153127" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03030104.xhp">Month Function</link></paragraph>
<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US">Returns the month of a year from a serial date that is generated by the DateSerial or the DateValue function.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3145068">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3150398" xml-lang="en-US">Month (Number)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3154366">Return value:</h2>
<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US">Integer</paragraph>
-<paragraph role="heading" id="hd_id3150768" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3150768">Parameters:</h2>
<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US">
<emph>Number:</emph> Numeric expression that contains the serial date number that is used to determine the month of the year.</paragraph>
<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US">This function is the opposite of the <emph>DateSerial </emph>function. It returns the month in the year that corresponds to the serial date that is generated by <emph>DateSerial</emph> or <emph>DateValue</emph>. For example, the expression</paragraph>
@@ -51,7 +51,7 @@
<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US">returns the value 12.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3146923" xml-lang="en-US" level="2">Example:</paragraph>
+<h2 id="hd_id3146923">Example:</h2>
<bascode>
<paragraph role="bascode" id="par_id3156442" xml-lang="en-US" localize="false">Sub ExampleMonth</paragraph>
<paragraph role="bascode" id="par_id3149664" xml-lang="en-US"> MsgBox "" &amp; Month(Now) ,64,"The current month"</paragraph>
diff --git a/source/text/sbasic/shared/03030106.xhp b/source/text/sbasic/shared/03030106.xhp
index 57b223b839..9ecaaac221 100644
--- a/source/text/sbasic/shared/03030106.xhp
+++ b/source/text/sbasic/shared/03030106.xhp
@@ -35,13 +35,13 @@
<paragraph role="heading" id="hd_id3148664" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03030106.xhp">Year Function</link></paragraph>
<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US">Returns the year from a serial date number that is generated by the DateSerial or the DateValue function.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3154125" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3154125">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3147229" xml-lang="en-US">Year (Number)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3154685">Return value:</h2>
<paragraph role="paragraph" id="par_id3153970" xml-lang="en-US">Integer</paragraph>
-<paragraph role="heading" id="hd_id3150440" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3150440">Parameters:</h2>
<paragraph role="paragraph" id="par_id3163712" xml-lang="en-US">
<emph>Number:</emph> Integer expression that contains the serial date number that is used to calculate the year.</paragraph>
<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US">This function is the opposite of the <emph>DateSerial </emph>function, and returns the year of a serial date. For example, the expression:</paragraph>
@@ -51,7 +51,7 @@
<paragraph role="paragraph" id="par_id3149483" xml-lang="en-US">returns the value 1994.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3146985" xml-lang="en-US" level="2">Example:</paragraph>
+<h2 id="hd_id3146985">Example:</h2>
<bascode>
<paragraph role="bascode" id="par_id3153952" xml-lang="en-US" localize="false">Sub ExampleYear</paragraph>
<paragraph role="bascode" id="par_id3153363" xml-lang="en-US"> MsgBox "" &amp; Year(Now) ,64,"Current year"</paragraph>
diff --git a/source/text/sbasic/shared/03030107.xhp b/source/text/sbasic/shared/03030107.xhp
index 2d61b406a0..412782d4b9 100644
--- a/source/text/sbasic/shared/03030107.xhp
+++ b/source/text/sbasic/shared/03030107.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3151099" role="note" xml-lang="en-US">Years less than 100 and greater than 9999 are supported since %PRODUCTNAME 5.4.</paragraph>
</section>
-<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3159224">Syntax:</h2>
<bascode>
<paragraph id="par_id3149497" role="bascode" xml-lang="en-US">CDateToIso(Number)</paragraph>
</bascode>
-<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3152347">Return value:</h2>
<paragraph id="par_id3154422" role="paragraph" xml-lang="en-US">String</paragraph>
-<paragraph id="hd_id3147303" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3147303">Parameters:</h2>
<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Integer that contains the serial date number.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3147243" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147243">Example:</h2>
<bascode>
<paragraph id="par_idm1341132912" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToIso</paragraph>
<paragraph id="par_id3153126" role="bascode" xml-lang="en-US"> MsgBox "" &amp; CDateToIso(Now) ,64,"ISO Date"</paragraph>
diff --git a/source/text/sbasic/shared/03030108.xhp b/source/text/sbasic/shared/03030108.xhp
index 6e1833c6f0..599d6c3297 100644
--- a/source/text/sbasic/shared/03030108.xhp
+++ b/source/text/sbasic/shared/03030108.xhp
@@ -39,18 +39,18 @@
<paragraph id="par_id3148553" role="tip" xml-lang="en-US">When converting a date serial number to a printable string, for example for the Print or MsgBox command, the locale's default calendar is used and at that 1582-10-15 cutover date may switch to the Julian calendar, which can result in a different date being displayed than expected. Use the <link href="text/sbasic/shared/03030107.xhp">CDateToIso Function</link> to convert such date number to a string representation in the proleptic Gregorian calendar.</paragraph>
<paragraph id="par_id3148554" role="note" xml-lang="en-US">The YYYY-MM-DD format with separators is supported since %PRODUCTNAME 5.3.4. Years less than 100 or greater than 9999 are accepted since %PRODUCTNAME 5.4 if not in VBA compatibility mode.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3148947">Syntax:</h2>
<bascode>
<paragraph role="bascode" localize="false" id="par_id3150400" xml-lang="en-US">CDateFromIso(String)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3154367" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3154367">Return value:</h2>
<paragraph role="paragraph" id="par_id3156212" xml-lang="en-US">Internal date number</paragraph>
-<paragraph role="heading" id="hd_id3125864" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3125864">Parameters:</h2>
<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US">
<emph>String:</emph> A string that contains a date in ISO format.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="2">Example:</paragraph>
+<h2 id="hd_id3150439">Example:</h2>
<bascode>
<paragraph role="bascode" localize="false" id="par_id3147318" xml-lang="en-US">dateval = CDateFromIso("20021231")</paragraph>
<paragraph role="bascode" localize="false" id="par_id3147319" xml-lang="en-US">dateval = CDateFromIso("2002-12-31")</paragraph>
diff --git a/source/text/sbasic/shared/03030110.xhp b/source/text/sbasic/shared/03030110.xhp
index f37c7d949e..7a63468811 100644
--- a/source/text/sbasic/shared/03030110.xhp
+++ b/source/text/sbasic/shared/03030110.xhp
@@ -43,7 +43,7 @@
<paragraph id="par_idN1055F" role="bascode" xml-lang="en-US">DateAdd (interval As String, number As Long, date As Date) As Date</paragraph>
</bascode>
-<paragraph id="par_idN1061E" role="heading" level="3" xml-lang="en-US">Return value:</paragraph>
+<h3 id="par_idN1061E">Return value:</h3>
<paragraph id="par_idN10622" role="paragraph" xml-lang="en-US">A Variant containing a date.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
diff --git a/source/text/sbasic/shared/03030111.xhp b/source/text/sbasic/shared/03030111.xhp
index ea12a8671f..c2e84e78b9 100644
--- a/source/text/sbasic/shared/03030111.xhp
+++ b/source/text/sbasic/shared/03030111.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3151097" role="paragraph" xml-lang="en-US">Returns the date as a UNO com.sun.star.util.Date struct.</paragraph>
</section>
-<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3159224">Syntax:</h2>
<bascode>
<paragraph id="par_id3149497" role="bascode" xml-lang="en-US">CDateToUnoDate(aDate)</paragraph>
</bascode>
-<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3152347">Return value:</h2>
<paragraph id="par_id3154422" role="paragraph" xml-lang="en-US">com.sun.star.util.Date</paragraph>
-<paragraph id="hd_id3147303" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3147303">Parameters:</h2>
<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US"> <emph>aDate:</emph> Date to convert</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3147243" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147243">Example:</h2>
<bascode>
<paragraph id="par_idm1341576768" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToUnoDate</paragraph>
<paragraph id="par_id3153126" role="bascode" localize="false" xml-lang="en-US"> aDatabaseRow.updateDate(3, CDateToUnoDate(Now))</paragraph>
diff --git a/source/text/sbasic/shared/03030112.xhp b/source/text/sbasic/shared/03030112.xhp
index 58f716f415..c60ce1e750 100644
--- a/source/text/sbasic/shared/03030112.xhp
+++ b/source/text/sbasic/shared/03030112.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3151097" role="paragraph" xml-lang="en-US">Converts a UNO com.sun.star.util.Date struct to a Date value.</paragraph>
</section>
-<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3159224">Syntax:</h2>
<bascode>
<paragraph id="par_id3149497" localize="false" role="bascode">CDateFromUnoDate(aDate)</paragraph>
</bascode>
-<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3152347">Return value:</h2>
<paragraph id="par_id3154422" role="paragraph" xml-lang="en-US">Date</paragraph>
-<paragraph id="hd_id3147303" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3147303">Parameters:</h2>
<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US"> <emph>aDate:</emph> Date to convert</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3147243" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147243">Example:</h2>
<bascode>
<paragraph id="par_idm1341052400" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoDate</paragraph>
<paragraph id="par_id3153126" role="bascode" localize="false" xml-lang="en-US"> MsgBox(CDateFromUnoDate(aDatabaseRow.getDate(3)))</paragraph>
diff --git a/source/text/sbasic/shared/03030113.xhp b/source/text/sbasic/shared/03030113.xhp
index ee6c8e2f10..f170cb54ad 100644
--- a/source/text/sbasic/shared/03030113.xhp
+++ b/source/text/sbasic/shared/03030113.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3151097" role="paragraph" xml-lang="en-US">Returns the time part of the date as a UNO com.sun.star.util.Time struct.</paragraph>
</section>
-<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3159224">Syntax:</h2>
<bascode>
<paragraph id="par_id3149497" role="bascode" xml-lang="en-US">CDateToUnoTime(aDate)</paragraph>
</bascode>
-<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3152347">Return value:</h2>
<paragraph id="par_id3154422" role="paragraph" xml-lang="en-US">com.sun.star.util.Time</paragraph>
-<paragraph id="hd_id3147303" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3147303">Parameters:</h2>
<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US"> <emph>aDate:</emph> Date value to convert</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3147243" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147243">Example:</h2>
<bascode>
<paragraph id="par_idm1341576752" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToUnoTime</paragraph>
<paragraph id="par_id3153126" role="bascode" localize="false" xml-lang="en-US"> aDatabaseRow.updateTime(3, CDateToUnoTime(Now))</paragraph>
diff --git a/source/text/sbasic/shared/03030114.xhp b/source/text/sbasic/shared/03030114.xhp
index da27f5d497..cc8ade33e3 100644
--- a/source/text/sbasic/shared/03030114.xhp
+++ b/source/text/sbasic/shared/03030114.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3151097" role="paragraph" xml-lang="en-US">Converts a UNO com.sun.star.util.Time struct to a Date value.</paragraph>
</section>
-<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3159224">Syntax:</h2>
<bascode>
<paragraph id="par_id3149497" role="bascode" xml-lang="en-US">CDateFromUnoTime(aTime)</paragraph>
</bascode>
-<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3152347">Return value:</h2>
<paragraph id="par_id3154422" role="paragraph" xml-lang="en-US">Date</paragraph>
-<paragraph id="hd_id3147303" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3147303">Parameters:</h2>
<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US"> <emph>aTime:</emph> Time to convert</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3147243" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147243">Example:</h2>
<bascode>
<paragraph id="par_idm1340912560" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoTime</paragraph>
<paragraph id="par_id3153126" role="bascode" localize="false" xml-lang="en-US"> MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))</paragraph>
diff --git a/source/text/sbasic/shared/03030115.xhp b/source/text/sbasic/shared/03030115.xhp
index 95ae533275..764e67436e 100644
--- a/source/text/sbasic/shared/03030115.xhp
+++ b/source/text/sbasic/shared/03030115.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3151097" role="paragraph" xml-lang="en-US">Returns the time part of the date as a UNO com.sun.star.util.DateTime struct.</paragraph>
</section>
-<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3159224">Syntax:</h2>
<bascode>
<paragraph id="par_id3149497" role="bascode" xml-lang="en-US">CDateToUnoDateTime(aDate)</paragraph>
</bascode>
-<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3152347">Return value:</h2>
<paragraph id="par_id3154422" role="paragraph" xml-lang="en-US">com.sun.star.util.DateTime</paragraph>
-<paragraph id="hd_id3147303" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3147303">Parameters:</h2>
<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US"> <emph>aDate:</emph> Date value to convert</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3147243" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147243">Example:</h2>
<bascode>
<paragraph id="par_idm1206672048" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToUnoDateTime</paragraph>
<paragraph id="par_id3153126" role="bascode" localize="false" xml-lang="en-US"> aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))</paragraph>
diff --git a/source/text/sbasic/shared/03030116.xhp b/source/text/sbasic/shared/03030116.xhp
index 5adf14bda3..1319ba55a6 100644
--- a/source/text/sbasic/shared/03030116.xhp
+++ b/source/text/sbasic/shared/03030116.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3151097" role="paragraph" xml-lang="en-US">Converts a UNO com.sun.star.util.DateTime struct to a Date value.</paragraph>
</section>
-<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3159224">Syntax:</h2>
<bascode>
<paragraph id="par_id3149497" role="bascode" xml-lang="en-US">CDateFromUnoDateTime(aDateTime)</paragraph>
</bascode>
-<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3152347">Return value:</h2>
<paragraph id="par_id3154422" role="paragraph" xml-lang="en-US">Date</paragraph>
-<paragraph id="hd_id3147303" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3147303">Parameters:</h2>
<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US"> <emph>aDateTime:</emph> DateTime to convert</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3147243" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147243">Example:</h2>
<bascode>
<paragraph id="par_idm1073172720" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoDateTime</paragraph>
<paragraph id="par_id3153126" role="bascode" localize="false" xml-lang="en-US"> MsgBox(CDateFromUnoDateTime(aDatabaseRow.getTimestamp(3)))</paragraph>
diff --git a/source/text/sbasic/shared/03030120.xhp b/source/text/sbasic/shared/03030120.xhp
index 04f6fd4dea..75bf80e555 100644
--- a/source/text/sbasic/shared/03030120.xhp
+++ b/source/text/sbasic/shared/03030120.xhp
@@ -41,7 +41,7 @@
<paragraph id="par_idN10648" role="bascode" xml-lang="en-US">DateDiff (interval As String, date1 As Date, date2 As Date [, firstDayOfWeek As Integer [, firstWeekOfYear As Integer]]) As Double</paragraph>
</bascode>
-<paragraph id="par_idN1064B" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="par_idN1064B">Return value:</h2>
<paragraph id="par_idN1064F" role="paragraph" xml-lang="en-US">A number.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
diff --git a/source/text/sbasic/shared/03030130.xhp b/source/text/sbasic/shared/03030130.xhp
index 5934bb13b2..2ab5e915a0 100644
--- a/source/text/sbasic/shared/03030130.xhp
+++ b/source/text/sbasic/shared/03030130.xhp
@@ -42,7 +42,7 @@
<paragraph id="par_idN105E8" role="bascode" xml-lang="en-US">DatePart (interval As String, date As Date [, firstDayOfWeek As Integer [, firstWeekOfYear As Integer]]) As Long</paragraph>
</bascode>
-<paragraph id="par_idN105EB" role="heading" level="3" xml-lang="en-US">Return value:</paragraph>
+<h3 id="par_idN105EB">Return value:</h3>
<paragraph id="par_idN105EF" role="paragraph" xml-lang="en-US">The extracted part for the given date.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
diff --git a/source/text/sbasic/shared/03030201.xhp b/source/text/sbasic/shared/03030201.xhp
index 97bc08628f..95bdfdda28 100644
--- a/source/text/sbasic/shared/03030201.xhp
+++ b/source/text/sbasic/shared/03030201.xhp
@@ -32,13 +32,13 @@
<paragraph xml-lang="en-US" id="hd_id3156042" role="heading" level="1"><link href="text/sbasic/shared/03030201.xhp">Hour Function</link></paragraph>
<paragraph xml-lang="en-US" id="par_id3149346" role="paragraph">Returns the hour from a time value that is generated by the TimeSerial or the TimeValue function.</paragraph>
</section>
- <paragraph xml-lang="en-US" id="hd_id3147574" role="heading" level="2">Syntax:</paragraph>
+ <h2 id="hd_id3147574">Syntax:</h2>
<bascode>
<paragraph xml-lang="en-US" id="par_id3147264" role="bascode">Hour (Number)</paragraph>
</bascode>
- <paragraph xml-lang="en-US" id="hd_id3145069" role="heading" level="2">Return value:</paragraph>
+ <h2 id="hd_id3145069">Return value:</h2>
<paragraph xml-lang="en-US" id="par_id3149670" role="paragraph">Integer</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3150359" role="heading" level="2">Parameters:</paragraph>
+ <h2 id="hd_id3150359">Parameters:</h2>
<paragraph xml-lang="en-US" id="par_id3154366" role="paragraph">
<emph>Number:</emph> Numeric expression that contains the serial time value that is used to return the hour value.</paragraph>
<paragraph xml-lang="en-US" id="par_id3154909" role="paragraph">This function is the opposite of the <emph>TimeSerial</emph> function. It returns an integer value that represents the hour from a time value that is generated by the <emph>TimeSerial</emph> or the <emph>TimeValue </emph>function. For example, the expression</paragraph>
@@ -46,7 +46,7 @@
<paragraph xml-lang="en-US" id="par_id3155132" role="paragraph">returns the value 12.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
- <paragraph xml-lang="en-US" id="hd_id3147348" role="heading" level="2">Example:</paragraph>
+ <h2 id="hd_id3147348">Example:</h2>
<bascode>
<paragraph id="par_id3146985" localize="false" role="bascode">Sub ExampleHour</paragraph>
<paragraph xml-lang="en-US" id="par_id3156441" role="bascode">Print "The current hour is " &amp; Hour( Now )</paragraph>
diff --git a/source/text/sbasic/shared/03030204.xhp b/source/text/sbasic/shared/03030204.xhp
index 4e8a65257d..db540dd177 100644
--- a/source/text/sbasic/shared/03030204.xhp
+++ b/source/text/sbasic/shared/03030204.xhp
@@ -38,15 +38,15 @@
<paragraph id="par_id3156023" role="paragraph" xml-lang="en-US">Returns an integer that represents the seconds of the serial time number that is generated by the TimeSerial or the TimeValue function.</paragraph>
</section>
-<paragraph id="hd_id3147264" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3147264">Syntax:</h2>
<bascode>
<paragraph id="par_id3146795" role="bascode" xml-lang="en-US">Second (Number)</paragraph>
</bascode>
-<paragraph id="hd_id3150792" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3150792">Return value:</h2>
<paragraph id="par_id3154140" role="paragraph" xml-lang="en-US">Integer</paragraph>
-<paragraph id="hd_id3156280" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3156280">Parameters:</h2>
<paragraph id="par_id3154124" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Numeric expression that contains the serial time number that is used to calculate the number of seconds.</paragraph>
<paragraph id="par_id3125864" role="paragraph" xml-lang="en-US">This function is the opposite of the <emph>TimeSerial </emph>function. It returns the seconds of a serial time value that is generated by the <emph>TimeSerial</emph> or <emph>TimeValue </emph>functions. For example, the expression:</paragraph>
<paragraph id="par_id3153951" localize="false" role="paragraph">Print Second(TimeSerial(12,30,41))</paragraph>
@@ -54,7 +54,7 @@
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3147426" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147426">Example:</h2>
<bascode>
<paragraph id="par_idm1341619920" role="bascode" localize="false" xml-lang="en-US">Sub ExampleSecond</paragraph>
<paragraph id="par_id3156441" role="bascode" xml-lang="en-US"> MsgBox "The exact second of the current time is "&amp; Second( Now )</paragraph>
diff --git a/source/text/sbasic/shared/03030205.xhp b/source/text/sbasic/shared/03030205.xhp
index 376c632aa9..dfc39113ad 100644
--- a/source/text/sbasic/shared/03030205.xhp
+++ b/source/text/sbasic/shared/03030205.xhp
@@ -38,15 +38,15 @@
<paragraph id="par_id3156344" role="paragraph" xml-lang="en-US">Calculates a serial time value for the specified hour, minute, and second parameters that are passed as numeric value. You can then use this value to calculate the difference between times.</paragraph>
</section>
-<paragraph id="hd_id3146794" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3146794">Syntax:</h2>
<bascode>
<paragraph id="par_id3150792" role="bascode" xml-lang="en-US">TimeSerial (hour, minute, second)</paragraph>
</bascode>
-<paragraph id="hd_id3148797" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3148797">Return value:</h2>
<paragraph id="par_id3154908" role="paragraph" xml-lang="en-US">Date</paragraph>
-<paragraph id="hd_id3154124" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3154124">Parameters:</h2>
<paragraph id="par_id3153193" role="paragraph" xml-lang="en-US"> <emph>hour:</emph> Any integer expression that indicates the hour of the time that is used to determine the serial time value. Valid values: 0-23.</paragraph>
<paragraph id="par_id3159252" role="paragraph" xml-lang="en-US"> <emph>minute:</emph> Any integer expression that indicates the minute of the time that is used to determine the serial time value. In general, use values between 0 and 59. However, you can also use values that lie outside of this range, where the number of minutes influence the hour value.</paragraph>
<paragraph id="par_id3161831" role="paragraph" xml-lang="en-US"> <emph>second:</emph> Any integer expression that indicates the second of the time that is used to determine the serial time value. In general, you can use values between 0 and 59. However, you can also use values that lie outside of this range, where the number seconds influences the minute value.</paragraph>
@@ -61,7 +61,7 @@
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3154790" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3154790">Example:</h2>
<bascode>
<paragraph id="par_idm1341318224" role="bascode" localize="false" xml-lang="en-US">Sub ExampleTimeSerial</paragraph>
<paragraph id="par_idm1341316992" role="bascode" localize="false" xml-lang="en-US">Dim dDate As Double, sDate As String</paragraph>
diff --git a/source/text/sbasic/shared/03030206.xhp b/source/text/sbasic/shared/03030206.xhp
index cc978f83a3..14356a07f0 100644
--- a/source/text/sbasic/shared/03030206.xhp
+++ b/source/text/sbasic/shared/03030206.xhp
@@ -38,15 +38,15 @@
<paragraph id="par_id3153361" role="paragraph" xml-lang="en-US">Calculates a serial time value from the specified hour, minute, and second - parameters passed as strings - that represents the time in a single numeric value. This value can be used to calculate the difference between times.</paragraph>
</section>
-<paragraph id="hd_id3154138" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3154138">Syntax:</h2>
<bascode>
<paragraph id="par_id3156282" role="bascode" xml-lang="en-US">TimeValue (Text As String)</paragraph>
</bascode>
-<paragraph id="hd_id3153969" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3153969">Return value:</h2>
<paragraph id="par_id3156424" role="paragraph" xml-lang="en-US">Date</paragraph>
-<paragraph id="hd_id3145172" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3145172">Parameters:</h2>
<paragraph id="par_id3145786" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that contains the time that you want to calculate in the format "HH:MM:SS".</paragraph>
<paragraph id="par_id3152578" role="paragraph" xml-lang="en-US">Use the TimeValue function to convert any time into a single value, so that you can calculate time differences.</paragraph>
<paragraph id="par_id3163710" role="paragraph" xml-lang="en-US">This TimeValue function returns the type Variant with VarType 7 (Date), and stores this value internally as a double-precision number between 0 and 0.9999999999.</paragraph>
@@ -56,7 +56,7 @@
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err13"/>
-<paragraph id="hd_id3145271" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3145271">Example:</h2>
<bascode>
<paragraph id="par_idm1340872288" role="bascode" localize="false" xml-lang="en-US">Sub ExampleTimerValue</paragraph>
<paragraph id="par_idm1340871056" role="bascode" localize="false" xml-lang="en-US">Dim daDT As Date</paragraph>
diff --git a/source/text/sbasic/shared/03050100.xhp b/source/text/sbasic/shared/03050100.xhp
index 0bdf4ba66b..a618710188 100644
--- a/source/text/sbasic/shared/03050100.xhp
+++ b/source/text/sbasic/shared/03050100.xhp
@@ -36,18 +36,18 @@
<paragraph id="par_id3153394" role="paragraph" xml-lang="en-US">Returns the line number where an error occurred during program execution.</paragraph>
</section>
-<paragraph id="hd_id3147574" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3147574">Syntax:</h2>
<bascode>
<paragraph id="par_id3146795" role="bascode" localize="false" xml-lang="en-US">Erl</paragraph>
</bascode>
-<paragraph id="hd_id3147265" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3147265">Return value:</h2>
<paragraph id="par_id3154924" role="paragraph" xml-lang="en-US">Integer</paragraph>
-<paragraph id="hd_id3150792" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3150792">Parameters:</h2>
<paragraph id="par_id3153771" role="note" xml-lang="en-US">The Erl function only returns a line number, and not a line label.</paragraph>
-<paragraph id="hd_id3146921" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3146921">Example:</h2>
<bascode>
<paragraph id="par_idm1340990976" role="bascode" localize="false" xml-lang="en-US">Sub ExampleError</paragraph>
<paragraph id="par_id3150010" role="bascode" xml-lang="en-US">On Error GoTo ErrorHandler ' Set up error handler</paragraph>
diff --git a/source/text/sbasic/shared/03050200.xhp b/source/text/sbasic/shared/03050200.xhp
index 9a31d45604..fe2d8b64a7 100644
--- a/source/text/sbasic/shared/03050200.xhp
+++ b/source/text/sbasic/shared/03050200.xhp
@@ -35,15 +35,15 @@
<paragraph role="heading" id="hd_id3156343" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03050200.xhp">Err Function</link></paragraph>
<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">Returns an error code that identifies the error that occurred during program execution.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3149656">Syntax:</h2>
<bascode>
<paragraph role="bascode" localize="false" id="par_id3154123" xml-lang="en-US">Err</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3147229">Return value:</h2>
<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US">Integer</paragraph>
-<paragraph role="heading" id="hd_id3153193" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3153193">Parameters:</h2>
<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US">The Err function is used in error-handling routines to determine the error and the corrective action.</paragraph>
-<paragraph role="heading" id="hd_id3147317" xml-lang="en-US" level="2">Example:</paragraph>
+<h2 id="hd_id3147317">Example:</h2>
<bascode>
<paragraph role="bascode" id="par_id3153727" xml-lang="en-US" localize="false">Sub ExampleError</paragraph>
<paragraph role="bascode" id="par_id3147426" xml-lang="en-US">On Error Goto ErrorHandler REM Set up error handler</paragraph>
diff --git a/source/text/sbasic/shared/03050300.xhp b/source/text/sbasic/shared/03050300.xhp
index 3cfe1a6177..04d8bd0735 100644
--- a/source/text/sbasic/shared/03050300.xhp
+++ b/source/text/sbasic/shared/03050300.xhp
@@ -33,15 +33,15 @@
<paragraph role="heading" id="hd_id3159413" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03050300.xhp">Error Function</link></paragraph>
<paragraph role="paragraph" id="par_id3148663" xml-lang="en-US">Returns the error message that corresponds to a value or raises a given error context.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3153379">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id631576404838377">Error</paragraph>
<paragraph role="bascode" id="par_id3154366" xml-lang="en-US">Error(expression)</paragraph>
<paragraph role="bascode" id="par_id231576404629080">Error err_code</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3145173">Return value:</h2>
<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US">String or raised error context</paragraph>
-<paragraph role="heading" id="hd_id3150869" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3150869">Parameters:</h2>
<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US">If no argument is provided, the Error function returns the error message of the most recent error that occurred during program execution.</paragraph>
<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US">
<emph>expression:</emph> Any numeric expression whose error code can be mapped to an existing error message. An empty string is returned if the error code does not exist.</paragraph>
diff --git a/source/text/sbasic/shared/03060100.xhp b/source/text/sbasic/shared/03060100.xhp
index b0218f434d..77867817d7 100644
--- a/source/text/sbasic/shared/03060100.xhp
+++ b/source/text/sbasic/shared/03060100.xhp
@@ -38,19 +38,19 @@
<paragraph id="par_id3143268" role="paragraph" xml-lang="en-US">Logically combines two expressions.</paragraph>
</section>
-<paragraph id="hd_id3147574" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3147574">Syntax:</h2>
<bascode>
<paragraph id="par_id3156344" role="bascode" xml-lang="en-US">Result = Expression1 And Expression2</paragraph>
</bascode>
-<paragraph id="hd_id3148946" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3148946">Parameters:</h2>
<paragraph id="par_id3149457" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numeric variable that records the result of the combination.</paragraph>
<paragraph id="par_id3150541" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any expressions that you want to combine.</paragraph>
<paragraph id="par_id3156215" role="paragraph" xml-lang="en-US">Boolean expressions combined with AND only return the value <emph>True</emph> if both expressions evaluate to <emph>True</emph>:</paragraph>
<paragraph id="par_id3150870" role="paragraph" xml-lang="en-US"> <emph>True</emph> AND <emph>True</emph> returns <emph>True</emph>; for all other combinations the result is <emph>False</emph>.</paragraph>
<paragraph id="par_id3153768" role="paragraph" xml-lang="en-US">The AND operator also performs a bitwise comparison of identically positioned bits in two numeric expressions.</paragraph>
-<paragraph id="hd_id3153727" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153727">Example:</h2>
<bascode>
<paragraph id="par_idm1340824864" role="bascode" localize="false" xml-lang="en-US">Sub ExampleAnd</paragraph>
<paragraph id="par_idm1340823632" role="bascode" localize="false" xml-lang="en-US">Dim A As Variant, B As Variant, C As Variant, D As Variant</paragraph>
diff --git a/source/text/sbasic/shared/03060200.xhp b/source/text/sbasic/shared/03060200.xhp
index abaee101e4..dceac3fa4c 100644
--- a/source/text/sbasic/shared/03060200.xhp
+++ b/source/text/sbasic/shared/03060200.xhp
@@ -38,18 +38,18 @@
<paragraph id="par_id3149656" role="paragraph" xml-lang="en-US">Calculates the logical equivalence of two expressions.</paragraph>
</section>
-<paragraph id="hd_id3154367" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3154367">Syntax:</h2>
<bascode>
<paragraph id="par_id3154910" role="bascode" xml-lang="en-US">Result = Expression1 Eqv Expression2</paragraph>
</bascode>
-<paragraph id="hd_id3151043" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3151043">Parameters:</h2>
<paragraph id="par_id3150869" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numeric variable that contains the result of the comparison.</paragraph>
<paragraph id="par_id3150448" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any expressions that you want to compare.</paragraph>
<paragraph id="par_id3149562" role="paragraph" xml-lang="en-US">When testing for equivalence between Boolean expressions, the result is <emph>True</emph> if both expressions are either <emph>True</emph> or <emph>False</emph>.</paragraph>
<paragraph id="par_id3154319" role="paragraph" xml-lang="en-US">In a bit-wise comparison, the Eqv operator only sets the corresponding bit in the result if a bit is set in both expressions, or in neither expression.</paragraph>
-<paragraph id="hd_id3159154" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3159154">Example:</h2>
<bascode>
<paragraph id="par_idm1341574288" role="bascode" localize="false" xml-lang="en-US">Sub ExampleEqv</paragraph>
<paragraph id="par_idm1341573056" role="bascode" localize="false" xml-lang="en-US">Dim A As Variant, B As Variant, C As Variant, D As Variant<comment>see #i38265</comment></paragraph>
diff --git a/source/text/sbasic/shared/03060300.xhp b/source/text/sbasic/shared/03060300.xhp
index 1655168c40..6f192c92f5 100644
--- a/source/text/sbasic/shared/03060300.xhp
+++ b/source/text/sbasic/shared/03060300.xhp
@@ -38,18 +38,18 @@
<paragraph id="par_id3148947" role="paragraph" xml-lang="en-US">Performs a logical implication on two expressions.</paragraph>
</section>
-<paragraph id="hd_id3148664" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3148664">Syntax:</h2>
<bascode>
<paragraph id="par_id3149656" role="bascode" xml-lang="en-US">Result = Expression1 Imp Expression2</paragraph>
</bascode>
-<paragraph id="hd_id3151212" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3151212">Parameters:</h2>
<paragraph id="par_id3154910" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numeric variable that contains the result of the implication.</paragraph>
<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any expressions that you want to evaluate with the Imp operator.</paragraph>
<paragraph id="par_id3150440" role="paragraph" xml-lang="en-US">If you use the Imp operator in Boolean expressions, False is only returned if the first expression evaluates to True and the second expression to False.</paragraph>
<paragraph id="par_id3163710" role="paragraph" xml-lang="en-US">If you use the Imp operator in bit expressions, a bit is deleted from the result if the corresponding bit is set in the first expression and the corresponding bit is deleted in the second expression.</paragraph>
-<paragraph id="hd_id3147318" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147318">Example:</h2>
<bascode>
<paragraph id="par_idm1341575552" role="bascode" localize="false" xml-lang="en-US">Sub ExampleImp</paragraph>
<paragraph id="par_idm1341574320" role="bascode" localize="false" xml-lang="en-US">Dim A As Variant, B As Variant, C As Variant, D As Variant</paragraph>
diff --git a/source/text/sbasic/shared/03060400.xhp b/source/text/sbasic/shared/03060400.xhp
index c078b2b2f6..47065ad178 100644
--- a/source/text/sbasic/shared/03060400.xhp
+++ b/source/text/sbasic/shared/03060400.xhp
@@ -38,18 +38,18 @@
<paragraph id="par_id3159414" role="paragraph" xml-lang="en-US">Negates an expression by inverting the bit values.</paragraph>
</section>
-<paragraph id="hd_id3149457" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3149457">Syntax:</h2>
<bascode>
<paragraph id="par_id3150360" role="bascode" xml-lang="en-US">Result = Not Expression</paragraph>
</bascode>
-<paragraph id="hd_id3151211" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3151211">Parameters:</h2>
<paragraph id="par_id3147228" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numeric variable that contains the result of the negation.</paragraph>
<paragraph id="par_id3154124" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Any expression that you want to negate.</paragraph>
<paragraph id="par_id3150868" role="paragraph" xml-lang="en-US">When a Boolean expression is negated, the value True changes to False, and the value False changes to True.</paragraph>
<paragraph id="par_id3145785" role="paragraph" xml-lang="en-US">In a bitwise negation each individual bit is inverted.</paragraph>
-<paragraph id="hd_id3153093" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153093">Example:</h2>
<bascode>
<paragraph id="par_idm1341144144" role="bascode" localize="false" xml-lang="en-US">Sub ExampleNot</paragraph>
<paragraph id="par_idm1341142912" role="bascode" localize="false" xml-lang="en-US">Dim vA As Variant, vB As Variant, vC As Variant, vD As Variant</paragraph>
diff --git a/source/text/sbasic/shared/03060500.xhp b/source/text/sbasic/shared/03060500.xhp
index 0572801402..8fec89c1d3 100644
--- a/source/text/sbasic/shared/03060500.xhp
+++ b/source/text/sbasic/shared/03060500.xhp
@@ -38,18 +38,18 @@
<paragraph id="par_id3148552" role="paragraph" xml-lang="en-US">Performs a logical OR disjunction on two expressions.</paragraph>
</section>
-<paragraph id="hd_id3148664" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3148664">Syntax:</h2>
<bascode>
<paragraph id="par_id3150358" role="bascode" xml-lang="en-US">Result = Expression1 Or Expression2</paragraph>
</bascode>
-<paragraph id="hd_id3151211" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3151211">Parameters:</h2>
<paragraph id="par_id3153192" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numeric variable that contains the result of the disjunction.</paragraph>
<paragraph id="par_id3147229" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any numeric expressions that you want to compare.</paragraph>
<paragraph id="par_id3154684" role="paragraph" xml-lang="en-US">A logical OR disjunction of two Boolean expressions returns the value True if at least one comparison expression is True.</paragraph>
<paragraph id="par_id3153768" role="paragraph" xml-lang="en-US">A bit-wise comparison sets a bit in the result if the corresponding bit is set in at least one of the two expressions.</paragraph>
-<paragraph id="hd_id3161831" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3161831">Example:</h2>
<bascode>
<paragraph id="par_idm1340848352" role="bascode" localize="false" xml-lang="en-US">Sub ExampleOr</paragraph>
<paragraph id="par_idm1340847120" role="bascode" localize="false" xml-lang="en-US">Dim vA As Variant, vB As Variant, vC As Variant, vD As Variant</paragraph>
diff --git a/source/text/sbasic/shared/03060600.xhp b/source/text/sbasic/shared/03060600.xhp
index a52fff6179..0081da07ee 100644
--- a/source/text/sbasic/shared/03060600.xhp
+++ b/source/text/sbasic/shared/03060600.xhp
@@ -38,18 +38,18 @@
<paragraph id="par_id3159414" role="paragraph" xml-lang="en-US">Performs a logical Exclusive-Or combination of two expressions.</paragraph>
</section>
-<paragraph id="hd_id3153381" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3153381">Syntax:</h2>
<bascode>
<paragraph id="par_id3150400" role="bascode" xml-lang="en-US">Result = Expression1 XOR Expression2</paragraph>
</bascode>
-<paragraph id="hd_id3153968" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3153968">Parameters:</h2>
<paragraph id="par_id3150448" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numeric variable that contains the result of the combination.</paragraph>
<paragraph id="par_id3125864" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any numeric expressions that you want to combine.</paragraph>
<paragraph id="par_id3150439" role="paragraph" xml-lang="en-US">A logical Exclusive-Or conjunction of two Boolean expressions returns the value True only if both expressions are different from each other.</paragraph>
<paragraph id="par_id3153770" role="paragraph" xml-lang="en-US">A bitwise Exclusive-Or conjunction returns a bit if the corresponding bit is set in only one of the two expressions.</paragraph>
-<paragraph id="hd_id3153366" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153366">Example:</h2>
<bascode>
<paragraph id="par_idm1341575648" role="bascode" localize="false" xml-lang="en-US">Sub ExampleXOR</paragraph>
<paragraph id="par_idm1341574416" role="bascode" localize="false" xml-lang="en-US">Dim vA As Variant, vB As Variant, vC As Variant, vD As Variant</paragraph>
diff --git a/source/text/sbasic/shared/03070100.xhp b/source/text/sbasic/shared/03070100.xhp
index f54561edb0..cee63e9603 100644
--- a/source/text/sbasic/shared/03070100.xhp
+++ b/source/text/sbasic/shared/03070100.xhp
@@ -38,16 +38,16 @@
<paragraph id="par_id3153345" role="paragraph" xml-lang="en-US">Subtracts two values.</paragraph>
</section>
-<paragraph id="hd_id3149416" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3149416">Syntax:</h2>
<bascode>
<paragraph id="par_id3156023" role="bascode" xml-lang="en-US">Result = Expression1 - Expression2</paragraph>
</bascode>
-<paragraph id="hd_id3154760" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3154760">Parameters:</h2>
<paragraph id="par_id3147560" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numerical expression that contains the result of the subtraction.</paragraph>
<paragraph id="par_id3150398" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any numerical expressions that you want to subtract.</paragraph>
-<paragraph id="hd_id3154366" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3154366">Example:</h2>
<bascode>
<paragraph id="par_idm1341579664" role="bascode" localize="false" xml-lang="en-US">Sub ExampleSubtraction1</paragraph>
<paragraph id="par_idm1341578432" role="bascode" localize="false" xml-lang="en-US"> Print 5 - 5</paragraph>
diff --git a/source/text/sbasic/shared/03070200.xhp b/source/text/sbasic/shared/03070200.xhp
index 2f45997b55..ac09ffc109 100644
--- a/source/text/sbasic/shared/03070200.xhp
+++ b/source/text/sbasic/shared/03070200.xhp
@@ -38,16 +38,16 @@
<paragraph id="par_id3154347" role="paragraph" xml-lang="en-US">Multiplies two values.</paragraph>
</section>
-<paragraph id="hd_id3148946" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3148946">Syntax:</h2>
<bascode>
<paragraph id="par_id3150358" role="bascode" xml-lang="en-US">Result = Expression1 * Expression2</paragraph>
</bascode>
-<paragraph id="hd_id3150400" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3150400">Parameters:</h2>
<paragraph id="par_id3154365" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numeric expression that records the result of a multiplication.</paragraph>
<paragraph id="par_id3154685" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any numeric expressions that you want to multiply.</paragraph>
-<paragraph id="hd_id3153968" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153968">Example:</h2>
<bascode>
<paragraph id="par_idm1341058256" role="bascode" localize="false" xml-lang="en-US">Sub ExampleMultiplication1</paragraph>
<paragraph id="par_idm1341621360" role="bascode" localize="false" xml-lang="en-US"> Print 5 * 5</paragraph>
diff --git a/source/text/sbasic/shared/03070300.xhp b/source/text/sbasic/shared/03070300.xhp
index ecfaa55d59..578a9d5b68 100644
--- a/source/text/sbasic/shared/03070300.xhp
+++ b/source/text/sbasic/shared/03070300.xhp
@@ -38,16 +38,16 @@
<paragraph id="par_id3145068" role="paragraph" xml-lang="en-US">Adds or combines two expressions.</paragraph>
</section>
-<paragraph id="hd_id3144500" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3144500">Syntax:</h2>
<bascode>
<paragraph id="par_id3150358" role="bascode" xml-lang="en-US">Result = Expression1 + Expression2</paragraph>
</bascode>
-<paragraph id="hd_id3150400" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3150400">Parameters:</h2>
<paragraph id="par_id3154123" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numerical expression that contains the result of the addition.</paragraph>
<paragraph id="par_id3150870" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any numerical expressions that you want to combine or to add.</paragraph>
-<paragraph id="hd_id3153969" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153969">Example:</h2>
<bascode>
<paragraph id="par_idm1340484848" role="bascode" localize="false" xml-lang="en-US">Sub ExampleAddition1</paragraph>
<paragraph id="par_idm1340483616" role="bascode" localize="false" xml-lang="en-US"> Print 5 + 5</paragraph>
diff --git a/source/text/sbasic/shared/03070400.xhp b/source/text/sbasic/shared/03070400.xhp
index 3e93644e42..7e44a23798 100644
--- a/source/text/sbasic/shared/03070400.xhp
+++ b/source/text/sbasic/shared/03070400.xhp
@@ -38,16 +38,16 @@
<paragraph id="par_id3149670" role="paragraph" xml-lang="en-US">Divides two values.</paragraph>
</section>
-<paragraph id="hd_id3148946" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3148946">Syntax:</h2>
<bascode>
<paragraph id="par_id3153360" role="bascode" xml-lang="en-US">Result = Expression1 / Expression2 </paragraph>
</bascode>
-<paragraph id="hd_id3150359" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3150359">Parameters:</h2>
<paragraph id="par_id3154141" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numerical value that contains the result of the division.</paragraph>
<paragraph id="par_id3150448" role="paragraph" xml-lang="en-US"> <emph>Expression1, Expression2:</emph> Any numerical expressions that you want to divide.</paragraph>
-<paragraph id="hd_id3154684" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3154684">Example:</h2>
<bascode>
<paragraph id="par_idm1341473008" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDivision1</paragraph>
<paragraph id="par_idm1341471776" role="bascode" localize="false" xml-lang="en-US"> Print 5 / 5</paragraph>
diff --git a/source/text/sbasic/shared/03070500.xhp b/source/text/sbasic/shared/03070500.xhp
index e69cee1904..b218f80e5f 100644
--- a/source/text/sbasic/shared/03070500.xhp
+++ b/source/text/sbasic/shared/03070500.xhp
@@ -38,17 +38,17 @@
<paragraph id="par_id3149670" role="paragraph" xml-lang="en-US">Raises a number to a power.</paragraph>
</section>
-<paragraph id="hd_id3147264" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3147264">Syntax:</h2>
<bascode>
<paragraph id="par_id3149656" role="bascode" xml-lang="en-US">Result = Expression ^ Exponent</paragraph>
</bascode>
-<paragraph id="hd_id3151211" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3151211">Parameters:</h2>
<paragraph id="par_id3153192" role="paragraph" xml-lang="en-US"> <emph>Result:</emph> Any numerical expression that contains the result of the number raised to a power.</paragraph>
<paragraph id="par_id3150448" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Numerical value that you want to raise to a power.</paragraph>
<paragraph id="par_id3156422" role="paragraph" xml-lang="en-US"> <emph>Exponent:</emph> The value of the power that you want to raise the expression to.</paragraph>
-<paragraph id="hd_id3147287" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3147287">Example:</h2>
<bascode>
<paragraph id="par_idm1340559440" role="bascode" localize="false" xml-lang="en-US">Sub Example</paragraph>
<paragraph id="par_idm1340558208" role="bascode" localize="false" xml-lang="en-US"> Print ( 12.345 ^ 23 )</paragraph>
diff --git a/source/text/sbasic/shared/03080201.xhp b/source/text/sbasic/shared/03080201.xhp
index 39311112bd..9a9af9002a 100644
--- a/source/text/sbasic/shared/03080201.xhp
+++ b/source/text/sbasic/shared/03080201.xhp
@@ -36,20 +36,20 @@
<paragraph id="par_id3155555" role="paragraph" xml-lang="en-US">Returns the base of the natural logarithm (e = 2.718282) raised to a power.</paragraph>
</section>
-<paragraph id="hd_id3150984" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3150984">Syntax:</h2>
<bascode>
<paragraph id="par_id3145315" role="bascode" xml-lang="en-US">Exp (Number)</paragraph>
</bascode>
-<paragraph id="hd_id3154347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3154347">Return value:</h2>
<paragraph id="par_id3149670" localize="false" role="paragraph">Double</paragraph>
-<paragraph id="hd_id3154760" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3154760">Parameters:</h2>
<paragraph id="par_id3150793" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that specifies the power that you want to raise "e" to (the base of natural logarithms). The power must be for both single-precision numbers less than or equal to 88.02969 and double-precision numbers less than or equal to 709.782712893, since $[officename] Basic returns an Overflow error for numbers exceeding these values.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3156280" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3156280">Example:</h2>
<bascode>
<paragraph id="par_idm1206717456" role="bascode" localize="false" xml-lang="en-US">Sub ExampleLogExp</paragraph>
<paragraph id="par_idm1206716352" role="bascode" localize="false" xml-lang="en-US">Dim dValue As Double</paragraph>
diff --git a/source/text/sbasic/shared/03080301.xhp b/source/text/sbasic/shared/03080301.xhp
index b4107c0684..22b2648567 100644
--- a/source/text/sbasic/shared/03080301.xhp
+++ b/source/text/sbasic/shared/03080301.xhp
@@ -38,18 +38,18 @@
<paragraph id="par_id3145090" role="paragraph" xml-lang="en-US">Initializes the random-number generator used by the <emph>Rnd</emph> function.</paragraph>
</section>
-<paragraph id="hd_id3147573" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3147573">Syntax:</h2>
<bascode>
<paragraph id="par_id3145315" role="bascode" xml-lang="en-US">Randomize [Number]</paragraph>
</bascode>
-<paragraph id="hd_id3152456" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3152456">Parameters:</h2>
<paragraph id="par_id3149670" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any integer value. Used as seed to initialize the random-number generator. Equal seeds result in equal random-number sequences by the <emph>Rnd</emph> function. If the parameter is omitted, the <emph>Randomize</emph> statement will be ignored.</paragraph>
<paragraph id="par_id110520161656428611" role="note" xml-lang="en-US">Unless a predictable sequence of numbers is desired, there is no need to use the <emph>Randomize</emph> statement, as the random-number generator will be initialized automatically at first use – it will be seeded using a system-provided random-number generator that produces uniformly-distributed, non-deterministic random numbers. If no such generator is available on the system, the system time will be used as seed.</paragraph>
<paragraph id="par_id12052016194258344" role="paragraph" xml-lang="en-US">The <emph>Randomize</emph> statement affects BASIC's <emph>Rnd</emph> function only. Other random-number generators (for example the Calc's RAND() function, etc.) are not affected by it.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3149655" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3149655">Example:</h2>
<bascode>
<paragraph id="par_idm1340800064" role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomize</paragraph>
<paragraph id="par_idm1340798832" role="bascode" localize="false" xml-lang="en-US">Dim iCount As Integer, iVar As Integer, sText As String</paragraph>
diff --git a/source/text/sbasic/shared/03080302.xhp b/source/text/sbasic/shared/03080302.xhp
index de2acf226a..51c37e22c4 100644
--- a/source/text/sbasic/shared/03080302.xhp
+++ b/source/text/sbasic/shared/03080302.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3149669" role="paragraph" xml-lang="en-US">Returns a random number between 0 and 1.</paragraph>
</section>
-<paragraph id="hd_id3153897" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3153897">Syntax:</h2>
<bascode>
<paragraph id="par_id3150543" role="bascode" xml-lang="en-US">Rnd [(Expression)]</paragraph>
</bascode>
-<paragraph id="hd_id3149655" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3149655">Return value:</h2>
<paragraph id="par_id3154365" localize="false" role="paragraph">Double</paragraph>
-<paragraph id="hd_id3154909" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3154909">Parameters:</h2>
<paragraph id="par_id3125864" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Has no effect, is ignored if provided.</paragraph>
<paragraph id="par_id3147318" role="paragraph" xml-lang="en-US">The <emph>Rnd</emph> function returns decimal fractions ranging from 0 (included) to 1 (excluded) according to a uniform distribution. It uses the Mersenne Twister 19937 random-number generator. To generate random integers in a given range, use a formula like in the example below. A <emph>Randomize</emph> statement with a defined seed value can be used beforehand, if a predictable sequence of numbers is desired.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3151118" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3151118">Example:</h2>
<bascode>
<paragraph id="par_idm1341382704" role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomSelect</paragraph>
<paragraph id="par_idm1341381472" role="bascode" localize="false" xml-lang="en-US">Dim iVar As Integer</paragraph>
diff --git a/source/text/sbasic/shared/03080401.xhp b/source/text/sbasic/shared/03080401.xhp
index cba277d2e8..514a0a9755 100644
--- a/source/text/sbasic/shared/03080401.xhp
+++ b/source/text/sbasic/shared/03080401.xhp
@@ -38,21 +38,21 @@
<paragraph id="par_id3147226" role="paragraph" xml-lang="en-US">Calculates the square root of a numeric expression.</paragraph>
</section>
-<paragraph id="hd_id3143267" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3143267">Syntax:</h2>
<bascode>
<paragraph id="par_id3149415" role="bascode" xml-lang="en-US">Sqr (Number)</paragraph>
</bascode>
-<paragraph id="hd_id3156023" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3156023">Return value:</h2>
<paragraph id="par_id3156343" localize="false" role="paragraph">Double</paragraph>
-<paragraph id="hd_id3147265" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3147265">Parameters:</h2>
<paragraph id="par_id3149457" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to calculate the square root for.</paragraph>
<paragraph id="par_id3154365" role="paragraph" xml-lang="en-US">A square root is the number that you multiply by itself to produce another number, for example, the square root of 36 is 6.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3153192" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153192">Example:</h2>
<bascode>
<paragraph id="par_idm1341602560" role="bascode" localize="false" xml-lang="en-US">Sub ExampleSqr</paragraph>
<paragraph id="par_idm1341601328" role="bascode" localize="false" xml-lang="en-US">Dim iVar As Single</paragraph>
diff --git a/source/text/sbasic/shared/03080601.xhp b/source/text/sbasic/shared/03080601.xhp
index 33027fbed8..943d67431b 100644
--- a/source/text/sbasic/shared/03080601.xhp
+++ b/source/text/sbasic/shared/03080601.xhp
@@ -38,21 +38,21 @@
<paragraph id="par_id3153394" role="paragraph" xml-lang="en-US">Returns the absolute value of a numeric expression.</paragraph>
</section>
-<paragraph id="hd_id3149233" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3149233">Syntax:</h2>
<bascode>
<paragraph id="par_id3147573" role="bascode" xml-lang="en-US">Abs (Number)</paragraph>
</bascode>
-<paragraph id="hd_id3156152" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3156152">Return value:</h2>
<paragraph id="par_id3149670" localize="false" role="paragraph">Double</paragraph>
-<paragraph id="hd_id3154924" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3154924">Parameters:</h2>
<paragraph id="par_id3154347" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to return the absolute value for. Positive numbers, including 0, are returned unchanged, whereas negative numbers are converted to positive numbers.</paragraph>
<paragraph id="par_id3153381" role="paragraph" xml-lang="en-US">The following example uses the Abs function to calculate the difference between two values. It does not matter which value you enter first.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3148451" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3148451">Example:</h2>
<bascode>
<paragraph id="par_idm1341574768" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDifference</paragraph>
<paragraph id="par_idm1341573536" role="bascode" localize="false" xml-lang="en-US">Dim siW1 As Single</paragraph>
diff --git a/source/text/sbasic/shared/03080701.xhp b/source/text/sbasic/shared/03080701.xhp
index 756fa1aa64..91d67f13f4 100644
--- a/source/text/sbasic/shared/03080701.xhp
+++ b/source/text/sbasic/shared/03080701.xhp
@@ -38,15 +38,15 @@
<paragraph id="par_id3148686" role="paragraph" xml-lang="en-US">Returns an integer number between -1 and 1 that indicates if the number that is passed to the function is positive, negative, or zero.</paragraph>
</section>
-<paragraph id="hd_id3156023" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3156023">Syntax:</h2>
<bascode>
<paragraph id="par_id3153897" role="bascode" xml-lang="en-US">Sgn (Number)</paragraph>
</bascode>
-<paragraph id="hd_id3145069" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3145069">Return value:</h2>
<paragraph id="par_id3150359" localize="false" role="paragraph">Integer</paragraph>
-<paragraph id="hd_id3150543" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3150543">Parameters:</h2>
<paragraph id="par_id3154365" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Numeric expression that determines the value that is returned by the function.</paragraph>
<table id="tbl_id3156281">
@@ -87,7 +87,7 @@
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3152576" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3152576">Example:</h2>
<bascode>
<paragraph id="par_idm1340806400" role="bascode" localize="false" xml-lang="en-US">Sub ExampleSgn</paragraph>
<paragraph id="par_id3155416" role="bascode" xml-lang="en-US"> Print sgn(-10) ' returns -1</paragraph>
diff --git a/source/text/sbasic/shared/03080801.xhp b/source/text/sbasic/shared/03080801.xhp
index 9b7719430a..ab5cd58046 100644
--- a/source/text/sbasic/shared/03080801.xhp
+++ b/source/text/sbasic/shared/03080801.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US">Returns a string that represents the hexadecimal value of a number.</paragraph>
</section>
-<paragraph id="hd_id3147573" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3147573">Syntax:</h2>
<bascode>
<paragraph id="par_id3150771" role="bascode" xml-lang="en-US">Hex (Number)</paragraph>
</bascode>
-<paragraph id="hd_id3147530" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3147530">Return value:</h2>
<paragraph id="par_id3159414" role="paragraph" xml-lang="en-US">String</paragraph>
-<paragraph id="hd_id3156344" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3156344">Parameters:</h2>
<paragraph id="par_id3148947" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to convert to a hexadecimal number.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3154365" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3154365">Example:</h2>
<bascode>
<paragraph id="par_idm1340898144" role="bascode" localize="false" xml-lang="en-US">Sub ExampleHex</paragraph>
<paragraph id="par_id3156214" role="bascode" xml-lang="en-US">' uses BasicFormulas in %PRODUCTNAME Calc</paragraph>
diff --git a/source/text/sbasic/shared/03080802.xhp b/source/text/sbasic/shared/03080802.xhp
index 88d69da004..89c43af88d 100644
--- a/source/text/sbasic/shared/03080802.xhp
+++ b/source/text/sbasic/shared/03080802.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3154924" role="paragraph" xml-lang="en-US">Returns the octal value of a number.</paragraph>
</section>
-<paragraph id="hd_id3148947" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3148947">Syntax:</h2>
<bascode>
<paragraph id="par_id3150543" role="bascode" xml-lang="en-US">Oct (Number)</paragraph>
</bascode>
-<paragraph id="hd_id3153360" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3153360">Return value:</h2>
<paragraph id="par_id3154138" role="paragraph" xml-lang="en-US">String</paragraph>
-<paragraph id="hd_id3156422" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3156422">Parameters:</h2>
<paragraph id="par_id3150768" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to convert to an octal value.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3148672" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3148672">Example:</h2>
<bascode>
<paragraph id="par_idm1340708272" role="bascode" localize="false" xml-lang="en-US">Sub ExampleOct</paragraph>
<paragraph id="par_idm1340707040" role="bascode" localize="false" xml-lang="en-US"> MsgBox Oct(255)</paragraph>
diff --git a/source/text/sbasic/shared/03090302.xhp b/source/text/sbasic/shared/03090302.xhp
index 66522639c2..b8e7c27d9b 100644
--- a/source/text/sbasic/shared/03090302.xhp
+++ b/source/text/sbasic/shared/03090302.xhp
@@ -39,16 +39,16 @@
<paragraph role="heading" id="hd_id3159413" xml-lang="en-US" level="1"><variable id="GoToh1"><link href="text/sbasic/shared/03090302.xhp">GoTo Statement</link></variable></paragraph>
<paragraph role="paragraph" id="par_id3153379" xml-lang="en-US">Continues program execution within a <literal>Sub</literal> or <literal>Function</literal> at the procedure line indicated by a label.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3149656">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="bas_id211588675705501" localize="false">GoTo label[:]</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3150870" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3150870">Parameters:</h2>
<paragraph role="paragraph" id="par_id471588670859073"><emph>label: </emph>A line identifier indicating where to continue execution. The scope of a label is that of the routine it belongs to.</paragraph>
<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US">Use the <literal>GoTo</literal> statement to instruct $[officename] Basic to continue program execution at another place within the procedure. The position must be indicated by a label. To set a label, assign a name, and end it with a colon (":").</paragraph>
<paragraph role="warning" id="par_id3155416" xml-lang="en-US">You cannot use the <literal>GoTo</literal> statement to jump out of a <literal>Sub</literal> or <literal>Function</literal>.</paragraph>
-<paragraph role="heading" id="hd_id3154731" xml-lang="en-US" level="2">Example:</paragraph>
+<h2 id="hd_id3154731">Example:</h2>
<bascode>
<paragraph role="bascode" id="par_id3156214" localize="false">Sub/Function</paragraph>
<paragraph role="bascode" id="par_id3156424" xml-lang="en-US"> ' statement block</paragraph>
diff --git a/source/text/sbasic/shared/03090403.xhp b/source/text/sbasic/shared/03090403.xhp
index 1f7cc8584a..c5f1c98582 100644
--- a/source/text/sbasic/shared/03090403.xhp
+++ b/source/text/sbasic/shared/03090403.xhp
@@ -43,12 +43,12 @@
</section>
<paragraph id="par_id3146795" role="paragraph" xml-lang="en-US">See also: <link href="text/sbasic/shared/03090405.xhp">FreeLibrary</link></paragraph>
-<paragraph id="hd_id3156344" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3156344">Syntax:</h2>
<bascode>
<paragraph id="par_id3148664" role="bascode" xml-lang="en-US">Declare {Sub | Function} Name Lib "Libname" [Alias "Aliasname"] [Parameter] [As Type]</paragraph>
</bascode>
-<paragraph id="hd_id3153360" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3153360">Parameters:</h2>
<paragraph id="par_id3154140" role="paragraph" xml-lang="en-US"> <emph>Name:</emph> A different name than defined in the DLL, to call the subroutine from $[officename] Basic.</paragraph>
<paragraph id="par_id3150870" role="paragraph" xml-lang="en-US"> <emph>Aliasname</emph>: Name of the subroutine as defined in the DLL.</paragraph>
<paragraph id="par_id3154684" role="paragraph" xml-lang="en-US"> <emph>Libname:</emph> File or system name of the DLL. This library is automatically loaded the first time the function is used.</paragraph>
@@ -56,7 +56,7 @@
<paragraph id="par_id3147289" role="paragraph" xml-lang="en-US"> <emph>Type:</emph> Defines the data type of the value that is returned by a function procedure. You can exclude this parameter if a type-declaration character is entered after the name.</paragraph>
<paragraph id="par_id3146922" role="warning" xml-lang="en-US">To pass a parameter to a subroutine as a value instead of as a reference, the parameter must be indicated by the keyword <emph>ByVal</emph>.</paragraph>
-<paragraph id="hd_id3153951" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153951">Example:</h2>
<bascode>
<paragraph id="par_idm1340861616" role="bascode" localize="false" xml-lang="en-US">Declare Sub MyMessageBeep Lib "user32.dll" Alias "MessageBeep" ( Long )</paragraph>
<paragraph id="par_idm1340860336" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDeclare</paragraph>
diff --git a/source/text/sbasic/shared/03090404.xhp b/source/text/sbasic/shared/03090404.xhp
index 8605392bee..f8ec7f9c8a 100644
--- a/source/text/sbasic/shared/03090404.xhp
+++ b/source/text/sbasic/shared/03090404.xhp
@@ -38,15 +38,15 @@
<paragraph id="par_id3153126" role="paragraph" xml-lang="en-US">Ends a procedure or block.</paragraph>
</section>
-<paragraph id="hd_id3147264" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3147264">Syntax:</h2>
<bascode>
<paragraph id="par_id3148552" role="bascode" localize="false" xml-lang="en-US">End, End Enum, End Function, End If, End Property, End Select, End Sub, End With</paragraph>
</bascode>
-<paragraph id="hd_id3149456" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3149456">Parameters:</h2>
<paragraph id="par_id3150398" role="paragraph" xml-lang="en-US">Use the End statement as follows:</paragraph>
-<paragraph id="hd_id3154366" role="heading" level="2" xml-lang="en-US">Statement</paragraph>
+<h2 id="hd_id3154366">Statement</h2>
<paragraph id="par_id3151043" role="paragraph" xml-lang="en-US">End: Is not required, but can be entered anywhere within a procedure to end the program execution.</paragraph>
<paragraph role="paragraph" id="par_id371543799561260">End Enum: Ends an Enum VBA statement</paragraph>
<paragraph id="par_id3145171" role="paragraph" xml-lang="en-US">End Function: Ends a <emph>Function</emph> statement.</paragraph>
@@ -56,7 +56,7 @@
<paragraph id="par_id3155131" role="paragraph" xml-lang="en-US">End Sub: Ends a <emph>Sub</emph> statement.</paragraph>
<paragraph role="paragraph" id="par_id811543799601628">End With: Ends a With statement</paragraph>
-<paragraph id="hd_id3146120" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3146120">Example:</h2>
<bascode>
<paragraph id="par_idm1340746288" role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomSelect</paragraph>
<paragraph id="par_idm1340745056" role="bascode" localize="false" xml-lang="en-US">Dim iVar As Integer</paragraph>
diff --git a/source/text/sbasic/shared/03090405.xhp b/source/text/sbasic/shared/03090405.xhp
index fc0c593074..03f0e94804 100644
--- a/source/text/sbasic/shared/03090405.xhp
+++ b/source/text/sbasic/shared/03090405.xhp
@@ -38,18 +38,18 @@
<paragraph id="par_id3147559" role="paragraph" xml-lang="en-US">Releases DLLs that were loaded by a Declare statement. A released DLL is automatically reloaded if one of its functions is called. See also: <link href="text/sbasic/shared/03090403.xhp">Declare</link></paragraph>
</section>
-<paragraph id="hd_id3148550" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3148550">Syntax:</h2>
<bascode>
<paragraph id="par_id3153361" role="bascode" xml-lang="en-US">FreeLibrary (LibName As String)</paragraph>
</bascode>
-<paragraph id="hd_id3153380" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3153380">Parameters:</h2>
<paragraph id="par_id3154138" role="paragraph" xml-lang="en-US"> <emph>LibName:</emph> String expression that specifies the name of the DLL.</paragraph>
<paragraph id="par_id3146923" role="note" xml-lang="en-US">FreeLibrary can only release DLLs that are loaded during Basic runtime.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3153363" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153363">Example:</h2>
<bascode>
<paragraph id="par_idm1340895648" role="bascode" localize="false" xml-lang="en-US">Declare Sub MyMessageBeep Lib "user32.dll" Alias "MessageBeep" ( Long )</paragraph>
<paragraph id="par_idm1340894368" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDeclare</paragraph>
diff --git a/source/text/sbasic/shared/03100060.xhp b/source/text/sbasic/shared/03100060.xhp
index f25a39b2ab..13c19a42ae 100644
--- a/source/text/sbasic/shared/03100060.xhp
+++ b/source/text/sbasic/shared/03100060.xhp
@@ -35,13 +35,13 @@
<paragraph role="heading" id="par_idN10548" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03100060.xhp">CDec Function</link></paragraph>
<paragraph role="paragraph" id="par_idN10558" xml-lang="en-US">Converts a string expression or numeric expression to a decimal expression.</paragraph>
</section>
-<paragraph role="heading" id="par_idN1055B" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="par_idN1055B">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_idN105EA" xml-lang="en-US">CDec(Expression)</paragraph>
</bascode>
-<paragraph role="heading" id="par_idN105ED" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="par_idN105ED">Return value:</h2>
<paragraph role="paragraph" id="par_idN105F1" xml-lang="en-US">Decimal number.</paragraph>
-<paragraph role="heading" id="par_idN105F4" xml-lang="en-US" level="2">Parameter:</paragraph>
+<h2 id="par_idN105F4">Parameter:</h2>
<paragraph role="paragraph" id="par_idN105F8" xml-lang="en-US">Expression: Any string or numeric expression that you want to convert.</paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/03100070.xhp b/source/text/sbasic/shared/03100070.xhp
index 840a6eb66f..b9dba26295 100644
--- a/source/text/sbasic/shared/03100070.xhp
+++ b/source/text/sbasic/shared/03100070.xhp
@@ -35,13 +35,13 @@
<paragraph role="heading" id="par_idN1054B" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03100070.xhp">CVar Function</link></paragraph>
<paragraph role="paragraph" id="par_idN1055B" xml-lang="en-US">Converts a string expression or numeric expression to a variant expression.</paragraph>
</section>
-<paragraph role="heading" id="par_idN1055E" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="par_idN1055E">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_idN10562" xml-lang="en-US">CVar(Expression)</paragraph>
</bascode>
-<paragraph role="heading" id="par_idN10565" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="par_idN10565">Return value:</h2>
<paragraph role="paragraph" id="par_idN10569" xml-lang="en-US">Variant.</paragraph>
-<paragraph role="heading" id="par_idN1056C" xml-lang="en-US" level="2">Parameter:</paragraph>
+<h2 id="par_idN1056C">Parameter:</h2>
<paragraph role="paragraph" id="par_idN10570" xml-lang="en-US">Expression: Any string or numeric expression that you want to convert.</paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/03100300.xhp b/source/text/sbasic/shared/03100300.xhp
index 7be03ef96b..d86dc828a3 100644
--- a/source/text/sbasic/shared/03100300.xhp
+++ b/source/text/sbasic/shared/03100300.xhp
@@ -40,7 +40,7 @@
<paragraph id="par_id3148947" role="bascode" xml-lang="en-US">CDate (Expression)</paragraph>
</bascode>
-<paragraph id="hd_id3148552" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3148552">Return value:</h2>
<paragraph id="par_id3159414" localize="false" role="paragraph">Date</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
diff --git a/source/text/sbasic/shared/03101000.xhp b/source/text/sbasic/shared/03101000.xhp
index ecee1f9fe7..1e94c3c3a2 100644
--- a/source/text/sbasic/shared/03101000.xhp
+++ b/source/text/sbasic/shared/03101000.xhp
@@ -38,18 +38,18 @@
<paragraph id="par_id3147574" role="paragraph" xml-lang="en-US">Converts any numeric expression to a string expression.</paragraph>
</section>
-<paragraph id="hd_id3148473" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3148473">Syntax:</h2>
<bascode>
<paragraph id="par_id3145315" role="bascode" xml-lang="en-US">CStr (Expression)</paragraph>
</bascode>
-<paragraph id="hd_id3153062" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3153062">Return value:</h2>
<paragraph id="par_id3153897" localize="false" role="paragraph">String</paragraph>
-<paragraph id="hd_id3154760" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3154760">Parameters:</h2>
<paragraph id="par_id3149457" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Any valid string or numeric expression that you want to convert.</paragraph>
-<paragraph id="hd_id3150358" role="heading" level="2" xml-lang="en-US">Expression Types and Conversion Returns</paragraph>
+<h2 id="hd_id3150358">Expression Types and Conversion Returns</h2>
<table id="tbl_id3148797">
<tablerow>
@@ -98,7 +98,7 @@
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3154729" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3154729">Example:</h2>
<bascode>
<paragraph id="par_idm1206743296" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCSTR</paragraph>
<paragraph id="par_idm1206742192" role="bascode" localize="false" xml-lang="en-US">Dim sVar As String</paragraph>
diff --git a/source/text/sbasic/shared/03102101.xhp b/source/text/sbasic/shared/03102101.xhp
index a592cbead6..4bb229bc70 100644
--- a/source/text/sbasic/shared/03102101.xhp
+++ b/source/text/sbasic/shared/03102101.xhp
@@ -48,7 +48,7 @@
<embed href="text/sbasic/shared/03102100.xhp#DimCommons"/>
-<paragraph id="hd_id3148405" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3148405">Example:</h2>
<bascode>
<paragraph id="par_idm1341054016" role="bascode" localize="false">Sub ExampleRedim</paragraph>
<paragraph id="par_idm1341052784" role="bascode" localize="false"> Dim iVar() As Integer, iCount As Byte</paragraph>
diff --git a/source/text/sbasic/shared/03102200.xhp b/source/text/sbasic/shared/03102200.xhp
index ccd9d58b8e..2de3456200 100644
--- a/source/text/sbasic/shared/03102200.xhp
+++ b/source/text/sbasic/shared/03102200.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3159413" role="paragraph" xml-lang="en-US">Determines if a variable is a data field in an array.</paragraph>
</section>
-<paragraph id="hd_id3150792" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3150792">Syntax:</h2>
<bascode>
<paragraph id="par_id3153379" role="bascode" xml-lang="en-US">IsArray (Var)</paragraph>
</bascode>
-<paragraph id="hd_id3154365" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3154365">Return value:</h2>
<paragraph id="par_id3154685" localize="false" role="paragraph">Boolean</paragraph>
-<paragraph id="hd_id3153969" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3153969">Parameters:</h2>
<paragraph id="par_id3145172" role="paragraph" xml-lang="en-US"> <emph>Var:</emph> Any variable that you want to test if it is declared as an array. If the variable is an array, then the function returns <emph>True</emph>, otherwise <emph>False </emph>is returned.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3155131" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3155131">Example:</h2>
<bascode>
<paragraph id="par_idm1341575744" role="bascode" localize="false" xml-lang="en-US">Sub ExampleIsArray</paragraph>
<paragraph id="par_idm1341574512" role="bascode" localize="false" xml-lang="en-US">Dim sDatf(10) As String</paragraph>
diff --git a/source/text/sbasic/shared/03102300.xhp b/source/text/sbasic/shared/03102300.xhp
index a78ce1f7c3..0810eb1f4c 100644
--- a/source/text/sbasic/shared/03102300.xhp
+++ b/source/text/sbasic/shared/03102300.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3153311" role="paragraph" xml-lang="en-US">Tests if a numeric or string expression can be converted to a <emph>Date</emph> variable.</paragraph>
</section>
-<paragraph id="hd_id3153824" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3153824">Syntax:</h2>
<bascode>
<paragraph id="par_id3147573" role="bascode" xml-lang="en-US">IsDate (Expression)</paragraph>
</bascode>
-<paragraph id="hd_id3143270" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3143270">Return value:</h2>
<paragraph id="par_id3147560" localize="false" role="paragraph">Boolean</paragraph>
-<paragraph id="hd_id3148947" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3148947">Parameters:</h2>
<paragraph id="par_id3145069" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Any numeric or string expression that you want to test. If the expression can be converted to a date, the function returns <emph>True</emph>, otherwise the function returns <emph>False</emph>.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3150447" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3150447">Example:</h2>
<bascode>
<paragraph id="par_idm1340791552" role="bascode" localize="false" xml-lang="en-US">Sub ExampleIsDate</paragraph>
<paragraph id="par_idm1340790320" role="bascode" localize="false" xml-lang="en-US">Dim sDateVar As String</paragraph>
diff --git a/source/text/sbasic/shared/03102400.xhp b/source/text/sbasic/shared/03102400.xhp
index 79d8658a6d..f6a277397a 100644
--- a/source/text/sbasic/shared/03102400.xhp
+++ b/source/text/sbasic/shared/03102400.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3163045" role="paragraph" xml-lang="en-US">Tests if a Variant variable contains the Empty value. The Empty value indicates that the variable is not initialized.</paragraph>
</section>
-<paragraph id="hd_id3159158" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3159158">Syntax:</h2>
<bascode>
<paragraph id="par_id3153126" role="bascode" xml-lang="en-US">IsEmpty (Var)</paragraph>
</bascode>
-<paragraph id="hd_id3148685" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3148685">Return value:</h2>
<paragraph id="par_id3156344" localize="false" role="paragraph">Boolean</paragraph>
-<paragraph id="hd_id3148947" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3148947">Parameters:</h2>
<paragraph id="par_id3154347" role="paragraph" xml-lang="en-US"> <emph>Var:</emph> Any variable that you want to test. If the Variant contains the Empty value, the function returns True, otherwise the function returns False.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3154138" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3154138">Example:</h2>
<bascode>
<paragraph id="par_idm1341577824" role="bascode" localize="false" xml-lang="en-US">Sub ExampleIsEmpty</paragraph>
<paragraph id="par_idm1341576592" role="bascode" localize="false" xml-lang="en-US">Dim sVar As Variant</paragraph>
diff --git a/source/text/sbasic/shared/03102600.xhp b/source/text/sbasic/shared/03102600.xhp
index e319eb7f5d..eb9fa1a991 100644
--- a/source/text/sbasic/shared/03102600.xhp
+++ b/source/text/sbasic/shared/03102600.xhp
@@ -39,21 +39,21 @@
<paragraph id="par_id3146957" role="paragraph" xml-lang="en-US">Tests if a Variant contains the special Null value, indicating that the variable does not contain data.</paragraph>
</section>
-<paragraph id="hd_id3150670" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3150670">Syntax:</h2>
<bascode>
<paragraph id="par_id3150984" role="bascode" xml-lang="en-US">IsNull (Var)</paragraph>
</bascode>
-<paragraph id="hd_id3149514" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3149514">Return value:</h2>
<paragraph id="par_id3145609" localize="false" role="paragraph">Boolean</paragraph>
-<paragraph id="hd_id3149669" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3149669">Parameters:</h2>
<paragraph id="par_id3159414" role="paragraph" xml-lang="en-US"> <emph>Var:</emph> Any variable that you want to test. This function returns True if the Variant contains the Null value, or False if the Variant does not contain the Null value.</paragraph>
<paragraph id="par_idN1062A" role="paragraph" xml-lang="en-US"> <emph>Null</emph> - This value is used for a variant data sub type without valid contents.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3153381" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3153381">Example:</h2>
<bascode>
<paragraph id="par_idm1340980640" role="bascode" localize="false" xml-lang="en-US">Sub ExampleIsNull</paragraph>
<paragraph id="par_idm1340979408" role="bascode" localize="false" xml-lang="en-US">Dim vVar As Variant</paragraph>
diff --git a/source/text/sbasic/shared/03102700.xhp b/source/text/sbasic/shared/03102700.xhp
index 2e7892f7f7..893e0f3805 100644
--- a/source/text/sbasic/shared/03102700.xhp
+++ b/source/text/sbasic/shared/03102700.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3149177" role="paragraph" xml-lang="en-US">Tests if an expression is a number. If the expression is a <link href="text/sbasic/shared/00000002.xhp#dezimal">number</link>, the function returns True, otherwise the function returns False.</paragraph>
</section>
-<paragraph id="hd_id3149415" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3149415">Syntax:</h2>
<bascode>
<paragraph id="par_id3150771" role="bascode" xml-lang="en-US">IsNumeric (Var)</paragraph>
</bascode>
-<paragraph id="hd_id3148685" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3148685">Return value:</h2>
<paragraph id="par_id3148944" localize="false" role="paragraph">Boolean</paragraph>
-<paragraph id="hd_id3148947" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3148947">Parameters:</h2>
<paragraph id="par_id3154760" role="paragraph" xml-lang="en-US"> <emph>Var:</emph> Any expression that you want to test.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3149656" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3149656">Example:</h2>
<bascode>
<paragraph id="par_idm1341575664" role="bascode" localize="false" xml-lang="en-US">Sub ExampleIsNumeric</paragraph>
<paragraph id="par_idm1341574432" role="bascode" localize="false" xml-lang="en-US">Dim vVar As Variant</paragraph>
diff --git a/source/text/sbasic/shared/03103100.xhp b/source/text/sbasic/shared/03103100.xhp
index eecf09aad2..7f5b276195 100644
--- a/source/text/sbasic/shared/03103100.xhp
+++ b/source/text/sbasic/shared/03103100.xhp
@@ -38,7 +38,7 @@
<paragraph id="par_id3149233" role="paragraph" xml-lang="en-US">Assigns a value to a variable.</paragraph>
</section>
-<paragraph id="hd_id3153127" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3153127">Syntax:</h2>
<paragraph role="paragraph" id="par_id41586012988213">
<image src="media/helpimg/sbasic/LetSet_statement.svg" id="img_id4156306484514"><alt xml-lang="en-US" id="alt_id15152796484514">Let Statement diagram</alt></image>
</paragraph>
@@ -46,11 +46,11 @@
<paragraph id="par_id3154285" role="bascode" localize="false">[Let] variable = expression</paragraph>
</bascode>
-<paragraph id="hd_id3148944" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3148944">Parameters:</h2>
<paragraph id="par_id3147560" role="paragraph" xml-lang="en-US"> <emph>variable:</emph> Variable that you want to assign a value to. Value and variable type must be compatible.</paragraph>
<paragraph id="par_id3148451" role="note" xml-lang="en-US">As in most BASIC dialects, the keyword <emph>Let</emph> is optional.</paragraph>
-<paragraph id="hd_id3145785" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3145785">Example:</h2>
<bascode>
<paragraph id="par_idm1340853056" role="bascode" localize="false">Sub ExampleLet</paragraph>
<paragraph id="par_idm1340851824" role="bascode" localize="false">Dim sText As String</paragraph>
diff --git a/source/text/sbasic/shared/03103400.xhp b/source/text/sbasic/shared/03103400.xhp
index 12b182751e..84c5c152da 100644
--- a/source/text/sbasic/shared/03103400.xhp
+++ b/source/text/sbasic/shared/03103400.xhp
@@ -38,12 +38,12 @@
<paragraph id="par_id3150669" role="paragraph" xml-lang="en-US">Dimensions a variable or an array at the module level (that is, not within a subroutine or function), so that the variable and the array are valid in all libraries and modules.</paragraph>
</section>
-<paragraph id="hd_id3150772" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3150772">Syntax:</h2>
<bascode>
<paragraph id="par_id3155341" role="bascode" xml-lang="en-US">Public VarName[(start To end)] [As VarType][, VarName2[(start To end)] [As VarType][,...]]</paragraph>
</bascode>
-<paragraph id="hd_id3145315" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3145315">Example:</h2>
<bascode>
<paragraph id="par_idm1341596288" role="bascode" localize="false" xml-lang="en-US">Public iPublicVar As Integer</paragraph>
<paragraph id="par_idm1341595040" role="bascode" localize="false" xml-lang="en-US">Sub ExamplePublic</paragraph>
diff --git a/source/text/sbasic/shared/03103450.xhp b/source/text/sbasic/shared/03103450.xhp
index eddda82e99..e850d6e57d 100644
--- a/source/text/sbasic/shared/03103450.xhp
+++ b/source/text/sbasic/shared/03103450.xhp
@@ -38,12 +38,12 @@
<paragraph id="par_id3149177" role="paragraph" xml-lang="en-US">Dimensions a variable or an array at the global level (that is, not within a subroutine or function), so that the variable and the array are valid in all libraries and modules for the current session.</paragraph>
</section>
-<paragraph id="hd_id3143270" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3143270">Syntax:</h2>
<bascode>
<paragraph id="par_id3150771" role="bascode" xml-lang="en-US">Global VarName[(start To end)] [As VarType][, VarName2[(start To end)] [As VarType][,...]]</paragraph>
</bascode>
-<paragraph id="hd_id3156152" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3156152">Example:</h2>
<bascode>
<paragraph id="par_idm1341092512" role="bascode" localize="false" xml-lang="en-US">Global iGlobalVar As Integer</paragraph>
<paragraph id="par_idm1341091264" role="bascode" localize="false" xml-lang="en-US">Sub ExampleGlobal</paragraph>
diff --git a/source/text/sbasic/shared/03103500.xhp b/source/text/sbasic/shared/03103500.xhp
index 0f7e501e2a..378aa63259 100644
--- a/source/text/sbasic/shared/03103500.xhp
+++ b/source/text/sbasic/shared/03103500.xhp
@@ -39,12 +39,12 @@
</section>
<paragraph id="par_id3147264" role="warning" xml-lang="en-US">The <emph>Static statement</emph> cannot be used to define variable arrays. Arrays must be specified according to a fixed size.</paragraph>
-<paragraph id="hd_id3149657" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3149657">Syntax:</h2>
<bascode>
<paragraph id="par_id3150400" role="bascode" xml-lang="en-US">Static VarName[(start To end)] [As VarType], VarName2[(start To end)] [As VarType], ...</paragraph>
</bascode>
-<paragraph id="hd_id3148452" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3148452">Example:</h2>
<bascode>
<paragraph id="par_idm1340791536" role="bascode" localize="false" xml-lang="en-US">Sub ExampleStatic</paragraph>
<paragraph id="par_idm1340790304" role="bascode" localize="false" xml-lang="en-US">Dim iCount As Integer, iResult As Integer</paragraph>
diff --git a/source/text/sbasic/shared/03103800.xhp b/source/text/sbasic/shared/03103800.xhp
index cddd83b010..0cc73dfcdc 100644
--- a/source/text/sbasic/shared/03103800.xhp
+++ b/source/text/sbasic/shared/03103800.xhp
@@ -54,11 +54,11 @@
<paragraph role="paragraph" id="par_id3153104" xml-lang="en-US">"TextEdit1" to "TextEdit5" in a loop to create five control names.</paragraph>
</section>
<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US">See also: <link href="text/sbasic/shared/03103900.xhp">FindPropertyObject</link></paragraph>
-<paragraph role="heading" id="hd_id3150868" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3150868">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3151042" localize="false" xml-lang="en-US">FindObject( ObjName As String )</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3159254" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3159254">Parameters:</h2>
<paragraph role="paragraph" id="par_id3150439" xml-lang="en-US">
<emph>ObjName: </emph>String that specifies the name of the object that you want to address at run-time.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
diff --git a/source/text/sbasic/shared/03103900.xhp b/source/text/sbasic/shared/03103900.xhp
index 974797c51a..0cfe1e7cf5 100644
--- a/source/text/sbasic/shared/03103900.xhp
+++ b/source/text/sbasic/shared/03103900.xhp
@@ -37,11 +37,11 @@
</section>
<embed href="text/sbasic/shared/03103800.xhp#examplefindobject"/>
<paragraph role="paragraph" id="par_id3150868" xml-lang="en-US">See also: <link href="text/sbasic/shared/03103800.xhp">FindObject</link></paragraph>
-<paragraph role="heading" id="hd_id3147287" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3147287">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3149560" localize="false" xml-lang="en-US">FindPropertyObject( ObjVar, PropName As String )</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3150012" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3150012">Parameters:</h2>
<paragraph role="paragraph" id="par_id3109839" xml-lang="en-US">
<emph>ObjVar:</emph> Object variable that you want to dynamically define at run-time.</paragraph>
<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US">
diff --git a/source/text/sbasic/shared/03104000.xhp b/source/text/sbasic/shared/03104000.xhp
index 721a7f56d0..55e4fb2500 100644
--- a/source/text/sbasic/shared/03104000.xhp
+++ b/source/text/sbasic/shared/03104000.xhp
@@ -36,11 +36,11 @@
<paragraph role="paragraph" id="par_id3153825" xml-lang="en-US">Tests if a function is called with an optional parameter.</paragraph>
</section>
<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US">See also: <link href="text/sbasic/shared/03104100.xhp">Optional</link></paragraph>
-<paragraph role="heading" id="hd_id3145611" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3145611">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3154924" xml-lang="en-US">IsMissing( ArgumentName )</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3145069" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3145069">Parameters:</h2>
<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US">
<emph>ArgumentName:</emph> the name of an optional argument.</paragraph>
<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US">IsMissing returns True if no value has been passed for the ArgumentName; otherwise, it returns False.</paragraph>
diff --git a/source/text/sbasic/shared/03104100.xhp b/source/text/sbasic/shared/03104100.xhp
index 4b38f8ebbd..b057559559 100644
--- a/source/text/sbasic/shared/03104100.xhp
+++ b/source/text/sbasic/shared/03104100.xhp
@@ -36,11 +36,11 @@
<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US">Allows you to define parameters that are passed to a function as optional.</paragraph>
</section>
<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US">See also: <link href="text/sbasic/shared/03104000.xhp">IsMissing</link></paragraph>
-<paragraph role="heading" id="hd_id3153824" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3153824">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3159157" xml-lang="en-US">Function MyFunction(Text1 As String, Optional Arg2, Optional Arg3)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3145610" xml-lang="en-US" level="2">Examples:</paragraph>
+<h2 id="hd_id3145610">Examples:</h2>
<bascode>
<paragraph role="bascode" id="par_id3154347" xml-lang="en-US">Result = MyFunction("Here", 1, "There") ' all arguments are passed.</paragraph>
<paragraph role="bascode" id="par_id3146795" xml-lang="en-US">Result = MyFunction("Test", ,1) ' second argument is missing.</paragraph>
diff --git a/source/text/sbasic/shared/03104300.xhp b/source/text/sbasic/shared/03104300.xhp
index 7e299ed71d..991d76f967 100644
--- a/source/text/sbasic/shared/03104300.xhp
+++ b/source/text/sbasic/shared/03104300.xhp
@@ -35,18 +35,18 @@
<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03104300.xhp">DimArray Function</link></paragraph>
<paragraph role="paragraph" id="par_id3153527" xml-lang="en-US">Returns a Variant array.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3149762" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3149762">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3148473" xml-lang="en-US">DimArray (ArgumentList)</paragraph>
</bascode>
<paragraph role="paragraph" id="par_id3154142" xml-lang="en-US">See also <link href="text/sbasic/shared/03104200.xhp">Array</link></paragraph>
<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US">If no parameters are passed, an empty array is created (like Dim A() that is the same as a sequence of length 0 in Uno). If parameters are specified, a dimension is created for each parameter.</paragraph>
-<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3154760">Parameters:</h2>
<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US">
<emph>ArgumentList:</emph> A list of any number of arguments that are separated by commas.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err9"/>
-<paragraph role="heading" id="hd_id3150358" xml-lang="en-US" level="2">Example:</paragraph>
+<h2 id="hd_id3150358">Example:</h2>
<bascode>
<paragraph role="bascode" id="par_id3154939" xml-lang="en-US">a = DimArray( 2, 2, 4 ) ' is the same as DIM a( 2, 2, 4 )</paragraph>
</bascode>
diff --git a/source/text/sbasic/shared/03110100.xhp b/source/text/sbasic/shared/03110100.xhp
index 8bd5330440..121bf46958 100644
--- a/source/text/sbasic/shared/03110100.xhp
+++ b/source/text/sbasic/shared/03110100.xhp
@@ -52,7 +52,7 @@
<paragraph id="par_id3147573" role="paragraph" xml-lang="en-US"> <emph>result</emph>: Boolean that specifies the result of the comparison (<literal>True</literal>, or <literal>False</literal>)</paragraph>
<paragraph id="par_id3148686" role="paragraph" xml-lang="en-US"> <emph>expression1, expression2</emph>: Any numeric values or strings that you want to compare.</paragraph>
-<paragraph id="hd_id3147531" role="heading" level="2" xml-lang="en-US">Comparison operators</paragraph>
+<h2 id="hd_id3147531">Comparison operators</h2>
<paragraph id="par_id3147265" role="paragraph" xml-lang="en-US">= : Equal to</paragraph>
<paragraph id="par_id3154924" role="paragraph" xml-lang="en-US">&lt; : Less than</paragraph>
<paragraph id="par_id3146795" role="paragraph" xml-lang="en-US">&gt; : Greater than</paragraph>
diff --git a/source/text/sbasic/shared/03120402.xhp b/source/text/sbasic/shared/03120402.xhp
index 386dc25c27..c191f5d333 100644
--- a/source/text/sbasic/shared/03120402.xhp
+++ b/source/text/sbasic/shared/03120402.xhp
@@ -35,18 +35,18 @@
<paragraph role="heading" id="hd_id3154136" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03120402.xhp">Len Function</link></paragraph>
<paragraph role="paragraph" id="par_id3147576" xml-lang="en-US">Returns the number of characters in a string, or the number of bytes that are required to store a variable.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3159177" xml-lang="en-US" level="2">Syntax:</paragraph>
+<h2 id="hd_id3159177">Syntax:</h2>
<bascode>
<paragraph role="bascode" id="par_id3150669" xml-lang="en-US">Len (Text As String)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="2">Return value:</paragraph>
+<h2 id="hd_id3148473">Return value:</h2>
<paragraph role="paragraph" localize="false" id="par_id3143270">Long</paragraph>
-<paragraph role="heading" id="hd_id3147531" xml-lang="en-US" level="2">Parameters:</paragraph>
+<h2 id="hd_id3147531">Parameters:</h2>
<paragraph role="paragraph" id="par_id3147265" xml-lang="en-US">
<emph>Text:</emph> Any string expression or a variable of another type.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="2">Example:</paragraph>
+<h2 id="hd_id3153360">Example:</h2>
<bascode>
<paragraph role="bascode" id="par_id3150792" xml-lang="en-US" localize="false">Sub ExampleLen</paragraph>
<paragraph role="bascode" id="par_id3151211" xml-lang="en-US" localize="false">Dim sText as String</paragraph>
diff --git a/source/text/sbasic/shared/03130700.xhp b/source/text/sbasic/shared/03130700.xhp
index 1b93c83da0..40b8528b8c 100644
--- a/source/text/sbasic/shared/03130700.xhp
+++ b/source/text/sbasic/shared/03130700.xhp
@@ -36,17 +36,17 @@
<paragraph id="par_id3153750" role="paragraph" xml-lang="en-US">Returns the number of system ticks provided by the operating system. You can use this function to optimize certain processes.</paragraph>
</section>
-<paragraph id="hd_id3153311" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3153311">Syntax:</h2>
<bascode>
<paragraph id="par_id3147242" role="bascode" localize="false" xml-lang="en-US">GetSystemTicks()</paragraph>
</bascode>
-<paragraph id="hd_id3149233" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3149233">Return value:</h2>
<paragraph id="par_id3149762" localize="false" role="paragraph">Long</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3156152" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3156152">Example:</h2>
<bascode>
<paragraph id="par_idm1341325552" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWait</paragraph>
<paragraph id="par_idm1341324320" role="bascode" localize="false" xml-lang="en-US">Dim lTick As Long</paragraph>
diff --git a/source/text/sbasic/shared/03130800.xhp b/source/text/sbasic/shared/03130800.xhp
index 1f83baaf76..c09e1ab0f8 100644
--- a/source/text/sbasic/shared/03130800.xhp
+++ b/source/text/sbasic/shared/03130800.xhp
@@ -38,20 +38,20 @@
<paragraph id="par_id3145090" role="paragraph" xml-lang="en-US">Returns the value of an environment variable as a string. Environment variables are dependent on the type of operating system that you have.</paragraph>
</section>
-<paragraph id="hd_id3150670" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3150670">Syntax:</h2>
<bascode>
<paragraph id="par_id3159176" role="bascode" xml-lang="en-US">Environ (Environment As String)</paragraph>
</bascode>
-<paragraph id="hd_id3159157" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3159157">Return value:</h2>
<paragraph id="par_id3148473" localize="false" role="paragraph">String</paragraph>
-<paragraph id="hd_id3145609" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<h2 id="hd_id3145609">Parameters:</h2>
<paragraph id="par_id3159414" role="paragraph" xml-lang="en-US">Environment: Environment variable that you want to return the value for.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph id="hd_id3148663" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3148663">Example:</h2>
<bascode>
<paragraph id="par_idm1341576752" role="bascode" localize="false" xml-lang="en-US">Sub ExampleEnviron</paragraph>
<paragraph id="par_idm1341575520" role="bascode" localize="false" xml-lang="en-US">Dim sTemp As String</paragraph>
diff --git a/source/text/sbasic/shared/03131000.xhp b/source/text/sbasic/shared/03131000.xhp
index 313a1c0ea2..3f490b8d6d 100644
--- a/source/text/sbasic/shared/03131000.xhp
+++ b/source/text/sbasic/shared/03131000.xhp
@@ -36,15 +36,15 @@
<paragraph id="par_id3152801" role="paragraph" xml-lang="en-US">Returns the internal number of the current $[officename] version.</paragraph>
</section>
-<paragraph id="hd_id3153311" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3153311">Syntax:</h2>
<bascode>
<paragraph id="par_id3155388" role="bascode" localize="false" xml-lang="en-US">s = GetSolarVersion</paragraph>
</bascode>
-<paragraph id="hd_id3149514" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3149514">Return value:</h2>
<paragraph id="par_id3148685" role="paragraph" xml-lang="en-US">String</paragraph>
-<paragraph id="hd_id3143270" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3143270">Example:</h2>
<bascode>
<paragraph id="par_idm1341118496" role="bascode" localize="false" xml-lang="en-US">Sub ExampleGetSolarVersion</paragraph>
<paragraph id="par_idm1341117248" role="bascode" localize="false" xml-lang="en-US">Dim sSep As String</paragraph>
diff --git a/source/text/sbasic/shared/03131300.xhp b/source/text/sbasic/shared/03131300.xhp
index 482cbd51fd..a9fece7f69 100644
--- a/source/text/sbasic/shared/03131300.xhp
+++ b/source/text/sbasic/shared/03131300.xhp
@@ -36,15 +36,15 @@
<paragraph id="par_id3153394" role="paragraph" xml-lang="en-US">Returns the number of twips that represent the width of a pixel.</paragraph>
</section>
-<paragraph id="hd_id3153527" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3153527">Syntax:</h2>
<bascode>
<paragraph id="par_id3151110" role="bascode" localize="false" xml-lang="en-US">n = TwipsPerPixelX</paragraph>
</bascode>
-<paragraph id="hd_id3150669" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3150669">Return value:</h2>
<paragraph id="par_id3150503" role="paragraph" xml-lang="en-US">Integer</paragraph>
-<paragraph id="hd_id3159176" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3159176">Example:</h2>
<bascode>
<paragraph id="par_idm1341056448" role="bascode" localize="false" xml-lang="en-US">Sub ExamplePixelTwips</paragraph>
<paragraph id="par_id3153061" role="bascode" xml-lang="en-US"> MsgBox "" &amp; TwipsPerPixelX() &amp; " Twips * " &amp; TwipsPerPixelY() &amp; " Twips",0,"Pixel size"</paragraph>
diff --git a/source/text/sbasic/shared/03131400.xhp b/source/text/sbasic/shared/03131400.xhp
index e7c0d1a050..d9fecb591f 100644
--- a/source/text/sbasic/shared/03131400.xhp
+++ b/source/text/sbasic/shared/03131400.xhp
@@ -36,15 +36,15 @@
<paragraph id="par_id3154186" role="paragraph" xml-lang="en-US">Returns the number of twips that represent the height of a pixel.</paragraph>
</section>
-<paragraph id="hd_id3145090" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<h2 id="hd_id3145090">Syntax:</h2>
<bascode>
<paragraph id="par_id3153681" role="bascode" localize="false" xml-lang="en-US">n = TwipsPerPixelY</paragraph>
</bascode>
-<paragraph id="hd_id3148473" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<h2 id="hd_id3148473">Return value:</h2>
<paragraph id="par_id3154306" role="paragraph" xml-lang="en-US">Integer</paragraph>
-<paragraph id="hd_id3149235" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<h2 id="hd_id3149235">Example:</h2>
<bascode>
<paragraph id="par_idm1340758544" role="bascode" localize="false" xml-lang="en-US">Sub ExamplePixelTwips</paragraph>
<paragraph id="par_id3154142" role="bascode" xml-lang="en-US"> MsgBox "" &amp; TwipsPerPixelX() &amp; " Twips * " &amp; TwipsPerPixelY() &amp; " Twips",0,"Pixel size"</paragraph>
diff --git a/source/text/sbasic/shared/03132100.xhp b/source/text/sbasic/shared/03132100.xhp
index 28730b1768..b41e818827 100644
--- a/source/text/sbasic/shared/03132100.xhp
+++ b/source/text/sbasic/shared/03132100.xhp
@@ -33,16 +33,16 @@
<paragraph xml-lang="en-US" id="par_id3152459" role="paragraph">Returns a numerical value that specifies the graphical user interface.</paragraph>
</section>
<paragraph xml-lang="en-US" id="par_id3153323" role="paragraph">This function is only provided for downward compatibility to previous versions. The return value is not defined in client-server environments.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3154894" role="heading" level="2">Syntax:</paragraph>
+ <h2 id="hd_id3154894">Syntax:</h2>
<bascode>
<paragraph xml-lang="en-US" id="par_id3147143" role="bascode" localize="false">GetGUIType()</paragraph>
</bascode>
- <paragraph xml-lang="en-US" id="hd_id3149346" role="heading" level="2">Return value:</paragraph>
+ <h2 id="hd_id3149346">Return value:</h2>
<paragraph xml-lang="en-US" id="par_id3153748" role="paragraph">Integer</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3149177" role="heading" level="2">Return values:</paragraph>
+ <h2 id="hd_id3149177">Return values:</h2>
<paragraph xml-lang="en-US" id="par_id3147242" role="paragraph">1: Windows</paragraph><comment>removed 3: Mac OS, see i95717</comment>
<paragraph xml-lang="en-US" id="par_id3156152" role="paragraph">4: UNIX</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3148685" role="heading" level="2">Example:</paragraph>
+ <h2 id="hd_id3148685">Example:</h2>
<bascode>
<paragraph xml-lang="en-US" id="par_id3149233" role="bascode" localize="false">Sub ExampleEnvironment</paragraph>
<paragraph xml-lang="en-US" id="par_id3145609" role="bascode" localize="false"> MsgBox GetGUIType</paragraph>
diff --git a/source/text/sbasic/shared/03150000.xhp b/source/text/sbasic/shared/03150000.xhp
index 807811c5d9..df130f29ee 100644
--- a/source/text/sbasic/shared/03150000.xhp
+++ b/source/text/sbasic/shared/03150000.xhp
@@ -45,7 +45,7 @@
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id240720170117391741" role="paragraph" xml-lang="en-US"><emph>Date</emph>: The date expression to be formatted.</paragraph>
<paragraph id="par_id24072017011739895" role="paragraph" xml-lang="en-US"><emph>NamedFormat</emph>: An optional <emph>vbDateTimeFormat</emph> enumeration specifying the format that is to be applied to the date and time expression. If omitted, the value <emph>vbGeneralDate</emph> is used.</paragraph>
- <paragraph role="heading" id="hd_id811512136434300" level="3" xml-lang="en-US">Date and Time formats (vbDateTimeFormat enumeration)</paragraph>
+ <h3 id="hd_id811512136434300">Date and Time formats (vbDateTimeFormat enumeration)</h3>
<section id="FormatDateTime_constants">
<table id="tab_0001">
<tablerow>
diff --git a/source/text/sbasic/shared/03150001.xhp b/source/text/sbasic/shared/03150001.xhp
index 117540e822..eb4854ffef 100644
--- a/source/text/sbasic/shared/03150001.xhp
+++ b/source/text/sbasic/shared/03150001.xhp
@@ -47,7 +47,7 @@
<paragraph id="par_id240720170117391741" role="paragraph" xml-lang="en-US"><emph>Weekday</emph>: Value from 1 to 7, Mon­day to Sun­day, whose Week Day Name need to be calculated.</paragraph>
<paragraph id="par_id24072017011739895" role="paragraph" xml-lang="en-US"><emph>Abbreviate</emph>: Optional. A Boolean value that indicates if the weekday name is to be abbreviated.</paragraph>
<paragraph id="par_id240720170117395610" role="paragraph" xml-lang="en-US"><emph>FirstDayofWeek</emph>: Optional. Specifies the first day of the week.</paragraph>
- <paragraph role="heading" id="hd_id521512154797683" level="3" xml-lang="en-US">First day of Week:</paragraph>
+ <h3 id="hd_id521512154797683">First day of Week:</h3>
<table id="tab_id921512153192034">
<tablerow>
<tablecell>
diff --git a/source/text/sbasic/shared/05060700.xhp b/source/text/sbasic/shared/05060700.xhp
index 605ea419ca..e59ffaf642 100644
--- a/source/text/sbasic/shared/05060700.xhp
+++ b/source/text/sbasic/shared/05060700.xhp
@@ -36,7 +36,7 @@
<paragraph role="heading" id="hd_id3153894" xml-lang="en-US" level="1"><link href="text/sbasic/shared/05060700.xhp">Macro</link></paragraph>
<paragraph role="paragraph" id="par_id3153748" xml-lang="en-US"><ahelp hid=".">Choose the macro that you want to execute when the selected graphic, frame, or OLE object is selected.</ahelp> Depending on the object that is selected, the function is either found on the <emph>Macro</emph> tab of the <emph>Object</emph> dialog, or in the <emph>Assign Macro</emph> dialog.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3150503" xml-lang="en-US" level="2">Event</paragraph>
+<h2 id="hd_id3150503">Event</h2>
<paragraph role="paragraph" id="par_id3149763" xml-lang="en-US"><ahelp hid="cui/ui/eventassignpage/assignments">Lists the events that are relevant to the macros that are currently assigned to the selected object.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3150670" xml-lang="en-US">The following table describes the macros and the events that can by linked to objects in your document:</paragraph>
<table id="tbl_id3148944">
@@ -354,19 +354,19 @@
</tablerow>
</table>
-<paragraph role="heading" id="hd_id3153958" xml-lang="en-US" level="2">Macros</paragraph>
+<h2 id="hd_id3153958">Macros</h2>
<paragraph role="paragraph" id="par_id3150432" xml-lang="en-US">Choose the macro that you want to execute when the selected event occurs.</paragraph>
<paragraph role="paragraph" id="par_id3147296" xml-lang="en-US">Frames allow you to link events to a function, so that the function can determine if it processes the event or $[officename] Writer.</paragraph>
-<paragraph role="heading" id="hd_id3155587" xml-lang="en-US" level="3">Category</paragraph>
+<h3 id="hd_id3155587">Category</h3>
<paragraph role="paragraph" id="par_id3154068" xml-lang="en-US"><ahelp hid="cui/ui/eventassignpage/libraries">Lists the open $[officename] documents and applications. Click the name of the location where you want to save the macros.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3149744" xml-lang="en-US" level="3">Macro name</paragraph>
+<h3 id="hd_id3149744">Macro name</h3>
<paragraph role="paragraph" id="par_id3151391" xml-lang="en-US"><ahelp hid="cui/ui/eventassignpage/macros">Lists the available macros. Click the macro that you want to assign to the selected object.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3159260" xml-lang="en-US" level="2">Assign</paragraph>
+<h2 id="hd_id3159260">Assign</h2>
<paragraph role="paragraph" id="par_id3147406" xml-lang="en-US"><ahelp hid="SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_ASSIGN">Assigns the selected macro to the specified event.</ahelp> The assigned macro's entries are set after the event.</paragraph>
-<paragraph role="heading" id="hd_id3150533" xml-lang="en-US" level="2">Remove</paragraph>
+<h2 id="hd_id3150533">Remove</h2>
<paragraph role="paragraph" id="par_id3166456" xml-lang="en-US"><variable id="aufheb"><ahelp hid="SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_DELETE">Removes the macro that is assigned to the selected item.</ahelp>
</variable></paragraph>
-<paragraph role="heading" id="hd_id3159126" xml-lang="en-US" level="2">Macro selection</paragraph>
+<h2 id="hd_id3159126">Macro selection</h2>
<paragraph role="paragraph" id="par_id3149149" xml-lang="en-US"><ahelp hid="SFX2_LISTBOX_RID_SFX_TP_MACROASSIGN_LB_SCRIPTTYPE">Select the macro that you want to assign.</ahelp></paragraph>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/main0601.xhp b/source/text/sbasic/shared/main0601.xhp
index 54872964aa..289dfb5ba5 100644
--- a/source/text/sbasic/shared/main0601.xhp
+++ b/source/text/sbasic/shared/main0601.xhp
@@ -36,7 +36,7 @@
<paragraph id="par_id3147226" role="paragraph" xml-lang="en-US">This help section explains the most common functions of %PRODUCTNAME Basic. For more in-depth information please refer to the <link href="https://wiki.documentfoundation.org/Documentation/BASIC_Guide">OpenOffice.org BASIC Programming Guide</link> on the Wiki.</paragraph>
</section>
-<paragraph id="hd_id3146957" role="heading" level="3" xml-lang="en-US">Working with %PRODUCTNAME Basic</paragraph>
+<h3 id="hd_id3146957">Working with %PRODUCTNAME Basic</h3>
<embed href="text/sbasic/shared/01000000.xhp#doc_title"/>
<embed href="text/sbasic/shared/03000000.xhp#doc_title"/>
<embed href="text/shared/guide/macro_recording.xhp#macro_recording"/>
@@ -47,7 +47,7 @@
<embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
<embed href="text/sbasic/guide/basic_examples.xhp#basicexamplestit"/>
-<paragraph id="hd_id05182017030838384" role="heading" level="3" xml-lang="en-US">Working with VBA Macros</paragraph>
+<h3 id="hd_id05182017030838384">Working with VBA Macros</h3>
<embed href="text/sbasic/shared/vbasupport.xhp#vbamacros"/>
<embed href="text/sbasic/shared/special_vba_func.xhp#exclusivevba"/>
diff --git a/source/text/sbasic/shared/vbasupport.xhp b/source/text/sbasic/shared/vbasupport.xhp
index e07bc4817a..51259e5e82 100644
--- a/source/text/sbasic/shared/vbasupport.xhp
+++ b/source/text/sbasic/shared/vbasupport.xhp
@@ -34,15 +34,15 @@
</section>
<paragraph id="par_id051720170332428854" role="paragraph" xml-lang="en-US">Support for VBA is not complete, but it covers a large portion of the common usage patterns. Most macros use a manageable subset of objects in the Excel API (such as the Range, Worksheet, Workbook, etc.) and the support include those objects, and the most commonly used method/properties of those objects.</paragraph>
-<paragraph id="hd_id051720170350145604" role="heading" level="2" xml-lang="en-US">Loading Microsoft Office documents with executable VBA macros</paragraph>
+<h2 id="hd_id051720170350145604">Loading Microsoft Office documents with executable VBA macros</h2>
<paragraph id="par_id051720170350147298" role="paragraph" xml-lang="en-US">Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Load/Save - VBA Properties</emph> and mark the <emph>Executable code</emph> checkbox. Then load or open your document.</paragraph>
<embed href="text/shared/optionen/01130100.xhp#executablecode"/>
-<paragraph id="hd_id051720170400536628" role="heading" level="2" xml-lang="en-US">Running VBA Macros</paragraph>
+<h2 id="hd_id051720170400536628">Running VBA Macros</h2>
<paragraph id="par_id051720170400539565" role="paragraph" xml-lang="en-US">Run VBA macros in the same way as %PRODUCTNAME Basic macros.</paragraph>
<paragraph id="par_id051720170407404013" role="warning" xml-lang="en-US">Since support for VBA is not complete, you may have to edit the VBA code and complete the missing support with %PRODUCTNAME Basic objects, statements and functions.</paragraph>
-<paragraph id="hd_id051720170400533411" role="heading" level="2" xml-lang="en-US">Editing VBA Macros</paragraph>
+<h2 id="hd_id051720170400533411">Editing VBA Macros</h2>
<paragraph id="par_id051720170400532486" role="paragraph" xml-lang="en-US">VBA macros can be edited in the %PRODUCTNAME Basic IDE.</paragraph>
<section id="relatedtopics">