Last Updated:
21 Jun 2023 10:56
by ADMIN
SpreadProcessing: Handle files with xf elements with out-of-range number format id
In the styles part of the xlsx file there is a cellXfs collection which contains xf elements. Each xf element has a numFmtId attribute which has to refer to an entry in the numFmts collection. Some libraries produce files with numFmtId's which are not valid but Excel handles such situations. SpreadProcessing throws KeyNotFoundException on import.