office-gobmx/wizards
Jean-Pierre Ledure 6814e4375c ScriptForge - tdf#150203 Use RANDBETWEEN.NV i.o. RANDBETWEEN
Extract of the bug report (Rafael Lima)

This bug affects a method from the ScriptForge library,
more specifically the GetTempName method from
the FileSystem service, which relies on calling RANDBETWEEN.
Because of this bug, GetTempName only works in English,
but fails in other languages. Below is a sample code
for testing the GetTempName error.

Sub TestTempName
  GlobalScope.BasicLibraries.LoadLibrary("ScriptForge")
  fs = CreateScriptService("FileSystem")
  MsgBox fs.GetTempName()
End sub

Interestingly changing RANDBETWEEN for RANDBETWEEN.NV
in the macro above will work.

Occurrences of the use of RANDBETWEEN:
   wizards/source/scriptforge/SF_FileSystem.xba
   wizards/source/sfdocuments/SF_Calc.xba

Change-Id: Iea38f11acb7113aa5eaab1feff7a0e64a739aada
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137691
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2022-08-02 15:55:48 +02:00
..
com/sun/star/wizards
source
AllLangMoTarget_wiz.mk
CustomTarget_share.mk
CustomTarget_wizards.mk
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
Package_share.mk
Package_standard.mk
Package_template.mk
Package_tools.mk
Package_tutorials.mk
Package_usr.mk
Package_wizards.mk
Package_wizards_properties.mk
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.