diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2017-01-17 21:15:13 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@edx.srv.br> | 2017-05-19 16:03:50 +0200 |
commit | 3d5e0e547daaed4c5587d403877a04916cf23eb9 (patch) | |
tree | 58ff8bfda6d834b2062349c787507a6403e4a7a3 /source/text/sbasic/shared/03104100.xhp | |
parent | ee2a29423da11c4f61ce4ca2176383d1a631ec84 (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/03104100.xhp')
-rw-r--r-- | source/text/sbasic/shared/03104100.xhp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/text/sbasic/shared/03104100.xhp b/source/text/sbasic/shared/03104100.xhp index af7d3e0624..7c65a5451e 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> |