source/text/sbasic/shared/03030108.xhp |   11 ++++++-----
 source/text/sbasic/shared/03030201.xhp |   17 +++++++++--------
 source/text/sbasic/shared/03030202.xhp |   17 +++++++++--------
 source/text/sbasic/shared/03090302.xhp |   31 +++++++++++++------------------
 source/text/sbasic/shared/03100400.xhp |   10 ++++++----
 source/text/sbasic/shared/03100500.xhp |   13 ++-----------
 source/text/sbasic/shared/03100600.xhp |   13 ++-----------
 source/text/sbasic/shared/03100700.xhp |    4 +---
 source/text/sbasic/shared/03103800.xhp |    7 ++++---
 source/text/sbasic/shared/03103900.xhp |   20 ++------------------
 source/text/sbasic/shared/03104100.xhp |    9 +++++----
 source/text/sbasic/shared/03104200.xhp |   11 ++++++-----
 source/text/sbasic/shared/03104300.xhp |    7 ++++---
 source/text/sbasic/shared/03104400.xhp |    7 ++++---
 source/text/sbasic/shared/03104600.xhp |   23 ++++++++++++-----------
 source/text/sbasic/shared/03120312.xhp |   17 ++++++++++-------
 source/text/sbasic/shared/03120313.xhp |   10 ++--------
 source/text/sbasic/shared/03131500.xhp |    7 ++++---
 source/text/sbasic/shared/03131700.xhp |   15 ++++++++-------
 source/text/sbasic/shared/03131800.xhp |   23 +++++++++++++----------
 source/text/sbasic/shared/03131900.xhp |   16 +++++++++-------
 source/text/sbasic/shared/03132300.xhp |    5 +----
 22 files changed, 132 insertions(+), 161 deletions(-)

New commits:
commit 3cb6c49b52541dd5f0c650d79a201a69415d8054
Author: Laurent Balland-Poirier <laurent.balland-poir...@laposte.net>
Date:   Tue Jan 17 21:15:13 2017 +0100

    Basic: beautify Examples with bascode tag
    
    Correct many examples to use <bascode> tag to get colorised text
    Merge some identical examples in section
    Remove useless spaces
    Remove ^M at end of line with <bascode>
    Add localize="false" for pure Basic code
    
    Add comments from Johnny_M
    Treat 03101700.xhp in a different commit
    
    Change-Id: I94a799ee13829ed9086127aa7d0e722ffe1dd90d
    Reviewed-on: https://gerrit.libreoffice.org/33240
    Reviewed-by: Olivier Hallot <olivier.hal...@edx.srv.br>
    Tested-by: Olivier Hallot <olivier.hal...@edx.srv.br>
    (cherry picked from commit 3d5e0e547daaed4c5587d403877a04916cf23eb9)
    Reviewed-on: https://gerrit.libreoffice.org/37825

diff --git a/source/text/sbasic/shared/03030108.xhp 
b/source/text/sbasic/shared/03030108.xhp
index 3e0a8f884..26313504b 100644
--- a/source/text/sbasic/shared/03030108.xhp
+++ b/source/text/sbasic/shared/03030108.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03030108xml" indexer="include" status="PUBLISH">
@@ -42,7 +41,7 @@
 </section>
 <paragraph role="heading" id="hd_id3148947" xml-lang="en-US" 
level="2">Syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3150400" 
xml-lang="en-US">CDateFromIso(String)</paragraph>
+<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>
 <paragraph role="paragraph" id="par_id3156212" xml-lang="en-US">Internal date 
number</paragraph>
@@ -52,8 +51,10 @@
 <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>
-<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US">dateval = 
CDateFromIso("20021231")</paragraph>
-<paragraph role="paragraph" id="par_id3147319" xml-lang="en-US">dateval = 
CDateFromIso("2002-12-31")</paragraph>
+<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>
+</bascode>
 <paragraph role="paragraph" id="par_id3146921" xml-lang="en-US">return both 
12/31/2002 in the date format of your system</paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03030201.xhp 
b/source/text/sbasic/shared/03030201.xhp
index de076c5f6..f5551ae7b 100644
--- a/source/text/sbasic/shared/03030201.xhp
+++ b/source/text/sbasic/shared/03030201.xhp
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <helpdocument version="1.0">
-       
+
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,8 +18,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
- 
-       
+
 <meta>
       <topic id="textsbasicshared03030201xml" indexer="include" 
status="PUBLISH">
          <title xml-lang="en-US" id="tit">Hour Function [Runtime]</title>
@@ -47,9 +46,11 @@
       <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>
-      <paragraph xml-lang="en-US" id="par_id3146985" role="paragraph">Sub 
ExampleHour</paragraph>
-      <paragraph xml-lang="en-US" id="par_id3156441" role="paragraph">Print 
"The current hour is " &amp; Hour( Now )</paragraph>
-      <paragraph xml-lang="en-US" id="par_id3153145" role="paragraph">End 
Sub</paragraph>
+      <paragraph xml-lang="en-US" id="hd_id3147348" role="heading" 
level="2">Example:</paragraph>
+      <bascode>
+          <paragraph xml-lang="en-US" id="par_id3146985" role="bascode">Sub 
ExampleHour</paragraph>
+          <paragraph xml-lang="en-US" id="par_id3156441" role="bascode">Print 
"The current hour is " &amp; Hour( Now )</paragraph>
+          <paragraph xml-lang="en-US" id="par_id3153145" role="bascode" 
localize="false">End Sub</paragraph>
+      </bascode>
    </body>
