Page break changes after workbook.Combine()

Hi,

I have an excel file (t.xlsx attached) with one sheet where there is only one page to print. After execution of the code below it gets auto page break splitting the sheet into two print pages. We use v.6.0.1.7 but it is reproducible on the latest v.7.1.2.0 as well.

string templatePath = "t.xlsx";
string genericTemplatePath = "ut.xlsm";
string resultPath = "result.xlsx";
var t = new Aspose.Cells.Workbook(templatePath);
var gt = new Aspose.Cells.Workbook(genericTemplatePath);
gt.Combine(t);
gt.Save(resultPath, Aspose.Cells.SaveFormat.Xlsx);

Could you please look into this issue.

Thanks,
Leo

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

We were able to reproduce this problem using the latest version:
Aspose.Cells
for .NET v7.1.2.5



We have logged this issue in our database. Development team will investigate the issue and once the issue is fixed or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSNET-40549.

Please see the screenshot for a reference. I have also attached the output xlsx file.

Screenshot:

Hi,

Please download and try latest version:

Aspose.Cells for .NET 7.2.0