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

Constructor & Destructor Documentation

ScOrcusConditionalFormat::ScOrcusConditionalFormat ( SCTAB  nTab,
ScDocument rDoc 
)

Definition at line 728 of file interface.cxx.

ScOrcusConditionalFormat::~ScOrcusConditionalFormat ( )
overridevirtual

Definition at line 736 of file interface.cxx.

Member Function Documentation

void ScOrcusConditionalFormat::commit_condition ( )
overridevirtual

Definition at line 763 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::commit_entry ( )
overridevirtual

Definition at line 857 of file interface.cxx.

References SAL_INFO.

void ScOrcusConditionalFormat::commit_format ( )
overridevirtual

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

References SAL_INFO.

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

Definition at line 746 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 780 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 793 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 786 of file interface.cxx.

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

void ScOrcusConditionalFormat::set_databar_gradient ( bool  gradient)
overridevirtual

Definition at line 774 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 757 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 752 of file interface.cxx.

References SAL_INFO.

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

Definition at line 768 of file interface.cxx.

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

void ScOrcusConditionalFormat::set_iconset_reverse ( bool  reverse)
overridevirtual

Definition at line 817 of file interface.cxx.

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

void ScOrcusConditionalFormat::set_max_databar_length ( double  length)
overridevirtual

Definition at line 806 of file interface.cxx.

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

void ScOrcusConditionalFormat::set_min_databar_length ( double  length)
overridevirtual

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

References SAL_INFO.

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

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

References SAL_INFO.

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

Definition at line 833 of file interface.cxx.

References ScFormatEntry::Condition, meEntryType, and SAL_INFO.

void ScOrcusConditionalFormat::set_xf_id ( size_t  xf)
overridevirtual

Definition at line 823 of file interface.cxx.

References SAL_INFO.

Member Data Documentation

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

Definition at line 169 of file orcusinterface.hxx.

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

Definition at line 172 of file orcusinterface.hxx.

Referenced by commit_format().

ScDocument& ScOrcusConditionalFormat::mrDoc
private

Definition at line 170 of file orcusinterface.hxx.

Referenced by commit_format().


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