-</helpdocument>
\ No newline at end of file
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030202.xhp 
b/source/text/sbasic/shared/03030202.xhp
index 385e6c476..a03a4205b 100644
--- a/source/text/sbasic/shared/03030202.xhp
+++ b/source/text/sbasic/shared/03030202.xhp
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <helpdocument version="1.0">
-       
+
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,8 +18,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
- 
-       
+
 <meta>
       <topic id="textsbasicshared03030202xml" indexer="include" 
status="PUBLISH">
          <title xml-lang="en-US" id="tit">Minute Function [Runtime]</title>
@@ -47,9 +46,11 @@
       <paragraph xml-lang="en-US" id="par_id3148576" role="paragraph">returns 
the value 30.</paragraph>
       <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
       <embed href="text/sbasic/shared/00000003.xhp#err5"/>
-      <paragraph xml-lang="en-US" id="hd_id3150010" role="heading" level="2"   
             >Example:</paragraph>
-      <paragraph xml-lang="en-US" id="par_id3159154" role="paragraph">Sub 
ExampleMinute</paragraph>
-      <paragraph xml-lang="en-US" id="par_id3146119" role="paragraph">MsgBox 
"The current minute is "&amp; Minute(Now)&amp; "."</paragraph>
-      <paragraph xml-lang="en-US" id="par_id3153726" role="paragraph">end 
sub</paragraph>
+      <paragraph xml-lang="en-US" id="hd_id3150010" role="heading" 
level="2">Example:</paragraph>
+      <bascode>
+          <paragraph xml-lang="en-US" id="par_id3159154" role="bascode">Sub 
ExampleMinute</paragraph>
+          <paragraph xml-lang="en-US" id="par_id3146119" role="bascode">MsgBox 
"The current minute is "&amp; Minute(Now)&amp; "."</paragraph>
+          <paragraph xml-lang="en-US" id="par_id3153726" role="bascode" 
localize="false">End Sub</paragraph>
+      </bascode>
    </body>
-</helpdocument>
\ No newline at end of file
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090302.xhp 
b/source/text/sbasic/shared/03090302.xhp
index 7fb24ce86..f01205c39 100644
--- a/source/text/sbasic/shared/03090302.xhp
+++ b/source/text/sbasic/shared/03090302.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03090302xml" indexer="include" status="PUBLISH">
@@ -37,24 +36,20 @@
 <paragraph role="paragraph" id="par_id3153379" xml-lang="en-US">Continues 
program execution within a Sub or Function at the procedure line indicated by a 
label.</paragraph>
 </section>
 <paragraph role="heading" id="hd_id3149656" xml-lang="en-US" 
level="2">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154367" xml-lang="en-US">see 
Parameters</paragraph>
+<paragraph role="heading" id="hd_id3150870" xml-lang="en-US" 
level="2">Parameters:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3154367" xml-lang="en-US">see 
Parameters</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3156214" 
xml-lang="en-US">Sub/Function</paragraph>
+    <paragraph role="bascode" id="par_id3156424" xml-lang="en-US">statement 
block</paragraph>
+    <paragraph role="bascode" id="par_id3154685" xml-lang="en-US"> 
Label1</paragraph>
+    <paragraph role="bascode" id="par_id3145786" 
xml-lang="en-US"><emph>Label2:</emph></paragraph>
+    <paragraph role="bascode" id="par_id3161832" xml-lang="en-US">statement 
block</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3146120" 
xml-lang="en-US">Exit Sub</paragraph>
+    <paragraph role="bascode" id="par_id3150010" 
xml-lang="en-US"><emph>Label1:</emph></paragraph>
+    <paragraph role="bascode" id="par_id3152462" xml-lang="en-US">statement 
block</paragraph>
+    <paragraph role="bascode" id="par_id3149664" xml-lang="en-US">GoTo 
Label2</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3152886" 
xml-lang="en-US">End Sub/Function</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3150870" xml-lang="en-US" 
level="2">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3156214" 
xml-lang="en-US">Sub/Function</paragraph>
-<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US">statement 
block</paragraph>
-<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US"> 
Label1</paragraph>
-<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US">
-<emph>Label2:</emph>
-</paragraph>
-<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US">statement 
block</paragraph>
-<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US">Exit 
Sub</paragraph>
-<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US">
-<emph>Label1:</emph>
-</paragraph>
-<paragraph role="paragraph" id="par_id3152462" xml-lang="en-US">statement 
block</paragraph>
-<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US">GoTo 
Label2</paragraph>
-<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US">End 
Sub/Function</paragraph>
 <paragraph role="paragraph" id="par_id3152596" xml-lang="en-US">Use the GoTo 
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 then and end it with a colon 
(":").</paragraph>
 <paragraph role="warning" id="par_id3155416" xml-lang="en-US">You cannot use 
the GoTo statement to jump out of a Sub or Function.</paragraph>
 <paragraph role="heading" id="hd_id3154731" xml-lang="en-US" 
