Files
odfstudio/wizards/source/scriptforge/python
Jean-Pierre Ledure b7e84bec01 ScriptForge (Calc) new DefineName() method
Introduction of

1. the DefinedNames property
   Returns the full sorted list of all
   named ranges in the document.
   The names defined in a single sheet
   are qualified with the sheet name.

2. the DefineName() method
     calc.DefineName(definedname, value [,sheetname])
   Define a new name in the worksheet, at global
   or sheet level. If the name existed already,
   it is overwritten without warning.
   The Value of the new name may be a range,
   a scalar value or a formula.
   When a range, the top-left cell is set
   as reference cell.
   After creation, the new name can be used
   in formulaes.

The functions are available both for Basic
and Python user scripts.

The documentation will need an update.

Change-Id: I184e97b734a57ecba2e8a8eae583050116f40296
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184963
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2025-05-06 14:31:56 +02:00
..