office-gobmx/wizards/source/sfwidgets
Jean-Pierre Ledure 70f3fea2f3 ScriptForge (Dictionary) support case-sensitive keys
To enhance the compatibility between
 - sf dictionaries
 - python dicts
 - arrays of PropertyValues
it was necessary to propose the support
of case-sensitive keys, i.e. keys are
different if a case-sensitive comparison
finds them different.

So far only not case-sensitive keys
were supported.

This required a re-visit of the implementation
of the ScriptForge.SF_Dictionary service. So far
it was built upon a Basic Collection class which
differentiates keys not case-sensitively. The
new implementation uses sorted arrays.

The invocation of the service is now:
   dict = CreateScriptService("Dictionary", True/False)
True means case-sensitive keys.
Default = False, which preserves the compatibility
with the past.

ScriptForge uses dictionaries internally in
several places. For each of them it has been
assessed if the new attribute was justified
or not. For most of the contexts, it was.

The functionality makes sense only for Basic
user scripts.

The documentation of the Dictionary page
should be revised according to the new invocation
syntax.

Change-Id: If1f695bcbf1673a2b71c1e41487b1781caab71c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173044
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2024-09-08 17:14:50 +02:00
..
__License.xba
dialog.xlb
script.xlb
SF_ContextMenu.xba ScriptForge (Dictionary) support case-sensitive keys 2024-09-08 17:14:50 +02:00
SF_Menu.xba
SF_MenuListener.xba
SF_PopupMenu.xba ScriptForge (Dictionary) support case-sensitive keys 2024-09-08 17:14:50 +02:00
SF_Register.xba
SF_Toolbar.xba ScriptForge (Dictionary) support case-sensitive keys 2024-09-08 17:14:50 +02:00
SF_ToolbarButton.xba