summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03010305.xhp
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-01-25 20:07:10 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-01-25 21:21:48 +0100
commit6614bedceadcc07ec082c5e926107f27903bda5c (patch)
tree0eedb2f897737cce9d169651b4b8863b2049da98 /source/text/sbasic/shared/03010305.xhp
parentbb4361c2e733c7b5a6a3a4b9d37ec0586c99ccd7 (diff)
fix validation errors by round-trip through helpauthoring extension
lots of missing attributes "id" and "xml-lang" (extension patched to keep bascode tag) Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a
Diffstat (limited to 'source/text/sbasic/shared/03010305.xhp')
-rw-r--r--source/text/sbasic/shared/03010305.xhp71
1 files changed, 36 insertions, 35 deletions
diff --git a/source/text/sbasic/shared/03010305.xhp b/source/text/sbasic/shared/03010305.xhp
index 0d8af3cda7..56971d27fa 100644
--- a/source/text/sbasic/shared/03010305.xhp
+++ b/source/text/sbasic/shared/03010305.xhp
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
+<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
@@ -17,48 +16,50 @@
* License, Version 2.0 (the "License"); you may not use this file
* 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="textsbasicshared03010305xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">RGB Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010305.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010305xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">RGB Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03010305.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="rgb">
-<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010305.xhp" name="RGB Function [Runtime]">RGB Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="2">Returns a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="long integer color value">long integer color value</link> consisting of red, green, and blue components.</paragraph>
+
+<paragraph id="hd_id3150792" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010305.xhp" name="RGB Function [Runtime]">RGB Function [Runtime]</link></paragraph>
+<paragraph id="par_id3150447" role="paragraph" xml-lang="en-US">Returns a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="long integer color value">long integer color value</link> consisting of red, green, and blue components.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3147229" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="4">RGB (Red, Green, Blue)</paragraph>
+<paragraph id="par_id3155132" role="bascode" xml-lang="en-US">RGB (Red, Green, Blue)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3156442" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
-<paragraph role="heading" id="hd_id3154013" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3152597" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Red</emph>: Any integer expression that represents the red component (0-255) of the composite color.</paragraph>
-<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="9">
-<emph>Green</emph>: Any integer expression that represents the green component (0-255) of the composite color.</paragraph>
-<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="10">
-<emph>Blue</emph>: Any integer expression that represents the blue component (0-255) of the composite color.</paragraph>
+
+<paragraph id="hd_id3156442" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3159153" role="paragraph" xml-lang="en-US">Long</paragraph>
+
+<paragraph id="hd_id3154013" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3152597" role="paragraph" xml-lang="en-US"> <emph>Red</emph>: Any integer expression that represents the red component (0-255) of the composite color.</paragraph>
+<paragraph id="par_id3146974" role="paragraph" xml-lang="en-US"> <emph>Green</emph>: Any integer expression that represents the green component (0-255) of the composite color.</paragraph>
+<paragraph id="par_id3151113" role="paragraph" xml-lang="en-US"> <emph>Blue</emph>: Any integer expression that represents the blue component (0-255) of the composite color.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3147435" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+
+<paragraph id="hd_id3147435" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
-<paragraph role="bascode" id="par_id3145647" xml-lang="en-US" l10n="U" oldref="15"> MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
-<paragraph role="bascode" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="16"> "red= " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3149401" xml-lang="en-US" l10n="U" oldref="17"> "green= " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="18"> "blue= " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340938032" role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
+<paragraph id="par_idm1340936800" role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
+<paragraph id="par_idm1340935568" role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
+<paragraph id="par_id3145647" role="bascode" xml-lang="en-US"> MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph id="par_id3154491" role="bascode" xml-lang="en-US"> "red= " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3149401" role="bascode" xml-lang="en-US"> "green= " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3150716" role="bascode" xml-lang="en-US"> "blue= " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph id="par_idm1340927072" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file