level="2">Example:</paragraph>
diff --git a/source/text/sbasic/shared/03100400.xhp 
b/source/text/sbasic/shared/03100400.xhp
index ed29d8b48..9ddf766a0 100644
--- a/source/text/sbasic/shared/03100400.xhp
+++ b/source/text/sbasic/shared/03100400.xhp
@@ -27,19 +27,19 @@
 
 <body>
 
-
 <section id="cdbl">
 <bookmark xml-lang="en-US" branch="index" id="bm_id3153750">
   <bookmark_value>CDbl function</bookmark_value>
 </bookmark>
 
-
 <paragraph id="hd_id3153750" role="heading" level="1" xml-lang="en-US"><link 
href="text/sbasic/shared/03100400.xhp" name="CDbl Function [Runtime]">CDbl 
Function [Runtime]</link></paragraph>
 <paragraph id="par_id3149233" role="paragraph" xml-lang="en-US">Converts any 
numerical expression or string expression to a double type.</paragraph>
 </section>
 
 <paragraph id="hd_id3149516" role="heading" level="2" 
xml-lang="en-US">Syntax</paragraph>
-<paragraph id="par_id3156152" role="paragraph" xml-lang="en-US">CDbl 
(Expression)</paragraph>
+<bascode>
+<paragraph id="par_id3156152" role="bascode" xml-lang="en-US">CDbl 
(Expression)</paragraph>
+</bascode>
 
 <paragraph id="hd_id3153061" role="heading" level="2" xml-lang="en-US">Return 
value</paragraph>
 <paragraph id="par_id3145068" role="paragraph" 
xml-lang="en-US">Double</paragraph>
@@ -49,6 +49,7 @@
 <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
 <embed href="text/sbasic/shared/00000003.xhp#err5"/>
 
+<section id="examplecountryconvert">
 <paragraph id="hd_id3148797" role="heading" level="2" 
xml-lang="en-US">Example:</paragraph>
 <bascode>
 <paragraph id="par_idm1340893312" role="bascode" localize="false" 
xml-lang="en-US">Sub ExampleCountryConvert</paragraph>
@@ -57,6 +58,7 @@
 <paragraph id="par_idm1340889568" role="bascode" localize="false" 
xml-lang="en-US">    MsgBox CLng(1234.5678)</paragraph>
 <paragraph id="par_idm1340888320" role="bascode" localize="false" 
xml-lang="en-US">End Sub</paragraph>
 </bascode>
+</section>
 </body>
 
-</helpdocument>
\ No newline at end of file
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100500.xhp 
b/source/text/sbasic/shared/03100500.xhp
index d1018e40d..cd09cb11f 100644
--- a/source/text/sbasic/shared/03100500.xhp
+++ b/source/text/sbasic/shared/03100500.xhp
@@ -27,13 +27,11 @@
 
 <body>
 
-
 <section id="cint">
 <bookmark xml-lang="en-US" branch="index" id="bm_id3149346">
   <bookmark_value>CInt function</bookmark_value>
 </bookmark>
 
-
 <paragraph id="hd_id3149346" role="heading" level="1" xml-lang="en-US"><link 
href="text/sbasic/shared/03100500.xhp" name="CInt Function [Runtime]">CInt 
Function [Runtime]</link></paragraph>
 <paragraph id="par_id3155419" role="paragraph" xml-lang="en-US">Converts any 
string or numeric expression to an integer.</paragraph>
 </section>
@@ -52,14 +50,7 @@
 <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
 <embed href="text/sbasic/shared/00000003.xhp#err5"/>
 
-<paragraph id="hd_id3145419" role="heading" level="2" 
xml-lang="en-US">Example:</paragraph>
-<bascode>
-<paragraph id="par_idm1341052912" role="bascode" localize="false" 
xml-lang="en-US">Sub ExampleCountryConvert</paragraph>
-<paragraph id="par_idm1341051664" role="bascode" localize="false" 
xml-lang="en-US">    MsgBox CDbl(1234.5678)</paragraph>
-<paragraph id="par_idm1341050416" role="bascode" localize="false" 
xml-lang="en-US">    MsgBox CInt(1234.5678)</paragraph>
-<paragraph id="par_idm1341049168" role="bascode" localize="false" 
xml-lang="en-US">    MsgBox CLng(1234.5678)</paragraph>
-<paragraph id="par_idm1341047920" role="bascode" localize="false" 
xml-lang="en-US">End Sub</paragraph>
-</bascode>
+<embed href="text/sbasic/shared/03100400.xhp#examplecountryconvert"/>
 </body>
 
-</helpdocument>
\ No newline at end of file
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100600.xhp 
b/source/text/sbasic/shared/03100600.xhp
index 704d5a073..565a477e4 100644
--- a/source/text/sbasic/shared/03100600.xhp
+++ b/source/text/sbasic/shared/03100600.xhp
@@ -27,13 +27,11 @@
 
 <body>
 
-
 <section id="clng">
 <bookmark xml-lang="en-US" branch="index" id="bm_id3153311">
   <bookmark_value>CLng function</bookmark_value>
 </bookmark>
 
-
 <paragraph id="hd_id3153311" role="heading" level="1" xml-lang="en-US"><link 
href="text/sbasic/shared/03100600.xhp" name="CLng Function [Runtime]">CLng 
Function [Runtime]</link></paragraph>
 <paragraph id="par_id3148686" role="paragraph" xml-lang="en-US">Converts any 
string or numeric expression to a long integer.</paragraph>
 </section>
@@ -52,14 +50,7 @@
 <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
 <embed href="text/sbasic/shared/00000003.xhp#err5"/>
 
-<paragraph id="hd_id3154216" role="heading" level="2" 
xml-lang="en-US">Example:</paragraph>
-<bascode>
-<paragraph id="par_idm1341313632" role="bascode" localize="false" 
xml-lang="en-US">Sub ExampleCountryConvert</paragraph>
-<paragraph id="par_idm1341312384" role="bascode" localize="false" 
xml-lang="en-US">    MsgBox CDbl(1234.5678)</paragraph>
-<paragraph id="par_idm1341311136" role="bascode" localize="false" 
xml-lang="en-US">    MsgBox CInt(1234.5678)</paragraph>
-<paragraph id="par_idm1341309888" role="bascode" localize="false" 
xml-lang="en-US">    MsgBox CLng(1234.5678)</paragraph>
-<paragraph id="par_idm1341308640" role="bascode" localize="false" 
xml-lang="en-US">End Sub</paragraph>
-</bascode>
+<embed href="text/sbasic/shared/03100400.xhp#examplecountryconvert"/>
 </body>
 
-</helpdocument>
\ No newline at end of file
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100700.xhp 
b/source/text/sbasic/shared/03100700.xhp
index b79232c4d..9701014bb 100644
--- a/source/text/sbasic/shared/03100700.xhp
+++ b/source/text/sbasic/shared/03100700.xhp
@@ -27,13 +27,11 @@
 
 <body>
 
-
 <section id="const">
 <bookmark xml-lang="en-US" branch="index" id="bm_id3146958">
   <bookmark_value>Const statement</bookmark_value>
 </bookmark>
 
-
 <paragraph id="hd_id3146958" role="heading" level="1" xml-lang="en-US"><link 
href="text/sbasic/shared/03100700.xhp" name="Const Statement [Runtime]">Const 
Statement [Runtime]</link></paragraph>
 <paragraph id="par_id3154143" role="paragraph" xml-lang="en-US">Defines a 
string as a constant.</paragraph>
 </section>
@@ -60,4 +58,4 @@
 </bascode>
 </body>
 
-</helpdocument>
\ No newline at end of file
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103800.xhp 
b/source/text/sbasic/shared/03103800.xhp
index 75400f3e9..091cc1313 100644
--- a/source/text/sbasic/shared/03103800.xhp
+++ b/source/text/sbasic/shared/03103800.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03103800xml" indexer="include" status="PUBLISH">
@@ -36,6 +35,7 @@
 <paragraph role="heading" id="hd_id3145136" xml-lang="en-US" level="1"><link 
href="text/sbasic/shared/03103800.xhp" name="FindObject Function 
[Runtime]">FindObject Function [Runtime]</link></paragraph>
 <paragraph role="paragraph" id="par_id3155341" xml-lang="en-US">Enables an 
object to be addressed at run-time as a string parameter through the object 
name.</paragraph>
 </section>
+<section id="examplefindobject">
 <paragraph role="paragraph" id="par_id3150669" xml-lang="en-US">For example, 
the following command:</paragraph>
 <bascode>
 <paragraph role="bascode" id="par_id3148473" localize="false" 
xml-lang="en-US">MyObj.Prop1.Command = 5</paragraph>
@@ -51,7 +51,8 @@
 <paragraph role="bascode" id="par_id3156424" localize="false" 
xml-lang="en-US">ObjProp.Command = 5</paragraph>
 </bascode>
 <paragraph role="paragraph" id="par_id3145420" xml-lang="en-US">This allows 
names to be dynamically created at run-time. For example:</paragraph>
-<paragraph role="paragraph" id="par_id3153104" xml-lang="en-US">"TextEdit1" to 
TextEdit5" in a loop to create five control names.</paragraph>
+<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" 
name="FindPropertyObject">FindPropertyObject</link></paragraph>
 <paragraph role="heading" id="hd_id3150868" xml-lang="en-US" 
level="2">Syntax:</paragraph>
 <bascode>
diff --git a/source/text/sbasic/shared/03103900.xhp 
b/source/text/sbasic/shared/03103900.xhp
index 5ec50e594..cffe4396f 100644
--- a/source/text/sbasic/shared/03103900.xhp
+++ b/source/text/sbasic/shared/03103900.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03103900xml" indexer="include" status="PUBLISH">
@@ -36,22 +35,7 @@
 <paragraph role="heading" id="hd_id3146958" xml-lang="en-US" level="1"><link 
href="text/sbasic/shared/03103900.xhp" name="FindPropertyObject Function 
[Runtime]">FindPropertyObject Function [Runtime]</link></paragraph>
 <paragraph role="paragraph" id="par_id3154285" xml-lang="en-US">Enables 
objects to be addressed at run-time as a string parameter using the object 
name.</paragraph>
 </section>
