wizards/source/scriptforge/python/ScriptForgeHelper.py | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 19e5606df73994bbf6ddd8089843be645bd4d8be Author: Jean-Pierre Ledure <[email protected]> AuthorDate: Sat Jan 16 13:11:22 2021 +0100 Commit: Jean-Pierre Ledure <[email protected]> CommitDate: Sat Jan 16 14:35:47 2021 +0100 ScriptForge - (ScriptForgeHelper.py) add empty list of visible routines The g_exportedScripts variable contains the list of the methods in the script that may be made visible in LO IDE's (APSO and alike) Currently that list (in fact, a tuple) must be empty Change-Id: I86abc0bb55be524a3f9d39da7c6bd248abec8668 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109435 Tested-by: Jean-Pierre Ledure <[email protected]> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <[email protected]> diff --git a/wizards/source/scriptforge/python/ScriptForgeHelper.py b/wizards/source/scriptforge/python/ScriptForgeHelper.py index f18433938b73..ca520434a2a9 100644 --- a/wizards/source/scriptforge/python/ScriptForgeHelper.py +++ b/wizards/source/scriptforge/python/ScriptForgeHelper.py @@ -261,6 +261,12 @@ def _SF_String__HashStr(string: str, algorithm: str) -> str: # used by SF_Strin return '' +# ################################################################# +# lists the scripts, that shall be visible inside the Basic/Python IDE +# ################################################################# + +g_exportedScripts = () + if __name__ == "__main__": print(_SF_Platform('Architecture')) print(_SF_Platform('ComputerName')) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
