Aspose::Cells::IProtectedRange Class Referenceabstract

A specified range to be allowed to edit when the sheet protection is ON. More...

Inherits Object.

Public Member Functions

virtual intrusive_ptr< Aspose::Cells::Systems::String > GetName ()=0
 Gets the Range title. This is used as a descriptor, not as a named range definition. More...
 
virtual void SetName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Gets the Range title. This is used as a descriptor, not as a named range definition. More...
 
virtual intrusive_ptr< Aspose::Cells::ICellAreaGetICellArea ()=0
 Gets the ICellArea object represents the cell area to be protected. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::ICellArea * > > GetICellAreas ()=0
 Gets all referred areas. More...
 
virtual void AddArea (Aspose::Cells::Systems::Int32 startRow, Aspose::Cells::Systems::Int32 startColumn, Aspose::Cells::Systems::Int32 endRow, Aspose::Cells::Systems::Int32 endColumn)=0
 Adds a referred area to this More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetPassword ()=0
 Represents the password to protect the range. More...
 
virtual void SetPassword (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Represents the password to protect the range. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetSecurityDescriptor ()=0
 The security descriptor defines user accounts who may edit this range without providing a password to access the range. More...
 
virtual void SetSecurityDescriptor (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 The security descriptor defines user accounts who may edit this range without providing a password to access the range. More...
 

Detailed Description

A specified range to be allowed to edit when the sheet protection is ON.

Member Function Documentation

◆ AddArea()

virtual void Aspose::Cells::IProtectedRange::AddArea ( Aspose::Cells::Systems::Int32  startRow,
Aspose::Cells::Systems::Int32  startColumn,
Aspose::Cells::Systems::Int32  endRow,
Aspose::Cells::Systems::Int32  endColumn 
)
pure virtual

Adds a referred area to this

Parameters
startRowThe start row.
startColumnThe start column.
endRowThe end row.
endColumnThe end column.

◆ GetICellArea()

virtual intrusive_ptr<Aspose::Cells::ICellArea> Aspose::Cells::IProtectedRange::GetICellArea ( )
pure virtual

Gets the ICellArea object represents the cell area to be protected.

◆ GetICellAreas()

virtual intrusive_ptr<Aspose::Cells::Systems::Array1D<Aspose::Cells::ICellArea*> > Aspose::Cells::IProtectedRange::GetICellAreas ( )
pure virtual

Gets all referred areas.

Returns
Returns all referred areas.

◆ GetName()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::IProtectedRange::GetName ( )
pure virtual

Gets the Range title. This is used as a descriptor, not as a named range definition.

◆ GetPassword()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::IProtectedRange::GetPassword ( )
pure virtual

Represents the password to protect the range.

◆ GetSecurityDescriptor()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::IProtectedRange::GetSecurityDescriptor ( )
pure virtual

The security descriptor defines user accounts who may edit this range without providing a password to access the range.

◆ SetName()

virtual void Aspose::Cells::IProtectedRange::SetName ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Gets the Range title. This is used as a descriptor, not as a named range definition.

◆ SetPassword()

virtual void Aspose::Cells::IProtectedRange::SetPassword ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Represents the password to protect the range.

◆ SetSecurityDescriptor()

virtual void Aspose::Cells::IProtectedRange::SetSecurityDescriptor ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

The security descriptor defines user accounts who may edit this range without providing a password to access the range.