LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScOrcusImportCellProtection Class Reference

#include <orcusinterface.hxx>

Inheritance diagram for ScOrcusImportCellProtection:
[legend]
Collaboration diagram for ScOrcusImportCellProtection:
[legend]

Public Member Functions

 ScOrcusImportCellProtection (std::vector< ScOrcusProtection > &rProtections)
 
void reset ()
 
void set_hidden (bool b) override
 
void set_locked (bool b) override
 
void set_print_content (bool b) override
 
void set_formula_hidden (bool b) override
 
std::size_t commit () override
 

Private Attributes

ScOrcusProtection maCurrentProtection
 
std::vector< ScOrcusProtection > & mrProtections
 

Detailed Description

Definition at line 544 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusImportCellProtection()

ScOrcusImportCellProtection::ScOrcusImportCellProtection ( std::vector< ScOrcusProtection > &  rProtections)

Definition at line 1953 of file interface.cxx.

Member Function Documentation

◆ commit()

std::size_t ScOrcusImportCellProtection::commit ( )
override

Definition at line 1983 of file interface.cxx.

References maCurrentProtection, mrProtections, and SAL_INFO.

◆ reset()

void ScOrcusImportCellProtection::reset ( )

Definition at line 1958 of file interface.cxx.

References maCurrentProtection.

Referenced by ScOrcusStyles::start_cell_protection().

◆ set_formula_hidden()

void ScOrcusImportCellProtection::set_formula_hidden ( bool  b)
override

Definition at line 1978 of file interface.cxx.

References maCurrentProtection, and ScOrcusProtection::mbFormulaHidden.

◆ set_hidden()

void ScOrcusImportCellProtection::set_hidden ( bool  b)
override

Definition at line 1963 of file interface.cxx.

References maCurrentProtection, and ScOrcusProtection::mbHidden.

◆ set_locked()

void ScOrcusImportCellProtection::set_locked ( bool  b)
override

Definition at line 1968 of file interface.cxx.

References maCurrentProtection, and ScOrcusProtection::mbLocked.

◆ set_print_content()

void ScOrcusImportCellProtection::set_print_content ( bool  b)
override

Definition at line 1973 of file interface.cxx.

References maCurrentProtection, and ScOrcusProtection::mbPrintContent.

Member Data Documentation

◆ maCurrentProtection

ScOrcusProtection ScOrcusImportCellProtection::maCurrentProtection
private

◆ mrProtections

std::vector<ScOrcusProtection>& ScOrcusImportCellProtection::mrProtections
private

Definition at line 547 of file orcusinterface.hxx.

Referenced by commit().


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