Incorrect saving from XLSX to PDF (builder.SaveFile as PDF)

Report a bug:

In documentbuilder version 7.4.0.166, the following problem has appeared: when changing the size of columns and rows in xlsx, saving to pdf does not work correctly.

For example, next code:

builder.SetTmpFolder("./Temp");

builder.OpenFile("Test.xlsx");
var oSheet = Api.GetActiveSheet();

oSheet.GetRange("B1").SetColumnWidth(20);
oSheet.GetRange("A2").SetRowHeight(50);
oSheet.GetRange("A4").SetRowHeight(0);

builder.SaveFile("xlsx", "./Test_result.xlsx");
builder.SaveFile("pdf","./Test_result.pdf");

builder.CloseFile();

As a result, we will get the correct new xlsx file (Test_result.xlsx ), but in the pdf file (Test_result.pdf), the sizes of columns and rows will not be changed

In documentbuilder version 7.2.0.204, this worked correctly

I uploaded archives with examples of results for different versions to disk:
https://drive.google.com/drive/folders/1oZjeIArL1WMGd-YZ20apBMtTUKDltRCf?usp=sharing

DocumentBuilder version: 7.4.0.166

ps: in the desktop editor (“ONLYOFFICE Desktop Editors version 7.4.0.163”) everything is saved in pdf correctly

Hello @Alex2022
thank you for detailed description, we are checking the situation.

Dear @Alex2022
Sorry for the late reply.
We have found a bug in the described scenario. We have started working on it.
Thank you for valuable data!