WorkbookProtection

WorkbookProtection

Overview

WorkbookProtection is a struct in Aspose.Cells FOSS for Rust. Inherits from: Debug, Clone, PartialEq, and 2 more.

Represents workbook protection.

This struct provides 42 methods for working with WorkbookProtection objects in Rust programs. Available methods include: get_is_protected, get_lock_revision, get_lock_structure, get_lock_windows, get_revisions_algorithm_name, get_revisions_hash_value, get_revisions_password, get_revisions_salt_value, get_revisions_spin_count, get_workbook_algorithm_name, get_workbook_hash_value, get_workbook_password, and 30 additional methods. All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package. Fields: revision, revisions_algorithm_name, revisions_hash_value, revisions_password, revisions_salt_value, revisions_spin_count, and 7 more.

Fields

NameTypeAccessDescription
structureboolRead/WriteGets the structure.
windowsboolRead/WriteGets the windows.
revisionboolRead/WriteGets the revision.
workbook_passwordStringRead/WriteGets the workbook password.
revisions_passwordStringRead/WriteGets the revisions password.
workbook_algorithm_nameStringRead/WriteGets the workbook algorithm name.
workbook_hash_valueStringRead/WriteGets the workbook hash value.
workbook_salt_valueStringRead/WriteGets the workbook salt value.
workbook_spin_countOption<u32>Read/WriteGets the workbook spin count.
revisions_algorithm_nameStringRead/WriteGets the revisions algorithm name.
revisions_hash_valueStringRead/WriteGets the revisions hash value.
revisions_salt_valueStringRead/WriteGets the revisions salt value.
revisions_spin_countOption<u32>Read/WriteGets the revisions spin count.

Methods

SignatureDescription
lock_structure()boolGets a value indicating whether lock structure.
get_lock_structure()boolGets a value indicating whether lock structure.
set_lock_structure(value: bool)Sets a value indicating whether lock structure.
lock_windows()boolGets a value indicating whether lock windows.
get_lock_windows()boolGets a value indicating whether lock windows.
set_lock_windows(value: bool)Sets a value indicating whether lock windows.
lock_revision()boolGets a value indicating whether lock revision.
get_lock_revision()boolGets a value indicating whether lock revision.
set_lock_revision(value: bool)Sets a value indicating whether lock revision.
workbook_password()&strGets the workbook password.
get_workbook_password()&strGets the workbook password.
set_workbook_password(value: impl Into<String>)Sets the workbook password.
revisions_password()&strGets the revisions password.
get_revisions_password()&strGets the revisions password.
set_revisions_password(value: impl Into<String>)Sets the revisions password.
workbook_algorithm_name()&strGets the workbook algorithm name.
get_workbook_algorithm_name()&strGets the workbook algorithm name.
set_workbook_algorithm_name(value: impl Into<String>)Sets the workbook algorithm name.
workbook_hash_value()&strGets the workbook hash value.
get_workbook_hash_value()&strGets the workbook hash value.
set_workbook_hash_value(value: impl Into<String>)Sets the workbook hash value.
workbook_salt_value()&strGets the workbook salt value.
get_workbook_salt_value()&strGets the workbook salt value.
set_workbook_salt_value(value: impl Into<String>)Sets the workbook salt value.
workbook_spin_count()Option<u32>Gets the workbook spin count.
get_workbook_spin_count()Option<u32>Gets the workbook spin count.
set_workbook_spin_count(value: Option<u32>)Sets the workbook spin count.
revisions_algorithm_name()&strGets the revisions algorithm name.
get_revisions_algorithm_name()&strGets the revisions algorithm name.
set_revisions_algorithm_name(value: impl Into<String>)Sets the revisions algorithm name.
revisions_hash_value()&strGets the revisions hash value.
get_revisions_hash_value()&strGets the revisions hash value.
set_revisions_hash_value(value: impl Into<String>)Sets the revisions hash value.
revisions_salt_value()&strGets the revisions salt value.
get_revisions_salt_value()&strGets the revisions salt value.
set_revisions_salt_value(value: impl Into<String>)Sets the revisions salt value.
revisions_spin_count()Option<u32>Gets the revisions spin count.
get_revisions_spin_count()Option<u32>Gets the revisions spin count.
set_revisions_spin_count(value: Option<u32>)Sets the revisions spin count.
is_protected()boolGets a value indicating whether protected.
get_is_protected()boolGets a value indicating whether protected.
reset()Resets the current object to its default state.

See Also