Losing cells borders on convertion to Pdf

Hi

When we convert Excel file to Pdf, some cells borders are losing. Native Excel convertion works fine.
That behavior reproduces at Конвертируйте XLSM в PDF онлайн бесплатно and in code with latest Aspose.Cells.

Sample code:
var loadOptions = new LoadOptions(FileFormatUtil.DetectFileFormat(filename).LoadFormat);
using var workbook = new Workbook(filename, loadOptions);

var saveOptions = new PdfSaveOptions();
var resultFilename = Path.ChangeExtension(filename, “.pdf”);
workbook.Save(resultFilename, saveOptions);

Excel file:
Source.zip (11.9 KB)

Converted file with Aspose:
Dest_Aspose.pdf (26.0 KB)

Converted file with Excel:
Dest_Excel.pdf (155.5 KB)

@directum,

Thanks for the template file and output PDF files.

Please notice, I am able to reproduce the issue as you mentioned by converting your template file to PDF. I found some cell borders are lost in Excel to PDF conversion. I have logged a ticket with an id “CELLSNET-51736” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@directum,

This is to inform you that your issue has been resolved. The fix will be included in the next official release (Aspose.Cells v22.9) which is scheduled to be released in the second week of September 2022. You will also be notified when the next version is published.

The issues you have found earlier (filed as CELLSNET-51736) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi