summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSophia Schröder <sophia.schroeder@libreoffice.org>2018-04-22 18:46:44 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-04-23 03:05:19 +0200
commitc09fcdda036c90983510e1b15d22f257929bc5ac (patch)
tree8da36158da2167e706f910eaa6e129076faa333b /source
parent108a076a8397d44cc4732b4bdb8750f97e167b34 (diff)
Punctuation and whitespace fixes in help text.
Change-Id: Id719352c06bc525d7c52d88683b0f5ff3beb729f Reviewed-on: https://gerrit.libreoffice.org/53295 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source')
-rw-r--r--source/text/sbasic/shared/03030107.xhp2
-rw-r--r--source/text/sbasic/shared/03090409.xhp4
-rw-r--r--source/text/sbasic/shared/03101110.xhp2
-rw-r--r--source/text/sbasic/shared/03140008.xhp4
-rw-r--r--source/text/sbasic/shared/03140012.xhp4
-rw-r--r--source/text/sbasic/shared/keys.xhp12
6 files changed, 14 insertions, 14 deletions
diff --git a/source/text/sbasic/shared/03030107.xhp b/source/text/sbasic/shared/03030107.xhp
index 8b6df1cb7d..947b738f97 100644
--- a/source/text/sbasic/shared/03030107.xhp
+++ b/source/text/sbasic/shared/03030107.xhp
@@ -35,7 +35,7 @@
<paragraph id="hd_id3150620" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03030107.xhp" name="CDateToIso Function">CDateToIso Function</link></paragraph>
<paragraph id="par_id3151097" role="paragraph" xml-lang="en-US">Returns the date in ISO format without separators (YYYYMMDD) from a serial date number that is generated by the DateSerial or the DateValue or the CDateFromIso function.</paragraph>
<paragraph id="par_id3151098" role="paragraph" xml-lang="en-US">The year part consists of at least four digits, with leading zeros if the absolute value is less than 1000, it can be negative with a leading minus sign if the date passed denotes a year before the common era (BCE) and it can have more than four digits if the absolute value is greater than 9999. The formatted string returned can be in the range "-327680101" to "327671231".</paragraph>
-<paragraph id="par_id3151099" role="note" xml-lang="en-US">Years less than 100 and greater than 9999 are supported since %PRODUCTNAME 5.4</paragraph>
+<paragraph id="par_id3151099" role="note" xml-lang="en-US">Years less than 100 and greater than 9999 are supported since %PRODUCTNAME 5.4.</paragraph>
</section>
<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
diff --git a/source/text/sbasic/shared/03090409.xhp b/source/text/sbasic/shared/03090409.xhp
index eb98a3fcdd..08348414d4 100644
--- a/source/text/sbasic/shared/03090409.xhp
+++ b/source/text/sbasic/shared/03090409.xhp
@@ -46,8 +46,8 @@
</bascode>
<paragraph id="hd_id3153525" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
-<paragraph id="par_id3150792" role="paragraph" xml-lang="en-US"> <emph>Name:</emph> Name of the subroutine .</paragraph>
-<paragraph id="par_id3154138" role="paragraph" xml-lang="en-US"> <emph>VarName: </emph>Parameter that you want to pass to the subroutine.</paragraph>
+<paragraph id="par_id3150792" role="paragraph" xml-lang="en-US"> <emph>Name:</emph> Name of the subroutine.</paragraph>
+<paragraph id="par_id3154138" role="paragraph" xml-lang="en-US"> <emph>VarName:</emph> Parameter that you want to pass to the subroutine.</paragraph>
<paragraph id="par_id3154908" role="paragraph" xml-lang="en-US"> <emph>Type:</emph> Type-declaration key word.</paragraph>
<paragraph id="hd_id3153770" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
diff --git a/source/text/sbasic/shared/03101110.xhp b/source/text/sbasic/shared/03101110.xhp
index 29116c0392..811225a306 100644
--- a/source/text/sbasic/shared/03101110.xhp
+++ b/source/text/sbasic/shared/03101110.xhp
@@ -44,7 +44,7 @@
<bascode>
<paragraph role="bascode" id="par_idN105D3" xml-lang="en-US" localize="false">DefCur c</paragraph>
<paragraph role="bascode" id="par_idN105D6" xml-lang="en-US" localize="false">Sub ExampleDefCur</paragraph>
-<paragraph role="bascode" id="par_idN105D9" xml-lang="en-US"> cCur=Currency ' cCur is an implicit currency variable</paragraph>
+<paragraph role="bascode" id="par_idN105D9" xml-lang="en-US"> cCur=Currency ' cCur is an implicit currency variable.</paragraph>
<paragraph role="bascode" id="par_idN105DC" xml-lang="en-US" localize="false">End Sub</paragraph>
</bascode>
</body>
diff --git a/source/text/sbasic/shared/03140008.xhp b/source/text/sbasic/shared/03140008.xhp
index 542b4583e6..c9694aa3e9 100644
--- a/source/text/sbasic/shared/03140008.xhp
+++ b/source/text/sbasic/shared/03140008.xhp
@@ -66,10 +66,10 @@
<paragraph id="par_id230720172348084787" role="bascode" localize="false" xml-lang="en-US">Dim ppMth5 As Double</paragraph>
<paragraph id="par_id230720172348088178" role="bascode" xml-lang="en-US">' Principal payment during month 4:</paragraph>
<paragraph id="par_id230720172348084356" role="bascode" localize="false" xml-lang="en-US">ppMth4 = PPmt( 0.1/12, 4, 72, 100000 )</paragraph>
-<paragraph id="par_id230720172348086687" role="bascode" xml-lang="en-US">print ppMth4 ' ppMth4 is calculated to be -1044,94463903636</paragraph>
+<paragraph id="par_id230720172348086687" role="bascode" xml-lang="en-US">print ppMth4 ' ppMth4 is calculated to be -1044,94463903636.</paragraph>
<paragraph id="par_id230720172348081077" role="bascode" xml-lang="en-US">' Principal payment during month 5:</paragraph>
<paragraph id="par_id230720172348086143" role="bascode" localize="false" xml-lang="en-US">ppMth5 = PPmt( 0.1/12, 5, 72, 100000 )</paragraph>
-<paragraph id="par_id230720172348086456" role="bascode" xml-lang="en-US">print ppMth5' ppMth5 is calculated to be -1053,65251102833</paragraph>
+<paragraph id="par_id230720172348086456" role="bascode" xml-lang="en-US">print ppMth5' ppMth5 is calculated to be -1053,65251102833.</paragraph>
<paragraph id="par_id23072017234808812" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
diff --git a/source/text/sbasic/shared/03140012.xhp b/source/text/sbasic/shared/03140012.xhp
index 0b1533d324..9ad42e26b7 100644
--- a/source/text/sbasic/shared/03140012.xhp
+++ b/source/text/sbasic/shared/03140012.xhp
@@ -47,7 +47,7 @@
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id240720170117391741" role="paragraph" xml-lang="en-US"><emph>Cost</emph> is the initial cost of an asset.</paragraph>
<paragraph id="par_id24072017011739895" role="paragraph" xml-lang="en-US"><emph>Salvage</emph> is the value of an asset at the end of the depreciation.</paragraph>
-<paragraph id="par_id240720170117395610" role="paragraph" xml-lang="en-US"><emph>Life </emph>is the depreciation period determining the number of periods in the depreciation of the asset.</paragraph>
+<paragraph id="par_id240720170117395610" role="paragraph" xml-lang="en-US"><emph>Life</emph> is the depreciation period determining the number of periods in the depreciation of the asset.</paragraph>
<paragraph id="par_id240720170144224764" role="paragraph" xml-lang="en-US"><emph>Period</emph> is the period number for which you want to calculate the depreciation.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
@@ -59,7 +59,7 @@
<paragraph id="par_id240720170144225698" role="bascode" xml-lang="en-US">REM Calculate the yearly depreciation of an asset that cost $10,000 at</paragraph>
<paragraph id="par_id240720170144223210" role="bascode" xml-lang="en-US">REM the start of year 1, and has a salvage value of $1,000 after 5 years.</paragraph>
<paragraph id="par_id240720170144227162" role="bascode" localize="false" xml-lang="en-US">Dim syd_yr1 As Double</paragraph>
-<paragraph id="par_id240720170144223139" role="bascode" xml-lang="en-US">REM Calculate the depreciation during year 1</paragraph>
+<paragraph id="par_id240720170144223139" role="bascode" xml-lang="en-US">REM Calculate the depreciation during year 1.</paragraph>
<paragraph id="par_id240720170144228546" role="bascode" localize="false" xml-lang="en-US">syd_yr1 = SYD( 10000, 1000, 5, 1 )</paragraph>
<paragraph id="par_id240720170144221476" role="bascode" xml-lang="en-US">print syd_yr1 ' syd_yr1 is now equal to 3000.</paragraph>
<paragraph id="par_id240720170144221275" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
diff --git a/source/text/sbasic/shared/keys.xhp b/source/text/sbasic/shared/keys.xhp
index 56d8498c61..5dfef6e6c6 100644
--- a/source/text/sbasic/shared/keys.xhp
+++ b/source/text/sbasic/shared/keys.xhp
@@ -18,7 +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 .
-->
-
+
<helpdocument version="1.0">
<meta>
<topic id="textsbasicsharedkeysxml" indexer="include" status="PUBLISH">
@@ -49,7 +49,7 @@
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
-<paragraph role="tablecontent" id="par_id3159254" xml-lang="en-US">Run code starting from the first line, or from the current breakpoint, if the program stopped there before</paragraph>
+<paragraph role="tablecontent" id="par_id3159254" xml-lang="en-US">Run code starting from the first line, or from the current breakpoint, if the program stopped there before.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3163712" xml-lang="en-US">F5</paragraph>
@@ -65,7 +65,7 @@
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
-<paragraph role="tablecontent" id="par_id3151073" xml-lang="en-US">Add <link href="text/sbasic/shared/01050100.xhp" name="watch">watch</link> for the variable at the cursor</paragraph>
+<paragraph role="tablecontent" id="par_id3151073" xml-lang="en-US">Add <link href="text/sbasic/shared/01050100.xhp" name="watch">watch</link> for the variable at the cursor.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3154731" xml-lang="en-US">F7</paragraph>
@@ -81,7 +81,7 @@
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
-<paragraph role="tablecontent" id="par_id3156275" xml-lang="en-US">Single step as with F8, but a function call is considered to be only <emph>one</emph> statement</paragraph>
+<paragraph role="tablecontent" id="par_id3156275" xml-lang="en-US">Single step as with F8, but a function call is considered to be only <emph>one</emph> statement.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153764" xml-lang="en-US">Shift+F8</paragraph>
@@ -89,7 +89,7 @@
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
-<paragraph role="tablecontent" id="par_id3150323" xml-lang="en-US">Set or remove a <link href="text/sbasic/shared/01030300.xhp" name="breakpoint">breakpoint</link> at the current line or all breakpoints in the current selection</paragraph>
+<paragraph role="tablecontent" id="par_id3150323" xml-lang="en-US">Set or remove a <link href="text/sbasic/shared/01030300.xhp" name="breakpoint">breakpoint</link> at the current line or all breakpoints in the current selection.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US">F9</paragraph>
@@ -97,7 +97,7 @@
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
-<paragraph role="tablecontent" id="par_id3153963" xml-lang="en-US">Enable/disable the breakpoint at the current line or all breakpoints in the current selection</paragraph>
+<paragraph role="tablecontent" id="par_id3153963" xml-lang="en-US">Enable/disable the breakpoint at the current line or all breakpoints in the current selection.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155175" xml-lang="en-US">Shift+F9</paragraph>