summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2021-04-14 18:34:08 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2021-04-14 23:37:09 +0200
commit4eb5af3af3d74494e4303d6f695638604563411a (patch)
tree0d8632d59c8a3272b0aa347e0939f45c08d117e6
parentFix sort command in Help pages (diff)
downloadhelp-4eb5af3af3d74494e4303d6f695638604563411a.tar.gz
help-4eb5af3af3d74494e4303d6f695638604563411a.zip
Add sort attribute in page
Change-Id: I9e34484ac411e07bcdeb67f4602ee58d7860150a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114112 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/sbasic/shared/00000002.xhp17
1 files changed, 7 insertions, 10 deletions
diff --git a/source/text/sbasic/shared/00000002.xhp b/source/text/sbasic/shared/00000002.xhp
index bfdfc2aaf6..295664a71c 100644
--- a/source/text/sbasic/shared/00000002.xhp
+++ b/source/text/sbasic/shared/00000002.xhp
@@ -1,6 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
<!--
* This file is part of the LibreOffice project.
*
@@ -18,7 +16,6 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-
<helpdocument version="1.0">
<meta>
<topic id="textsbasicshared00000002xml" indexer="include" status="PUBLISH">
@@ -30,30 +27,30 @@
</history>
</meta>
<body>
-<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="1"><link href="text/sbasic/shared/00000002.xhp" name="$[officename] Basic Glossary">$[officename] Basic Glossary</link></paragraph>
+<h1 id="hd_id3145068"><link href="text/sbasic/shared/00000002.xhp" name="$[officename] Basic Glossary">$[officename] Basic Glossary</link></h1>
<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US">This glossary explains some technical terms that you may come across when working with $[officename] Basic.</paragraph>
-<sort order="asc">
+<sort order="asc" descendant="h2">
<section id="dezimal">
-<paragraph role="heading" id="hd_id3155133" xml-lang="en-US" level="2">Decimal Point</paragraph>
+<h2 id="hd_id3155133">Decimal Point</h2>
<paragraph role="paragraph" id="par_id3156443" xml-lang="en-US">When converting numbers, $[officename] Basic uses the locale settings of the system for determining the type of decimal and thousand separator.</paragraph>
<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US">The behavior has an effect on both the implicit conversion ( 1 + "2.3" = 3.3 ) as well as the function <link href="text/sbasic/shared/03102700.xhp" name="IsNumeric">IsNumeric</link>.</paragraph>
</section>
<section id="colors">
-<paragraph role="heading" id="hd_id3155854" xml-lang="en-US" level="2">Colors</paragraph>
+<h2 id="hd_id3155854">Colors</h2>
<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US">In $[officename] Basic, colors are treated as long integer value. The return value of color queries is also always a long integer value. When defining properties, colors can be specified using their RGB code that is converted to a long integer value using the <link href="text/sbasic/shared/03010305.xhp" name="RGB function">RGB function</link>.</paragraph>
</section>
<section id="measurementunits">
-<paragraph role="heading" id="hd_id3146119" xml-lang="en-US" level="2">Measurement Units</paragraph>
+<h2 id="hd_id3146119">Measurement Units</h2>
<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US">In $[officename] Basic, a <emph>method parameter</emph> or a <emph>property</emph> expecting unit information can be specified either as integer or long integer expression without a unit, or as a character string containing a unit. If no unit is passed to the method the default unit defined for the active document type will be used. If the parameter is passed as a character string containing a measurement unit, the default setting will be ignored. The default measurement unit for a document type can be set under <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - (Document Type) - General</emph>.</paragraph>
</section>
<section id="twips">
<bookmark xml-lang="en-US" branch="index" id="bm_id3145801"><bookmark_value>twips; definition</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3145801" xml-lang="en-US" level="2">Twips</paragraph>
+<h2 id="hd_id3145801">Twips</h2>
<paragraph role="paragraph" id="par_id3154731" xml-lang="en-US">A twip is a screen-independent unit which is used to define the uniform position and size of screen elements on all display systems. A twip is 1/1440th of an inch or 1/20 of a printer's point. There are 1440 twips to an inch or about 567 twips to a centimeter.</paragraph>
</section>
<section id="urlnotation">
-<paragraph role="heading" id="hd_id3153159" xml-lang="en-US" level="2">URL Notation</paragraph>
+<h2 id="hd_id3153159">URL Notation</h2>
<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US">URLs (<emph>Uniform Resource Locators</emph>) are used to determine the location of a resource like a file in a file system, typically inside a network environment. A URL consists of a protocol specifier, a host specifier and a file and path specifier:</paragraph>
<paragraph role="paragraph" id="par_id3149121" xml-lang="en-US">
<emph>protocol</emph>://<emph>host.name</emph>/<emph>path/to/the/file.html</emph>