Hi,
We have found new issue with condition formatting when deleting the rows/columns.
If the worksheet has condition formatting formula $A1 = True with area A1:C5
when we delete the row 1 then This formula become #REF!=TRUE. It should be A1=True.
I have attached the sample code and test worksheet for your reference.
@Test
public void test1() throws Exception {
Workbook wb = new Workbook(“c:\testconditionformatting.xlsx”);
Worksheet ws = wb.getWorksheets().get(0);
String formula1 = ws.getConditionalFormattings().get(0).get(0).getFormula1(); // return $A1=TRUE
ws.getCells().deleteRows(0,1,true);
String formula11 = ws.getConditionalFormattings().get(0).get(0).getFormula1(); // return #REF!=TRUE… should be $A1=true
}
Thanks
puva