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

#include <orcusinterface.hxx>

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

Public Member Functions

 ScOrcusConditionalFormat (SCTAB nTab, ScDocument &rDoc)
 
virtual ~ScOrcusConditionalFormat () override
 
virtual void set_color (orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override
 
virtual void set_formula (std::string_view formula) override
 
virtual void set_condition_type (orcus::spreadsheet::condition_type_t type) override
 
virtual void set_date (orcus::spreadsheet::condition_date_t date) override
 
virtual void commit_condition () override
 
virtual void set_icon_name (std::string_view name) override
 
virtual void set_databar_gradient (bool gradient) override
 
virtual void set_databar_axis (orcus::spreadsheet::databar_axis_t axis) override
 
virtual void set_databar_color_positive (orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override
 
virtual void set_databar_color_negative (orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override
 
virtual void set_min_databar_length (double length) override
 
virtual void set_max_databar_length (double length) override
 
virtual void set_show_value (bool show) override
 
virtual void set_iconset_reverse (bool reverse) override
 
virtual void set_xf_id (size_t xf) override
 
virtual void set_operator (orcus::spreadsheet::condition_operator_t condition_type) override
 
virtual void set_type (orcus::spreadsheet::conditional_format_t type) override
 
virtual void commit_entry () override
 
virtual void set_range (std::string_view range) override
 
virtual void set_range (orcus::spreadsheet::row_t row_start, orcus::spreadsheet::col_t col_start, orcus::spreadsheet::row_t row_end, orcus::spreadsheet::col_t col_end) override
 
virtual void commit_format () override
 

Private Attributes

SCTAB mnTab
 
ScDocumentmrDoc
 
std::unique_ptr< ScConditionalFormatmpCurrentFormat
 
ScFormatEntry::Type meEntryType
 

Detailed Description

Definition at line 127 of file orcusinterface.hxx.

Constructor & Destructor Documentation

ScOrcusConditionalFormat::ScOrcusConditionalFormat ( SCTAB  nTab,
ScDocument rDoc 
)

Definition at line 757 of file interface.cxx.

ScOrcusConditionalFormat::~ScOrcusConditionalFormat ( )
overridevirtual

Definition at line 765 of file interface.cxx.

Member Function Documentation

void ScOrcusConditionalFormat::commit_condition ( )
overridevirtual

Definition at line 792 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::commit_entry ( )
overridevirtual

Definition at line 886 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::commit_format ( )
overridevirtual

Definition at line 904 of file interface.cxx.

References mpCurrentFormat, mrDoc, and SAL_INFO.

void ScOrcusConditionalFormat::set_color ( orcus::spreadsheet::color_elem_t  alpha,
orcus::spreadsheet::color_elem_t  red,
orcus::spreadsheet::color_elem_t  green,
orcus::spreadsheet::color_elem_t  blue 
)
overridevirtual

Definition at line 769 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::set_condition_type ( orcus::spreadsheet::condition_type_t  type)
overridevirtual

Definition at line 775 of file interface.cxx.

References ScFormatEntry::Condition, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_databar_axis ( orcus::spreadsheet::databar_axis_t  axis)
overridevirtual

Definition at line 809 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_databar_color_negative ( orcus::spreadsheet::color_elem_t  alpha,
orcus::spreadsheet::color_elem_t  red,
orcus::spreadsheet::color_elem_t  green,
orcus::spreadsheet::color_elem_t  blue 
)
overridevirtual

Definition at line 822 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_databar_color_positive ( orcus::spreadsheet::color_elem_t  alpha,
orcus::spreadsheet::color_elem_t  red,
orcus::spreadsheet::color_elem_t  green,
orcus::spreadsheet::color_elem_t  blue 
)
overridevirtual

Definition at line 815 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_databar_gradient ( bool  gradient)
overridevirtual

Definition at line 803 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_date ( orcus::spreadsheet::condition_date_t  date)
overridevirtual

Definition at line 786 of file interface.cxx.

References ScFormatEntry::Date, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_formula ( std::string_view  formula)
overridevirtual

Definition at line 781 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::set_icon_name ( std::string_view  name)
overridevirtual

Definition at line 797 of file interface.cxx.

References ScFormatEntry::Iconset, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_iconset_reverse ( bool  reverse)
overridevirtual

Definition at line 846 of file interface.cxx.

References ScFormatEntry::Iconset, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_max_databar_length ( double  length)
overridevirtual

Definition at line 835 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_min_databar_length ( double  length)
overridevirtual

Definition at line 829 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_operator ( orcus::spreadsheet::condition_operator_t  condition_type)
overridevirtual

Definition at line 857 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::set_range ( std::string_view  range)
overridevirtual

Definition at line 891 of file interface.cxx.

References SAL_INFO.

virtual void ScOrcusConditionalFormat::set_range ( orcus::spreadsheet::row_t  row_start,
orcus::spreadsheet::col_t  col_start,
orcus::spreadsheet::row_t  row_end,
orcus::spreadsheet::col_t  col_end 
)
overridevirtual
void ScOrcusConditionalFormat::set_show_value ( bool  show)
overridevirtual

Definition at line 841 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::set_type ( orcus::spreadsheet::conditional_format_t  type)
overridevirtual

Definition at line 862 of file interface.cxx.

References ScFormatEntry::Condition, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_xf_id ( size_t  xf)
overridevirtual

Definition at line 852 of file interface.cxx.

References SAL_INFO.

Member Data Documentation

ScFormatEntry::Type ScOrcusConditionalFormat::meEntryType
private
SCTAB ScOrcusConditionalFormat::mnTab
private

Definition at line 181 of file orcusinterface.hxx.

std::unique_ptr<ScConditionalFormat> ScOrcusConditionalFormat::mpCurrentFormat
private

Definition at line 184 of file orcusinterface.hxx.

Referenced by commit_format().

ScDocument& ScOrcusConditionalFormat::mrDoc
private

Definition at line 182 of file orcusinterface.hxx.

Referenced by commit_format().


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