summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03103800.xhp
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2017-01-17 21:15:13 +0100
committerOlivier Hallot <olivier.hallot@edx.srv.br>2017-05-19 16:03:50 +0200
commit3d5e0e547daaed4c5587d403877a04916cf23eb9 (patch)
tree58ff8bfda6d834b2062349c787507a6403e4a7a3 /source/text/sbasic/shared/03103800.xhp
parentee2a29423da11c4f61ce4ca2176383d1a631ec84 (diff)
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.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Diffstat (limited to 'source/text/sbasic/shared/03103800.xhp')
-rw-r--r--source/text/sbasic/shared/03103800.xhp7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/text/sbasic/shared/03103800.xhp b/source/text/sbasic/shared/03103800.xhp
index 75400f3e92..091cc13135 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>