-<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US">For instance, 
the command:</paragraph>
-<bascode>
-       <paragraph role="bascode" id="par_id3145610" localize="false" 
xml-lang="en-US">MyObj.Prop1.Command = 5</paragraph>
-</bascode>
-<paragraph role="paragraph" id="par_id3147265" xml-lang="en-US">corresponds to 
the following command block:</paragraph>
-<bascode>
-<paragraph role="bascode" id="par_id3153896" localize="false" 
xml-lang="en-US">Dim ObjVar as Object</paragraph>
-<paragraph role="bascode" id="par_id3148664" localize="false" 
xml-lang="en-US">Dim ObjProp as Object</paragraph>
-<paragraph role="bascode" id="par_id3150792" localize="false" 
xml-lang="en-US">ObjName As String = "MyObj"</paragraph>
-<paragraph role="bascode" id="par_id3154365" localize="false" 
xml-lang="en-US">ObjVar = FindObject( ObjName As String )</paragraph>
-<paragraph role="bascode" id="par_id3148453" localize="false" 
xml-lang="en-US">PropName As String = "Prop1"</paragraph>
-<paragraph role="bascode" id="par_id3150449" localize="false" 
xml-lang="en-US">ObjProp = FindPropertyObject( ObjVar, PropName As String 
)</paragraph>
-<paragraph role="bascode" id="par_id3159152" localize="false" 
xml-lang="en-US">ObjProp.Command = 5</paragraph>
-</bascode>
-<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US">To dynamically 
create Names at run-time, use:</paragraph>
-<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US">"TextEdit1" to 
TextEdit5" in a loop to create five names.</paragraph>
+<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" 
name="FindObject">FindObject</link></paragraph>
 <paragraph role="heading" id="hd_id3147287" xml-lang="en-US" 
level="2">Syntax:</paragraph>
 <bascode>
diff --git a/source/text/sbasic/shared/03104100.xhp 
b/source/text/sbasic/shared/03104100.xhp
index af7d3e062..7c65a5451 100644
--- a/source/text/sbasic/shared/03104100.xhp
+++ b/source/text/sbasic/shared/03104100.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03104100xml" indexer="include" status="PUBLISH">
@@ -42,8 +41,10 @@
 <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>
-<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US">Result = 
MyFunction("Here", 1, "There") ' all arguments are passed.</paragraph>
-<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US">Result = 
MyFunction("Test", ,1) ' second argument is missing.</paragraph>
+<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>
+</bascode>
 <paragraph role="paragraph" id="par_id3153897" xml-lang="en-US">See also <link 
href="text/sbasic/guide/sample_code.xhp" 
name="Examples">Examples</link>.</paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03104200.xhp 
b/source/text/sbasic/shared/03104200.xhp
index 8aebedecd..f24dad6ca 100644
--- a/source/text/sbasic/shared/03104200.xhp
+++ b/source/text/sbasic/shared/03104200.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03104200xml" indexer="include" status="PUBLISH">
@@ -45,8 +44,10 @@
 <paragraph role="paragraph" id="par_id3145609" xml-lang="en-US">
 <emph>Argument list:</emph> A list of any number of arguments that are 
separated by commas.</paragraph>
 <paragraph role="heading" id="hd_id3156343" xml-lang="en-US" 
level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US">Dim A As 
Variant</paragraph>
-<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US">A = 
Array("Fred","Tom","Bill")</paragraph>
-<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US">Msgbox 
A(2)</paragraph>
+<bascode>
+    <paragraph role="bascode" localize="false" id="par_id3153897" 
xml-lang="en-US">Dim A As Variant</paragraph>
+    <paragraph role="bascode" id="par_id3153525" xml-lang="en-US">A = 
Array("Fred","Tom","Bill")</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3150792" 
xml-lang="en-US">Msgbox A(2)</paragraph>
+</bascode>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03104300.xhp 
b/source/text/sbasic/shared/03104300.xhp
index 348048cc4..0ff143cd7 100644
--- a/source/text/sbasic/shared/03104300.xhp
+++ b/source/text/sbasic/shared/03104300.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03104300xml" indexer="include" status="PUBLISH">
@@ -48,6 +47,8 @@
 <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>
-<paragraph role="paragraph" id="par_id3154939" xml-lang="en-US">a = DimArray( 
2, 2, 4 ) is the same as DIM a( 2, 2, 4 )</paragraph>
+<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>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03104400.xhp 
b/source/text/sbasic/shared/03104400.xhp
index de99f743b..372affa78 100644
--- a/source/text/sbasic/shared/03104400.xhp
+++ b/source/text/sbasic/shared/03104400.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03104400xml" indexer="include" status="PUBLISH">
@@ -49,6 +48,8 @@
 <paragraph role="paragraph" id="par_id3149236" xml-lang="en-US">
 <emph>Uno-Interface-Name:</emph> list of Uno interface names.</paragraph>
 <paragraph role="heading" id="hd_id3147574" xml-lang="en-US" 
level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3149580" xml-lang="en-US">bHas = 
HasUnoInterfaces( oTest, "com.sun.star.beans.XIntrospection" )</paragraph>
+<bascode>
+    <paragraph role="bascode" localize="false" id="par_id3149580" 
xml-lang="en-US">bHas = HasUnoInterfaces( oTest, 
"com.sun.star.beans.XIntrospection" )</paragraph>
+</bascode>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03104600.xhp 
b/source/text/sbasic/shared/03104600.xhp
index e01a09607..e47a87feb 100644
--- a/source/text/sbasic/shared/03104600.xhp
+++ b/source/text/sbasic/shared/03104600.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03104600xml" indexer="include" status="PUBLISH">
@@ -38,18 +37,20 @@
 </section>
 <paragraph role="heading" id="hd_id3148538" xml-lang="en-US" 
