Hi,
I created a simple document with Pivot Table in *.xlsx and *.xlsb format. It’s the same document converted from *.xlsx to *.xlsb by Excel, but Aspose.Cells returns different state for ‘IsRepeatItemLabels’ field in row, column and page fields.
ColumnField - ‘Region’, RowField - ‘Product’, PageField - ‘Mar’
*.xlsx
IsRepeatItemLabels = true
*.xlsb
IsRepeatItemLabels = false
PivotFieldCollection pfc = pt.RowFields; // the same for ‘ColumnFields’ and ‘PageFields’
for (int i = 0; i < pfc.Count; i++)
{
PivotField pf = pfc[i];
// my inner printing method
printLine(“IsRepeatItemLabels”, pf.IsRepeatItemLabels.ToString(), SPACE4);
}
I use Excel 2010 and Aspose.Cells v7.3.5.1.
Best regards,
Alex Shloma