double getCellWidth(ExcelCell cell) { final content = cell.content; if (content == null) return 0.0; final style = cell.style; return content.textSize(style).width; }