summaryrefslogtreecommitdiff
path: root/wizards/source/sfdatabases/script.xlb
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2022-11-01 17:27:21 +0100
committerJean-Pierre Ledure <jp@ledure.be>2022-11-02 11:26:46 +0100
commit985c77b570807dcc558ccff4a51430fe489b68fd (patch)
treea359700248abe601efb1c5341af1542ef9bc689b /wizards/source/sfdatabases/script.xlb
parent4f88a1d624a97f53b58d3cdf36b2f5cfc237da59 (diff)
ScriptForge = (SFDatabases) New Datasheet service
A datasheet is the visual representation of tabular data produced by a database. In the user interface of LibreOffice it is the result of the opening of a table or a query. In this case the concerned Base document must be open. In the context of ScriptForge, a datasheet may be opened automatically by script code : - either by reproducing the behaviour of the user interface - or at any moment. In this case the Base document does not need to be open. Additionally, any SELECT SQL statement may define the datasheet display. The proposed API allows for either datasheets (opened manually of by code) in particular to know which cell is selected and its content. Properties: ColumnHeaders CurrentColumn CurrentRow LastRow Source SourceType XComponent XControlModel XTabControllerModel Methods Activate ApplyFilter CloseDatasheet GetValue GetText GoToCell OrderBy The Base and Database services are enriched with the OpenTable OpenQuery methods. The Database service gets also a new OpenSql method. The whole set of properties and methods is available both for Basic and Python scripts. This new service requires a new help page dedicated to this service, as well as an update of the pages about the Base and Database services. Change-Id: Ib409ce74d95de78f2792ba53e7ae554eab0867ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142118 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'wizards/source/sfdatabases/script.xlb')
-rw-r--r--wizards/source/sfdatabases/script.xlb1
1 files changed, 1 insertions, 0 deletions
diff --git a/wizards/source/sfdatabases/script.xlb b/wizards/source/sfdatabases/script.xlb
index 6cea80d2a912..15d7cbdbe978 100644
--- a/wizards/source/sfdatabases/script.xlb
+++ b/wizards/source/sfdatabases/script.xlb
@@ -4,4 +4,5 @@
<library:element library:name="SF_Register"/>
<library:element library:name="__License"/>
<library:element library:name="SF_Database"/>
+ <library:element library:name="SF_Datasheet"/>
</library:library> \ No newline at end of file