diff options
Diffstat (limited to 'sc/inc/conditio.hxx')
-rw-r--r-- | sc/inc/conditio.hxx | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index 24c42ffbe703..3d22a16c7d33 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -85,6 +85,20 @@ enum class ScConditionMode EndsWith, ContainsText, NotContainsText, + Formula, + Today, + Yesterday, + Tomorrow, + Last7days, + ThisWeek, + LastWeek, + NextWeek, + ThisMonth, + LastMonth, + NextMonth, + ThisYear, + LastYear, + NextYear, NONE }; @@ -169,6 +183,48 @@ inline std::basic_ostream<charT, traits> & operator <<(std::basic_ostream<charT, case ScConditionMode::NotContainsText: stream << "NOTCONTAINSTEXT"; break; + case ScConditionMode::Formula: + stream << "FORMULA"; + break; + case ScConditionMode::Today: + stream << "TODAY"; + break; + case ScConditionMode::Yesterday: + stream << "YESTERDAY"; + break; + case ScConditionMode::Tomorrow: + stream << "TOMORROW"; + break; + case ScConditionMode::Last7days: + stream << "LAST7DAYS"; + break; + case ScConditionMode::ThisWeek: + stream << "THISWEEK"; + break; + case ScConditionMode::LastWeek: + stream << "LASTWEEK"; + break; + case ScConditionMode::NextWeek: + stream << "NEXTWEEK"; + break; + case ScConditionMode::ThisMonth: + stream << "THISMONTH"; + break; + case ScConditionMode::LastMonth: + stream << "LASTMONTH"; + break; + case ScConditionMode::NextMonth: + stream << "NEXTMONTH"; + break; + case ScConditionMode::ThisYear: + stream << "THISYEAR"; + break; + case ScConditionMode::LastYear: + stream << "LASTYEAR"; + break; + case ScConditionMode::NextYear: + stream << "NEXTYEAR"; + break; case ScConditionMode::NONE: stream << "NONE"; break; |