LibreOffice Module sc (master)  1
Public Types | Public Member Functions | Public Attributes | List of all members
oox::xls::CondFormatRuleModel Struct Reference

Model for a single rule in a conditional formatting. More...

#include <condformatbuffer.hxx>

Public Types

typedef ::std::vector< ApiTokenSequenceApiTokenSequenceVector
 

Public Member Functions

 CondFormatRuleModel ()
 In average rules: True = include average, false = exclude. More...
 
void setBiffOperator (sal_Int32 nOperator)
 Sets the passed BIFF operator for condition type cellIs. More...
 
void setBiff12TextType (sal_Int32 nOperator)
 Sets the passed BIFF12 text comparison type and operator. More...
 

Public Attributes

ApiTokenSequenceVector maFormulas
 
OUString maText
 Formulas for rule conditions. More...
 
sal_Int32 mnPriority
 Text for 'contains' rules. More...
 
sal_Int32 mnType
 Priority of this rule. More...
 
sal_Int32 mnOperator
 Type of the rule. More...
 
sal_Int32 mnTimePeriod
 In cell-is rules: Comparison operator. More...
 
sal_Int32 mnRank
 In time-period rules: Type of time period. More...
 
sal_Int32 mnStdDev
 In top-10 rules: True = bottom, false = top. More...
 
sal_Int32 mnDxfId
 In average rules: Number of std deviations. More...
 
bool mbStopIfTrue
 Differential formatting identifier. More...
 
bool mbBottom
 True = stop evaluating rules, if this rule is true. More...
 
bool mbPercent
 In top-10 rules: True = bottom, false = top. More...
 
bool mbAboveAverage
 In top-10 rules: True = percent, false = rank. More...
 
bool mbEqualAverage
 In average rules: True = above average, false = below. More...
 

Detailed Description

Model for a single rule in a conditional formatting.

Definition at line 44 of file condformatbuffer.hxx.

Member Typedef Documentation

Definition at line 46 of file condformatbuffer.hxx.

Constructor & Destructor Documentation

oox::xls::CondFormatRuleModel::CondFormatRuleModel ( )
explicit

In average rules: True = include average, false = exclude.

Definition at line 392 of file condformatbuffer.cxx.

References mnPriority, and XML_TOKEN_INVALID.

Member Function Documentation

void oox::xls::CondFormatRuleModel::setBiff12TextType ( sal_Int32  nOperator)

Sets the passed BIFF12 text comparison type and operator.

Definition at line 416 of file condformatbuffer.cxx.

References mnOperator, mnType, STATIC_ARRAY_SELECT, and XML_TOKEN_INVALID.

Referenced by oox::xls::CondFormatRule::importCfRule().

void oox::xls::CondFormatRuleModel::setBiffOperator ( sal_Int32  nOperator)

Sets the passed BIFF operator for condition type cellIs.

Definition at line 408 of file condformatbuffer.cxx.

References mnOperator, STATIC_ARRAY_SELECT, and XML_TOKEN_INVALID.

Referenced by oox::xls::CondFormatRule::importCfRule().

Member Data Documentation

ApiTokenSequenceVector oox::xls::CondFormatRuleModel::maFormulas
OUString oox::xls::CondFormatRuleModel::maText

Formulas for rule conditions.

Definition at line 49 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

bool oox::xls::CondFormatRuleModel::mbAboveAverage

In top-10 rules: True = percent, false = rank.

Definition at line 60 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

bool oox::xls::CondFormatRuleModel::mbBottom

True = stop evaluating rules, if this rule is true.

Definition at line 58 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

bool oox::xls::CondFormatRuleModel::mbEqualAverage

In average rules: True = above average, false = below.

Definition at line 61 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

bool oox::xls::CondFormatRuleModel::mbPercent

In top-10 rules: True = bottom, false = top.

Definition at line 59 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

bool oox::xls::CondFormatRuleModel::mbStopIfTrue

Differential formatting identifier.

Definition at line 57 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::importCfRule().

sal_Int32 oox::xls::CondFormatRuleModel::mnDxfId

In average rules: Number of std deviations.

Definition at line 56 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

sal_Int32 oox::xls::CondFormatRuleModel::mnOperator
sal_Int32 oox::xls::CondFormatRuleModel::mnPriority
sal_Int32 oox::xls::CondFormatRuleModel::mnRank

In time-period rules: Type of time period.

Definition at line 54 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

sal_Int32 oox::xls::CondFormatRuleModel::mnStdDev

In top-10 rules: True = bottom, false = top.

Definition at line 55 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

sal_Int32 oox::xls::CondFormatRuleModel::mnTimePeriod

In cell-is rules: Comparison operator.

Definition at line 53 of file condformatbuffer.hxx.

Referenced by oox::xls::CondFormatRule::finalizeImport(), and oox::xls::CondFormatRule::importCfRule().

sal_Int32 oox::xls::CondFormatRuleModel::mnType

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