|
|
|
|
|
<Word Processing>.Save (Function) In french: <Traitement de texte>.Sauve Saves a document as a "docx" file. The saved document remains open. To close it, you must use <Word Processing>.Close.
sNomFichier is string = fSelect(CompleteDir(fExeDir()), "présentation.docx", ...
"Sélection de fichiers DocX","Fichier Docx (*.docx)" + TAB + "*.docx" , "*.docx", fselCreate)
TT_SansNom1.Sauve(sNomFichier)
IF ErrorOccurred THEN
Error(StringBuild("Le fichier %1 n'a pas pu être enregistré.", sNomFichier), ErrorInfo())
RETURN
END
Syntax
<Result> = <Word Processing control>.Save([<File path>])
<Result>: Boolean - True if the backup was performed,
- False otherwise.
<Word Processing control>: Control name Name of the Word Processing control to use. <File path>: Optional character string Full path and name of "docx" file.
If this parameter is specified, the file is saved at the specified location (the existing file is overwritten if necessary). Note: If the "docx" document is saved with a different path to the original one (corresponding to a "Save as"), the original file is closed, the document is saved in the new file and the new "docx" file remains open. If this parameter is not specifiedthe path taken into account is the path specified in the Property Value property of the Word Processing control field. If this property is empty, the function returns False. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|