Class SpreadsheetLocker

Class SpreadsheetLocker

Le nom : Aspose.Cells.LowCode Assemblée: Aspose.Cells.dll (25.4.0)

Api de code faible pour bloquer le fichier diffuse.

public class SpreadsheetLocker

Inheritance

object SpreadsheetLocker

Examples

SpreadsheetLocker.Process("template.xlsx", "locked.xlsx", "mypassword", "mypassword");

Methods

Process(String, String, String et String)

Lancez le fichier avec des paramètres spécifiés.

public static void Process(string templateFile, string resultFile, string openPassword, string writePassword)

Parameters

templateFile string

Le fichier de modèle à être bloqué

resultFile string

Le fichier résultant

openPassword string

Password pour l’encryptage des fichiers

writePassword string

Password pour la protection de la diffusion modifiée

Process(LowCodeLoadOptions, Options de la sauvegarde de l’écran, string)

Lancez le fichier avec des paramètres spécifiés.

public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, string openPassword, string writePassword)

Parameters

loadOptions LowCodeLoadOptions

Options d’entrée et de chargement

saveOptions LowCodeSaveOptions

Options de production et d’épargne

openPassword string

Password pour l’encryptage des fichiers

writePassword string

Password pour la protection de la diffusion modifiée

Process(LowCodeLoadOptions, LowKodeSaveOption, chaîne, ceinture, couvercle, ProtectionType)

Lancez le fichier avec des paramètres spécifiés.

public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, string openPassword, string writePassword, string workbookPassword, ProtectionType workbookType)

Parameters

loadOptions LowCodeLoadOptions

Options d’entrée et de chargement

saveOptions LowCodeSaveOptions

Options de production et d’épargne

openPassword string

Password pour l’encryptage des fichiers

writePassword string

Password pour la protection de la diffusion modifiée

workbookPassword string

Password pour la protection du livre de travail

workbookType ProtectionType

Type de protection pour protéger le livre de travail

Process(LowCodeLoadOptions, AbstractLowCodProtectionProvider)

Lancez le fichier avec des paramètres spécifiés.

public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, AbstractLowCodeProtectionProvider provider)

Parameters

loadOptions LowCodeLoadOptions

Options d’entrée et de chargement

saveOptions LowCodeSaveOptions

Options de production et d’épargne

provider AbstractLowCodeProtectionProvider

La mise en œuvre pour fournir des paramètres de protection

 Français