office-gobmx/wizards/source/sfdocuments
Jean-Pierre Ledure 7c0f0afd58 ScriptForge - (SF_FileSystem) new Normalize() method
Normalize a pathname by collapsing redundant
separators and up-level references
so that A//B, A/B/, A/./B and A/foo/../B
all become A/B.

On Windows, it converts forward slashes
to backward slashes.

The Basic Normalize() method invokes the
_SF_FileSystem__Normalize() function located in
the ScriptForgeHelper.py module for execution
with the os.path builtin library

The os.path.normpath() function can easily be
executed directly from python user scripts.
However the FileSystem.Normalize() method is
proposed as well for Python scripts
- for compatibility Basic/Python reasons
- to manage the FileNaming notation

Change-Id: I1e089612432bd2c75b2e76ffa984289ef7f9d75c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136835
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2022-07-06 12:27:09 +02:00
..
__License.xba
dialog.xlb
script.xlb
SF_Base.xba
SF_Calc.xba ScriptForge - (SF_FileSystem) new Normalize() method 2022-07-06 12:27:09 +02:00
SF_Chart.xba
SF_Document.xba
SF_DocumentListener.xba
SF_Form.xba
SF_FormControl.xba
SF_Register.xba
SF_Writer.xba