Build 3.5.0.46 of xlsgen makes it possible to format tables using one line of code, from the built-in table styles.
Table formattingAnd here is how to achieve this :
worksheet.NewRange("R3C2:R5C5").NewTable().DataResults.Style.BuiltinStyle = enumTableStyle::tablestyle_medium03;