Use this command for automatically fit height of rows to content.
jx:autoRowHeight(lastCell="A2")
lastCell: area end
jx:autoRowHeight is part of jxls-poi and is only available if you use JxlsPoiTemplateFillerBuilder or add the AutoRowHeightCommand using withCommand().
This command is a community contribution.