summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03132200.xhp
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2019-07-24 09:38:23 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-07-26 13:30:06 +0200
commit9f558a9df14657cf549320364cb37f49b0f60c4d (patch)
treef9e157cc2048c8582f76471c7fe402e32d1fb065 /source/text/sbasic/shared/03132200.xhp
parent68d866ef1bc04daf8afbd031234d6f03a3c41a43 (diff)
Format some Basic UNO pages
Use css class 'code' for syntax of Basic statements Use embeds for section title in pages Change-Id: I54269e1cf995e1bc2921317bd4f4910d1c558733 Reviewed-on: https://gerrit.libreoffice.org/76264 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/sbasic/shared/03132200.xhp')
-rw-r--r--source/text/sbasic/shared/03132200.xhp13
1 files changed, 3 insertions, 10 deletions
diff --git a/source/text/sbasic/shared/03132200.xhp b/source/text/sbasic/shared/03132200.xhp
index e01e2baf5c..a4f19ddaeb 100644
--- a/source/text/sbasic/shared/03132200.xhp
+++ b/source/text/sbasic/shared/03132200.xhp
@@ -26,23 +26,17 @@
</meta>
<body>
-
<section id="thiscomponent">
<bookmark xml-lang="en-US" branch="index" id="bm_id3155342">
<bookmark_value>ThisComponent property</bookmark_value>
<bookmark_value>components;addressing</bookmark_value>
</bookmark>
-
<paragraph id="hd_id3155342" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03132200.xhp" name="ThisComponent Statement">ThisComponent Statement</link></paragraph>
<paragraph id="par_id3154923" role="paragraph" xml-lang="en-US">Addresses the active component so that its properties can be read and set. ThisComponent is used from document Basic, where it represents the document the Basic belongs to. The type of object accessed by ThisComponent depends on the document type.<comment>see i60932</comment></paragraph>
</section>
-
-<paragraph id="hd_id3154346" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
-<bascode>
-<paragraph id="par_id3151056" role="bascode" localize="false" xml-lang="en-US">ThisComponent</paragraph>
-</bascode>
-
-<paragraph id="hd_id3154940" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+<paragraph id="par_id3151056" role="code" localize="false" xml-lang="en-US">ThisComponent</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph id="par_idm1341584928" role="bascode" localize="false" xml-lang="en-US">Sub Main</paragraph>
<paragraph id="par_id3154123" role="bascode" xml-lang="en-US">' updates the "Table of Contents" in a text doc</paragraph>
@@ -54,5 +48,4 @@
<paragraph id="par_idm1341574608" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-
</helpdocument>