level="2">Syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3150669" xml-lang="en-US">EqualUnoObjects( 
oObj1, oObj2 )</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3150669" 
xml-lang="en-US">EqualUnoObjects( oObj1, oObj2 )</paragraph>
 </bascode>
 <paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="2">Return 
value:</paragraph>
 <paragraph role="paragraph" id="par_id3154285" 
xml-lang="en-US">Bool</paragraph>
 <paragraph role="heading" id="hd_id3145315" xml-lang="en-US" 
level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US">// Copy of 
objects -&gt; same instance</paragraph>
-<paragraph role="paragraph" id="par_id3154923" xml-lang="en-US">oIntrospection 
= CreateUnoService( "com.sun.star.beans.Introspection" )</paragraph>
-<paragraph role="paragraph" id="par_id3147559" xml-lang="en-US">oIntro2 = 
oIntrospection</paragraph>
-<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">print 
EqualUnoObjects( oIntrospection, oIntro2 )</paragraph>
-<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US">// Copy of 
structs as value -&gt; new instance</paragraph>
-<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US">Dim Struct1 as 
new com.sun.star.beans.Property</paragraph>
-<paragraph role="paragraph" id="par_id3154348" xml-lang="en-US">Struct2 = 
Struct1</paragraph>
-<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US">print 
EqualUnoObjects( Struct1, Struct2 )</paragraph>
+<bascode>
+    <paragraph role="bascode" id="par_id3156024" xml-lang="en-US">' Copy of 
objects -&gt; same instance</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3154923" 
xml-lang="en-US">oIntrospection = CreateUnoService( 
"com.sun.star.beans.Introspection" )</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3147559" 
xml-lang="en-US">oIntro2 = oIntrospection</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3150541" 
xml-lang="en-US">print EqualUnoObjects( oIntrospection, oIntro2 )</paragraph>
+    <paragraph role="bascode" id="par_id3153525" xml-lang="en-US">' Copy of 
structs as value -&gt; new instance</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3154366" 
xml-lang="en-US">Dim Struct1 as new com.sun.star.beans.Property</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3154348" 
xml-lang="en-US">Struct2 = Struct1</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3154125" 
xml-lang="en-US">print EqualUnoObjects( Struct1, Struct2 )</paragraph>
+</bascode>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03120312.xhp 
b/source/text/sbasic/shared/03120312.xhp
index cfe64d3bf..afdb523ef 100644
--- a/source/text/sbasic/shared/03120312.xhp
+++ b/source/text/sbasic/shared/03120312.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03120312xml" indexer="include" status="PUBLISH">
@@ -47,11 +46,15 @@
 <emph>Filename:</emph> A file name as string.</paragraph>
 <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
 <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<section id="exampleconverttofromurl">
 <paragraph role="heading" id="hd_id3153361" xml-lang="en-US" 
level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US">systemFile$ = 
"c:\folder\mytext.txt"</paragraph>
-<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US">url$ = 
ConvertToURL( systemFile$ )</paragraph>
-<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US">print 
url$</paragraph>
-<paragraph role="paragraph" id="par_id3154909" 
xml-lang="en-US">systemFileAgain$ = ConvertFromURL( url$ )</paragraph>
-<paragraph role="paragraph" id="par_id3144762" xml-lang="en-US">print 
systemFileAgain$</paragraph>
+<bascode>
+    <paragraph role="bascode" id="par_id3150792" xml-lang="en-US">systemFile$ 
= "c:\folder\mytext.txt"</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3154365" 
xml-lang="en-US">url$ = ConvertToURL( systemFile$ )</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3151042" 
xml-lang="en-US">print url$</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3154909" 
xml-lang="en-US">systemFileAgain$ = ConvertFromURL( url$ )</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3144762" 
xml-lang="en-US">print systemFileAgain$</paragraph>
+</bascode>
+</section>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03120313.xhp 
b/source/text/sbasic/shared/03120313.xhp
index e33dcf2f2..850c48686 100644
--- a/source/text/sbasic/shared/03120313.xhp
+++ b/source/text/sbasic/shared/03120313.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03120313xml" indexer="include" status="PUBLISH">
@@ -47,11 +46,6 @@
 <emph>Filename:</emph> A file name as a string.</paragraph>
 <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
 <embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" 
level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US">systemFile$ = 
"c:\folder\mytext.txt"</paragraph>
-<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">url$ = 
ConvertToURL( systemFile$ )</paragraph>
-<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US">print 
url$</paragraph>
-<paragraph role="paragraph" id="par_id3154367" 
xml-lang="en-US">systemFileAgain$ = ConvertFromURL( url$ )</paragraph>
-<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US">print 
systemFileAgain$</paragraph>
+<embed href="text/sbasic/shared/03120312.xhp#exampleconverttofromurl"/>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03131500.xhp 
b/source/text/sbasic/shared/03131500.xhp
index 9e767ceef..535ad5ea3 100644
--- a/source/text/sbasic/shared/03131500.xhp
+++ b/source/text/sbasic/shared/03131500.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03131500xml" indexer="include" status="PUBLISH">
@@ -43,6 +42,8 @@
 <paragraph role="bascode" id="par_id3155341" xml-lang="en-US">oStruct = 
