try to generate more excel compliant files, tdf#41722

§18.3.1.10 says for the operator attribute: "The operator in a "cell
value is" conditional formatting rule. This attribute is ignored if
type is not equal to cellIs"

but checking §18.18.15 there are at least 4 attribute values that are
not related to cellIs. I have added them now but need to test that this
really helps.

Change-Id: Id15efc7e0148b4e3b54404d1ffd911adc56b11ec
This commit is contained in:
Markus Mohrhard 2016-09-19 23:20:22 +02:00
parent 38a61ddaf6
commit 11370a0ce5

View File

@ -836,6 +836,18 @@ const char* GetOperatorString(ScConditionMode eMode, bool& bFrmla2)
case SC_COND_NOTDUPLICATE:
pRet = nullptr;
break;
case SC_COND_BEGINS_WITH:
pRet = "beginsWith";
break;
case SC_COND_ENDS_WITH:
pRet = "endsWith";
break;
case SC_COND_CONTAINS_TEXT:
pRet = "containsText";
break;
case SC_COND_NOT_CONTAINS_TEXT:
pRet = "notContains";
break;
case SC_COND_DIRECT:
break;
case SC_COND_NONE: