diff --git a/source/text/sbasic/guide/calc_borders.xhp b/source/text/sbasic/guide/calc_borders.xhp
index 7ab690fbec..23fa7b885a 100644
--- a/source/text/sbasic/guide/calc_borders.xhp
+++ b/source/text/sbasic/guide/calc_borders.xhp
@@ -45,7 +45,7 @@
The Sub described above takes in four arguments:
- cellAddress is a string such as denoting the range to be formatted in the format "A1".
+ cellAddress is a string denoting the range to be formatted in the format "A1".newStyle is an integer value that corresponds to the border line style (see Line Styles below).
@@ -196,7 +196,7 @@
Refer to the BorderLineStyle Constant Reference in the LibreOffice API documentation to learn more about line style constants.
Formatting Borders Using TableBorder2
- Range objects have a property named TableBorder2 that can be used to format range borders as it is done in the dialog in the Line Arrangement section.
+ Range objects have a property named TableBorder2 that can be used to format range borders as it is done in the dialog in the Line Arrangement section.In addition to top, bottom, left and right borders, TableBorder2 also defines vertical and horizontal borders. The macro below applies only the top and bottom borders to the range "B2:E5".Sub TableBorder2Example
diff --git a/source/text/sbasic/shared/03/sf_array.xhp b/source/text/sbasic/shared/03/sf_array.xhp
index 48f53418ba..c17dcc3fd8 100644
--- a/source/text/sbasic/shared/03/sf_array.xhp
+++ b/source/text/sbasic/shared/03/sf_array.xhp
@@ -232,7 +232,7 @@
Array service;Copy
-
Copy
+
Copy
Creates a copy of a 1D or 2D array.
@@ -661,14 +661,14 @@
Array service;PrependRow
PrependRow
- Prepend at the beginning of a two dimension array a new row. The resulting array has the same lower boundaries as the initial two dimension array.
+ Prepend a new row at the beginning of a 2-dimensional array. The resulting array has the same lower boundaries as the initial 2-dimensional array.
svc.PrependRow(array_2d: any[0..*, 0..*], row: any[0..*]): any[0..*, 0..*]
- array_2d: The pre-existing array, may be empty. If that array has 1 dimension, it is considered as the last row of the resulting 2 dimension array.
- row: A 1-dimensional array containing as many items as there are rows in array_2d.
+ array_2d: The pre-existing array, may be empty. If that array has 1 dimension, it is considered as the last row of the resulting 2-dimensional array.
+ row: A 1-dimensional array containing as many items as there are columns in array_2d.Dim a As Variant, b As variant
@@ -913,7 +913,7 @@
Array service;Union
Union
- Build a set, as a zero-based array, by applying the union operator on the two input arrays. Resulting items originate from any of both arrays.
+ Builds a set, as a zero-based array, by applying the union operator on the two input arrays. Resulting items originate from any of both arrays.
The resulting array is sorted in ascending order.
Both input arrays must be filled homogeneously, their items must be scalars of the same type. Empty and Null items are forbidden.
Text comparison can be case sensitive or not.
diff --git a/source/text/sbasic/shared/03/sf_base.xhp b/source/text/sbasic/shared/03/sf_base.xhp
index ad5a46b043..d78a608543 100644
--- a/source/text/sbasic/shared/03/sf_base.xhp
+++ b/source/text/sbasic/shared/03/sf_base.xhp
@@ -115,7 +115,7 @@
svc.CloseFormDocument(formdocument: str): bool
- formDocument: The name of the FormDocument to be closed, as a case-sensitive string.
+ formdocument: The name of the FormDocument to be closed, as a case-sensitive string.If form documents are organized in folders, it is necessary to include the folder name to specify the form document to be opened, as illustrated in the following examples:
diff --git a/source/text/sbasic/shared/03/sf_database.xhp b/source/text/sbasic/shared/03/sf_database.xhp
index 3efd09631e..890b42a3df 100644
--- a/source/text/sbasic/shared/03/sf_database.xhp
+++ b/source/text/sbasic/shared/03/sf_database.xhp
@@ -89,13 +89,13 @@
- ui = CreateScriptService("UI")
- doc = ui.OpenBaseDocument("/home/user/Documents/myDB.odb")
+ ui = CreateScriptService("UI")
+ doc = ui.OpenBaseDocument("/home/user/Documents/myDB.odb")# User and password are supplied below, if needed
- myDatabase = doc.GetDatabase()
+ myDatabase = doc.GetDatabase()# Run queries, SQL statements, ...
- myDatabase.CloseDatabase()
- doc.CloseDocument()
+ myDatabase.CloseDatabase()
+ doc.CloseDocument()The GetDatabase method used in the example above is part of ScriptForge's Base service.
@@ -374,7 +374,7 @@
The method returns True when successful.The RunSql method is rejected with an error message in case the database was previously opened in read-only mode.
-
+
db.RunSql(sqlcommand: str, directsql: bool = False): bool