office-gobmx/wizards
Jean-Pierre Ledure ec4415d2a7 ScriptForge - Methods about data arrays
A data array is a 1D array of 1D subarrays.
All arrays are presumed zero-based.
Usages:
- the content of a range of Calc cells returned
  by the UNO XCellRange.getDataArray() or
  XCellRange.getFormulaArray() methods
- the output of SF_Session.ExecuteCalcFunction()
- a tuple of (sub)tuples returned by a Python script

3 methods are added to the Array service:

1) ConvertFromDataArray(DataArray, [IsRange], [FillValue])
  Convert a data array to a scalar, a vector or a 2D array.
  On request, the individual items are reduced
  to strings or doubles only.

2) ConvertToDataArray(Data, [IsRange], [Rows], [Columns)
  Create a data array from a scalar, a 1D array or a 2D array.
  The returned data array is zero-based and compatible
  with the XCellRange.DataArray property when IsRange = True.

3) ConvertToRange(Data, [Direction])
  Create a valid cells range content from a scalar,
  a 1D array, a 2D array or a data array.
  The individual items are always reduced to strings
  or doubles. Including booleans or dates.
  The returned scalar or array is a valid argument
  of the SF_Session.ExecuteCalcFunction() method.

They replace the internal _ConvertFromDataArray()
and _ConvertToDataArray() that were present in
the Calc service, called by SetValue(),
SetFormula() etc. methods.

This change is Basic only and has no effect in Python.

The documentation about the Array service
should be completed with these new 3 methods.

Change-Id: Idc5b6417648e4574b0f9c7c6e2438ff7dfce1829
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177620
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2024-12-02 10:25:44 +01:00
..
com/sun/star/wizards tdf#144702 Base Fields in Report Label Display Clipped 2024-10-23 07:47:34 +02:00
source ScriptForge - Methods about data arrays 2024-12-02 10:25:44 +01:00
AllLangMoTarget_wiz.mk
CustomTarget_share.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
CustomTarget_wizards.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
Jar_commonwizards.mk
Jar_form.mk
Jar_query.mk
Jar_report.mk
Jar_reportbuilder.mk
Jar_table.mk
Makefile
Module_wizards.mk
Package_access2base.mk
Package_depot.mk
Package_euro.mk
Package_form.mk
Package_gimmicks.mk
Package_import.mk
Package_scriptforge.mk
Package_sfdatabases.mk
Package_sfdialogs.mk
Package_sfdocuments.mk
Package_sfunittests.mk
Package_sfwidgets.mk ScriptForge (SFWidgets) new ContextMenu service 2024-08-24 18:29:12 +02:00
Package_share.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
Package_standard.mk
Package_template.mk
Package_tools.mk
Package_tutorials.mk
Package_usr.mk
Package_wizards.mk
Package_wizards_properties.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
Pyuno_agenda.mk
Pyuno_commonwizards.mk
Pyuno_fax.mk
Pyuno_letter.mk
README.md

Java Wizards

Java wizards for db setup, importing, tutorials, etc.

There are also partially converted Python copies of each wizard, which we are hoping to migrate to in order to remove the Java dependency here.