SUM(ABOVE) functionality in apache poi or docx4j
问题 I am trying to implement =SUM(ABOVE) function in docx which is used to sum all elements above to tht column. I was able to implement this with apache poi using : CTSimpleField sumAbove = paragraphInCell.getCTP().addNewFldSimple(); sumAbove.setInstr("=SUM(ABOVE)"); //set sum field dirty, so it must be calculated while opening the document sumAbove.setDirty(STOnOff.TRUE); This is ok when someone opens the document and it calculates it. But if I need to convert the document without opening it to