Orcus
Loading...
Searching...
No Matches
orcus::spreadsheet::iface::import_cell_protection Class Referenceabstract

#include <import_interface_styles.hpp>

Public Member Functions

virtual void set_hidden (bool b)=0
 
virtual void set_locked (bool b)=0
 
virtual void set_print_content (bool b)=0
 
virtual void set_formula_hidden (bool b)=0
 
virtual std::size_t commit ()=0
 

Detailed Description

Interface for importing cell protection items.

Member Function Documentation

◆ commit()

virtual std::size_t orcus::spreadsheet::iface::import_cell_protection::commit ( )
pure virtual

Commit the cell protection data in the current buffer.

Returns
index of the committed cell protection data, to be passed on to the import_xf::set_protection() method as its argument.

◆ set_formula_hidden()

virtual void orcus::spreadsheet::iface::import_cell_protection::set_formula_hidden ( bool b)
pure virtual

Hide the formula when the sheet is protected and the cell contains formula.

Parameters
bwhether or not to hide the formula when the sheet is protected and the cell contains formula.

◆ set_hidden()

virtual void orcus::spreadsheet::iface::import_cell_protection::set_hidden ( bool b)
pure virtual

Hide the entire cell content when the sheet is protected.

Parameters
bwhether to hide the entire cell content when the sheet is protected.

◆ set_locked()

virtual void orcus::spreadsheet::iface::import_cell_protection::set_locked ( bool b)
pure virtual

Lock the cell when the sheet is protected.

Parameters
bwhether or not to lock the cell when the sheet is protected.

◆ set_print_content()

virtual void orcus::spreadsheet::iface::import_cell_protection::set_print_content ( bool b)
pure virtual

Specify whether or not to print the cell content when the sheet is protected.

Parameters
bwhether or not to print the cell content when the sheet is protected.