CreateUnoStruct( Uno type name )</paragraph>
 </bascode>
 <paragraph role="heading" id="hd_id3145316" xml-lang="en-US" 
level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3149762" xml-lang="en-US">oStruct = 
CreateUnoStruct( "com.sun.star.beans.Property" )</paragraph>
+<bascode>
+  <paragraph role="bascode" localize="false" id="par_id3149762" 
xml-lang="en-US">oStruct = CreateUnoStruct( "com.sun.star.beans.Property" 
)</paragraph>
+</bascode>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03131700.xhp 
b/source/text/sbasic/shared/03131700.xhp
index 1ee4a8d0a..c358d29d3 100644
--- a/source/text/sbasic/shared/03131700.xhp
+++ b/source/text/sbasic/shared/03131700.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03131700xml" indexer="include" status="PUBLISH">
@@ -40,12 +39,14 @@
 <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US">This function 
is required when you want to instantiate a service using 
CreateInstanceWithArguments.</paragraph>
 <paragraph role="heading" id="hd_id3153681" xml-lang="en-US" 
level="2">Syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3151110" xml-lang="en-US">oServiceManager 
= GetProcessServiceManager()</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3151110" 
xml-lang="en-US">oServiceManager = GetProcessServiceManager()</paragraph>
 </bascode>
 <paragraph role="heading" id="hd_id3149516" xml-lang="en-US" 
level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3143270" 
xml-lang="en-US">oServiceManager = GetProcessServiceManager()</paragraph>
-<paragraph role="paragraph" id="par_id3153825" xml-lang="en-US">oIntrospection 
= 
oServiceManager.createInstance("com.sun.star.beans.Introspection");</paragraph>
-<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US">this is the 
same as the following statement:</paragraph>
-<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US">oIntrospection 
= CreateUnoService("com.sun.star.beans.Introspection")</paragraph>
+<bascode>
+    <paragraph role="bascode" localize="false" id="par_id3143270" 
xml-lang="en-US">oServiceManager = GetProcessServiceManager()</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3153825" 
xml-lang="en-US">oIntrospection = 
oServiceManager.createInstance("com.sun.star.beans.Introspection");</paragraph>
+    <paragraph role="bascode" id="par_id3148473" xml-lang="en-US">' this is 
the same as the following statement:</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3145609" 
xml-lang="en-US">oIntrospection = 
CreateUnoService("com.sun.star.beans.Introspection")</paragraph>
+</bascode>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03131800.xhp 
b/source/text/sbasic/shared/03131800.xhp
index 8b142268a..a7fe27a65 100644
--- a/source/text/sbasic/shared/03131800.xhp
+++ b/source/text/sbasic/shared/03131800.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03131800xml" indexer="include" status="PUBLISH">
@@ -29,9 +28,11 @@
 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
 </history>
 </meta>
+
 <body>
 <section id="createunodialog">
-<bookmark xml-lang="en-US" branch="index" 
id="bm_id3150040"><bookmark_value>CreateUnoDialog function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150040">
+  <bookmark_value>CreateUnoDialog function</bookmark_value>
 </bookmark>
 <paragraph role="heading" id="hd_id3150040" xml-lang="en-US" level="1"><link 
href="text/sbasic/shared/03131800.xhp" name="CreateUnoDialog Function 
[Runtime]">CreateUnoDialog Function [Runtime]</link></paragraph>
 <paragraph role="paragraph" id="par_id3154186" xml-lang="en-US">Creates a 
Basic Uno object that represents a Uno dialog control during Basic 
runtime.</paragraph>
@@ -40,14 +41,16 @@
 <paragraph role="paragraph" id="par_id3153681" xml-lang="en-US">See <link 
href="text/sbasic/guide/sample_code.xhp" 
name="Examples">Examples</link>.</paragraph>
 <paragraph role="heading" id="hd_id3154286" xml-lang="en-US" 
level="2">Syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3159176" xml-lang="en-US">CreateUnoDialog( 
oDlgDesc )</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3159176" 
xml-lang="en-US">CreateUnoDialog( oDlgDesc )</paragraph>
 </bascode>
 <paragraph role="heading" id="hd_id3143270" xml-lang="en-US" 
level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US">' Get dialog 
description from the dialog library</paragraph>
-<paragraph role="paragraph" id="par_id3149234" xml-lang="en-US">oDlgDesc = 
DialogLibraries.Standard.Dialog1</paragraph>
-<paragraph role="paragraph" id="par_id3154923" xml-lang="en-US">' generate 
"live" dialog</paragraph>
-<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US">oDlgControl = 
CreateUnoDialog( oDlgDesc )</paragraph>
-<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US">' display 
"live" dialog</paragraph>
-<paragraph role="paragraph" id="par_id3154072" 
xml-lang="en-US">oDlgControl.execute</paragraph>
+<bascode>
+  <paragraph id="par_id3159157" role="bascode" xml-lang="en-US">' Get dialog 
description from the dialog library</paragraph>
+  <paragraph id="par_id3149234" role="bascode" localize="false" 
xml-lang="en-US">oDlgDesc = DialogLibraries.Standard.Dialog1</paragraph>
+  <paragraph id="par_id3154923" role="bascode" xml-lang="en-US">' Generate 
"live" dialog</paragraph>
+  <paragraph id="par_id3149670" role="bascode" localize="false" 
xml-lang="en-US">oDlgControl = CreateUnoDialog( oDlgDesc )</paragraph>
+  <paragraph id="par_id3148550" role="bascode" xml-lang="en-US">' display 
"live" dialog</paragraph>
+  <paragraph id="par_id3154072" role="bascode" localize="false" 
xml-lang="en-US">oDlgControl.execute</paragraph>
+</bascode>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03131900.xhp 
b/source/text/sbasic/shared/03131900.xhp
index 1a025eb31..abd2aa7d8 100644
--- a/source/text/sbasic/shared/03131900.xhp
+++ b/source/text/sbasic/shared/03131900.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +17,7 @@
  *   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="textsbasicshared03131900xml" indexer="include" status="PUBLISH">
@@ -29,6 +28,7 @@
 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
 </history>
 </meta>
+
 <body>
 <section id="globalscope">
 <bookmark xml-lang="en-US" branch="index" 
id="bm_id3150682"><bookmark_value>GlobalScope function</bookmark_value>
@@ -63,13 +63,15 @@
 <paragraph role="paragraph" id="par_id3150543" xml-lang="en-US">Both 
LibraryContainers exist in an application level and within every document. In 
the document Basic, the document's LibraryContainers are called automatically. 
If you want to call the global LibraryContainers from within a document, you 
must use the keyword <emph>GlobalScope</emph>.</paragraph>
 <paragraph role="heading" id="hd_id3148920" xml-lang="en-US" 
level="2">Syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3149203" 
xml-lang="en-US">GlobalScope</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3149203" 
xml-lang="en-US">GlobalScope</paragraph>
 </bascode>
 <paragraph role="heading" id="hd_id3154685" xml-lang="en-US" 
level="2">Example:</paragraph>
 <paragraph role="paragraph" id="par_id3154124" xml-lang="en-US">Example in the 
document Basic</paragraph>
-<paragraph role="paragraph" id="par_id3158408" xml-lang="en-US">' calling 
Dialog1 in the document library Standard</paragraph>
-<paragraph role="paragraph" id="par_id3125865" xml-lang="en-US">oDlgDesc = 
DialogLibraries.Standard.Dialog1</paragraph>
-<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US">' calling 
Dialog2 in the application library Library1</paragraph>
-<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US">oDlgDesc = 
GlobalScope.DialogLibraries.Library1.Dialog2</paragraph>
+<bascode>
+    <paragraph role="bascode" id="par_id3158408" xml-lang="en-US">' calling 
Dialog1 in the document library Standard</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3125865" 
xml-lang="en-US">oDlgDesc = DialogLibraries.Standard.Dialog1</paragraph>
+    <paragraph role="bascode" id="par_id3154910" xml-lang="en-US">' calling 
Dialog2 in the application library Library1</paragraph>
+    <paragraph role="bascode" localize="false" id="par_id3156424" 
xml-lang="en-US">oDlgDesc = 
GlobalScope.DialogLibraries.Library1.Dialog2</paragraph>
+</bascode>
 </body>
 </helpdocument>
diff --git a/source/text/sbasic/shared/03132300.xhp 
b/source/text/sbasic/shared/03132300.xhp
index 6dbb70a9d..226f7a619 100644
--- a/source/text/sbasic/shared/03132300.xhp
+++ b/source/text/sbasic/shared/03132300.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -19,8 +18,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
 
-
-       
 <helpdocument version="1.0">
 <meta>
 <topic id="textsbasicshared03132300xml" indexer="include" status="PUBLISH">
@@ -42,7 +39,7 @@
 <paragraph role="note" id="par_id3153626" xml-lang="en-US">The $[officename] 
API frequently uses the Any type. It is the counterpart of the Variant type 
known from other environments. The Any type holds one arbitrary Uno type and is 
used in generic Uno interfaces.</paragraph>
 <paragraph role="heading" id="hd_id3147560" xml-lang="en-US" 
level="2">Syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3154760" xml-lang="en-US">oUnoValue = 
CreateUnoValue( "[]byte", MyBasicValue ) to get a byte sequence.</paragraph>
+<paragraph role="bascode" id="par_id3154760" xml-lang="en-US">oUnoValue = 
CreateUnoValue( "[]byte", MyBasicValue ) ' to get a byte sequence.</paragraph>
 </bascode>
 <paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">If 
CreateUnoValue cannot be converted to the specified Uno type, and error occurs. 
For the conversion, the TypeConverter service is used.</paragraph>
 <paragraph role="paragraph" id="par_id3153524" xml-lang="en-US">This function 
is intended for use in situations where the default Basic to Uno type 
converting mechanism is insufficient. This can happen when you try to access 
generic Any based interfaces, such as XPropertySet::setPropertyValue( Name, 
Value ) or X???Container::insertBy???( ???, Value ), from $[officename] Basic. 
The Basic runtime does not recognize these types as they are only defined in 
the corresponding service.</paragraph>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to