LibreOffice Module sc (master) 1
Public Member Functions | List of all members
ScPassHashProtectable Class Referenceabstract

#include <tabprotection.hxx>

Inheritance diagram for ScPassHashProtectable:
[legend]

Public Member Functions

virtual ~ScPassHashProtectable ()=0
 
virtual bool isProtected () const =0
 
virtual bool isProtectedWithPass () const =0
 
virtual void setProtected (bool bProtected)=0
 
virtual bool isPasswordEmpty () const =0
 
virtual bool hasPasswordHash (ScPasswordHash eHash, ScPasswordHash eHash2=PASSHASH_UNSPECIFIED) const =0
 
virtual void setPassword (const OUString &aPassText)=0
 
virtual css::uno::Sequence< sal_Int8getPasswordHash (ScPasswordHash eHash, ScPasswordHash eHas2=PASSHASH_UNSPECIFIED) const =0
 
virtual const ScOoxPasswordHashgetPasswordHash () const =0
 
virtual void setPasswordHash (const css::uno::Sequence< sal_Int8 > &aPassword, ScPasswordHash eHash, ScPasswordHash eHash2=PASSHASH_UNSPECIFIED)=0
 
virtual void setPasswordHash (const OUString &rAlgorithmName, const OUString &rHashValue, const OUString &rSaltValue, sal_uInt32 nSpinCount)=0
 
virtual bool verifyPassword (const OUString &aPassText) const =0
 

Detailed Description

Definition at line 72 of file tabprotection.hxx.

Constructor & Destructor Documentation

◆ ~ScPassHashProtectable()

ScPassHashProtectable::~ScPassHashProtectable ( )
pure virtual

Definition at line 107 of file tabprotection.cxx.

Member Function Documentation

◆ getPasswordHash() [1/2]

virtual const ScOoxPasswordHash & ScPassHashProtectable::getPasswordHash ( ) const
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

◆ getPasswordHash() [2/2]

virtual css::uno::Sequence< sal_Int8 > ScPassHashProtectable::getPasswordHash ( ScPasswordHash  eHash,
ScPasswordHash  eHas2 = PASSHASH_UNSPECIFIED 
) const
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

◆ hasPasswordHash()

virtual bool ScPassHashProtectable::hasPasswordHash ( ScPasswordHash  eHash,
ScPasswordHash  eHash2 = PASSHASH_UNSPECIFIED 
) const
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

Referenced by lcl_IsInGoodStatus().

◆ isPasswordEmpty()

virtual bool ScPassHashProtectable::isPasswordEmpty ( ) const
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

Referenced by lcl_IsInGoodStatus().

◆ isProtected()

virtual bool ScPassHashProtectable::isProtected ( ) const
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

Referenced by lcl_IsInGoodStatus().

◆ isProtectedWithPass()

virtual bool ScPassHashProtectable::isProtectedWithPass ( ) const
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

◆ setPassword()

virtual void ScPassHashProtectable::setPassword ( const OUString &  aPassText)
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

Referenced by IMPL_LINK().

◆ setPasswordHash() [1/2]

virtual void ScPassHashProtectable::setPasswordHash ( const css::uno::Sequence< sal_Int8 > &  aPassword,
ScPasswordHash  eHash,
ScPasswordHash  eHash2 = PASSHASH_UNSPECIFIED 
)
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

◆ setPasswordHash() [2/2]

virtual void ScPassHashProtectable::setPasswordHash ( const OUString &  rAlgorithmName,
const OUString &  rHashValue,
const OUString &  rSaltValue,
sal_uInt32  nSpinCount 
)
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

◆ setProtected()

virtual void ScPassHashProtectable::setProtected ( bool  bProtected)
pure virtual

Implemented in ScDocProtection, and ScTableProtection.

◆ verifyPassword()

virtual bool ScPassHashProtectable::verifyPassword ( const OUString &  aPassText) const
pure virtual

The documentation for this class was generated from the following files: