Build 4.0.0.95 of xlsgen adds support for setting the layout of new pivot tables, particularly whether they are compact, in outline or tabular. Choosing between the three alters the display for improving, if used correctly, the reading experience of the data in the pivot table, particularly hierarchically oriented data.
A new property is introduced in pivot table options, namely Layout, which takes an
enum as value.
pivotTable.Options.Layout = pivottablelayout_outline;
and that's it.