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 (const char *p, size_t n) 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 (const char *p, size_t n) 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 (const char *p, size_t n) 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 ( SCTAB  nTab,
ScDocument rDoc 
)

Definition at line 758 of file interface.cxx.

ScOrcusConditionalFormat::~ScOrcusConditionalFormat ( )
overridevirtual

Definition at line 766 of file interface.cxx.

Member Function Documentation

void ScOrcusConditionalFormat::commit_condition ( )
overridevirtual

Definition at line 793 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::commit_entry ( )
overridevirtual

Definition at line 887 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::commit_format ( )
overridevirtual

Definition at line 905 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 770 of file interface.cxx.

References SAL_INFO.

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

Definition at line 776 of file interface.cxx.

References assert(), ScFormatEntry::Condition, meEntryType, and SAL_INFO.

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

Definition at line 810 of file interface.cxx.

References assert(), 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 823 of file interface.cxx.

References assert(), 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 816 of file interface.cxx.

References assert(), ScFormatEntry::Databar, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_databar_gradient ( bool  gradient)
overridevirtual

Definition at line 804 of file interface.cxx.

References assert(), ScFormatEntry::Databar, meEntryType, and SAL_INFO.

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

Definition at line 787 of file interface.cxx.

References assert(), ScFormatEntry::Date, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_formula ( const char *  p,
size_t  n 
)
overridevirtual

Definition at line 782 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::set_icon_name ( const char *  p,
size_t  n 
)
overridevirtual

Definition at line 798 of file interface.cxx.

References assert(), ScFormatEntry::Iconset, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_iconset_reverse ( bool  reverse)
overridevirtual

Definition at line 847 of file interface.cxx.

References assert(), ScFormatEntry::Iconset, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_max_databar_length ( double  length)
overridevirtual

Definition at line 836 of file interface.cxx.

References assert(), ScFormatEntry::Databar, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_min_databar_length ( double  length)
overridevirtual

Definition at line 830 of file interface.cxx.

References assert(), ScFormatEntry::Databar, meEntryType, and SAL_INFO.

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

Definition at line 858 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::set_range ( const char *  p,
size_t  n 
)
overridevirtual

Definition at line 892 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 842 of file interface.cxx.

References SAL_INFO.

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

Definition at line 863 of file interface.cxx.

References ScFormatEntry::Condition, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_xf_id ( size_t  xf)
overridevirtual

Definition at line 853 of file interface.cxx.

References SAL_INFO.

Member Data Documentation

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

Definition at line 182 of file orcusinterface.hxx.

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

Definition at line 185 of file orcusinterface.hxx.

Referenced by commit_format().

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: