diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2021-04-10 15:10:02 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2021-04-10 16:44:27 +0200 |
commit | de3b720f4066c9fcf1258bf6592263a7e476cc46 (patch) | |
tree | 3e8dc3173f0cbe2c6349d40dc3ddc7b7c725708e /svx | |
parent | 32ad749a512b03e2d4588de667e397949cc51958 (diff) |
ScriptForge - (scriptforge.py) FormControl class
New class to manage controls in forms and subforms
from Python, essentially thru the use of Properties
Required a review of SF_FormControl.Getproperty()
Indeed, the IDE debugger computes all the properties
of a Basic object when expanded in the watch window.
This can cause errors.
This class makes use of default values for properties
when irrelevant for the actual control type
Error were detected on date/time conversions of date/timefield
controls and corrected.
SF_String etc shortcuts have been removed (see previous commit)
because not applicable in every scenario.
The only entry point to the API from a user Python script
is via CreateScriptService().
Change-Id: Ia87c7281c3fcf39ab0c3528f00114c9b1e067bcf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113920
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'svx')
0 files changed, 0 insertions, 0 deletions