Class AbstractLowCodeProtectionProvider

Class AbstractLowCodeProtectionProvider

Namespace: Aspose.Cells.LowCode
Assembly: Aspose.Cells.dll (25.4.0)

Implementation to provide protection settings

public class AbstractLowCodeProtectionProvider

Inheritance

object AbstractLowCodeProtectionProvider

Constructors

AbstractLowCodeProtectionProvider()

public AbstractLowCodeProtectionProvider()

Methods

GetOpenPassword()

Gets the password to open spread sheet file.

public virtual string GetOpenPassword()

Returns

string

Password to open spread sheet file. Empty means no protection for openning the filel.

GetWorkbookPassword()

Gets the password to protect the workbook with specified protection type.

public virtual string GetWorkbookPassword()

Returns

string

Password to protect the workbook.

GetWorkbookProtectionType()

Gets the protection type to protect the workbook.

public virtual ProtectionType GetWorkbookProtectionType()

Returns

ProtectionType

Protection type to protect the workbook. Aspose.Cells.ProtectionType.None means no protection for the workbook.

GetWorksheetPassword(string)

Gets the password to protect the specified worksheet.

public virtual string GetWorksheetPassword(string sheetName)

Parameters

sheetName string

Returns

string

Password to protect the specified worksheet.

GetWorksheetProtectionType(string)

Gets the protection type to protect the specified worksheet.

public virtual ProtectionType GetWorksheetProtectionType(string sheetName)

Parameters

sheetName string

Returns

ProtectionType

Protection type to protect the specified worksheet. Aspose.Cells.ProtectionType.None means no protection for the worksheet.

GetWritePassword()

Gets the password to modify spread sheet file.

public virtual string GetWritePassword()

Returns

string

Password to modify the spread sheet file. Empty means no protection for modifying the file.

 English