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 128 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusConditionalFormat()

ScOrcusConditionalFormat::ScOrcusConditionalFormat ( SCTAB  nTab,
ScDocument rDoc 
)

Definition at line 780 of file interface.cxx.

◆ ~ScOrcusConditionalFormat()

ScOrcusConditionalFormat::~ScOrcusConditionalFormat ( )
overridevirtual

Definition at line 788 of file interface.cxx.

Member Function Documentation

◆ commit_condition()

void ScOrcusConditionalFormat::commit_condition ( )
overridevirtual

Definition at line 815 of file interface.cxx.

References SAL_INFO.

◆ commit_entry()

void ScOrcusConditionalFormat::commit_entry ( )
overridevirtual

Definition at line 909 of file interface.cxx.

References SAL_INFO.

◆ commit_format()

void ScOrcusConditionalFormat::commit_format ( )
overridevirtual

Definition at line 927 of file interface.cxx.

References mpCurrentFormat, mrDoc, and SAL_INFO.

◆ set_color()

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 792 of file interface.cxx.

References SAL_INFO.

◆ set_condition_type()

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

Definition at line 798 of file interface.cxx.

References ScFormatEntry::Condition, meEntryType, and SAL_INFO.

◆ set_databar_axis()

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

Definition at line 832 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

◆ set_databar_color_negative()

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 845 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

◆ set_databar_color_positive()

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 838 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

◆ set_databar_gradient()

void ScOrcusConditionalFormat::set_databar_gradient ( bool  gradient)
overridevirtual

Definition at line 826 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

◆ set_date()

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

Definition at line 809 of file interface.cxx.

References ScFormatEntry::Date, meEntryType, and SAL_INFO.

◆ set_formula()

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

Definition at line 804 of file interface.cxx.

References SAL_INFO.

◆ set_icon_name()

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

Definition at line 820 of file interface.cxx.

References ScFormatEntry::Iconset, meEntryType, and SAL_INFO.

◆ set_iconset_reverse()

void ScOrcusConditionalFormat::set_iconset_reverse ( bool  reverse)
overridevirtual

Definition at line 869 of file interface.cxx.

References ScFormatEntry::Iconset, meEntryType, and SAL_INFO.

◆ set_max_databar_length()

void ScOrcusConditionalFormat::set_max_databar_length ( double  length)
overridevirtual

Definition at line 858 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

◆ set_min_databar_length()

void ScOrcusConditionalFormat::set_min_databar_length ( double  length)
overridevirtual

Definition at line 852 of file interface.cxx.

References ScFormatEntry::Databar, meEntryType, and SAL_INFO.

◆ set_operator()

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

Definition at line 880 of file interface.cxx.

References SAL_INFO.

◆ set_range() [1/2]

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

◆ set_range() [2/2]

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

Definition at line 914 of file interface.cxx.

References SAL_INFO.

◆ set_show_value()

void ScOrcusConditionalFormat::set_show_value ( bool  show)
overridevirtual

Definition at line 864 of file interface.cxx.

References SAL_INFO.

◆ set_type()

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

Definition at line 885 of file interface.cxx.

References ScFormatEntry::Condition, meEntryType, SAL_INFO, and type.

◆ set_xf_id()

void ScOrcusConditionalFormat::set_xf_id ( size_t  xf)
overridevirtual

Definition at line 875 of file interface.cxx.

References SAL_INFO.

Member Data Documentation

◆ meEntryType

ScFormatEntry::Type ScOrcusConditionalFormat::meEntryType
private

◆ mnTab

SCTAB ScOrcusConditionalFormat::mnTab
private

Definition at line 182 of file orcusinterface.hxx.

◆ mpCurrentFormat

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

Definition at line 185 of file orcusinterface.hxx.

Referenced by commit_format().

◆ mrDoc

ScDocument& ScOrcusConditionalFormat::mrDoc
private

Definition at line 183 of file orcusinterface.hxx.

Referenced by commit_format().


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