Spire.Spreadsheet is a powerful component to view spreadsheet. As a standalone spreadsheet class library, Spire.Spreadsheet is a companion component to Spire.XLS, which mainly focus on how to display spreadsheet.

Sun Apr 22, 2018 9:55 am

Hey!

Spreadsheet1.load('Test-Original.xlsx')
Spreadsheet1.SaveToFile("Test-Export.xlsx")
Spreadsheet1.SaveToFile("Test-Export.pdf", Spire.Xls.FileFormat.PDF)

1.) The "Test-Original.xlsx" has a header with a LOGO
2.) The "Test-Export.xlsx" has lost the LOGO
3.) The "Test-Export.pdf" is damaged.

Do you have any help?

GHWels
 
Posts: 75
Joined: Sun Nov 23, 2014 7:22 pm

Mon Apr 23, 2018 5:55 am

Hello,

Thanks for your inquiry and sorry for late reply as weekend.
I did notice the header information lost issue with an old Spire.SpreadSheet, sorry for that. And I can confirm the issue doesn't exist in the latest Spire.Office Platinum Version:3.0 which contains the latest Spire.SpreadSheet.dll 2.3.1. Please reference the four dlls (Spire.Spreadsheet.dll Spire.XLS.dll Spire.Pdf.dll Spire.License.dll) from Spire.Office package and try again. As for the damaged issue, Spire.SpreadSheet doesn't support converting to other formats like PDF, you should use the function of Spire.Xls to do conversion such as below. If there is still any issue, please provide your "Test-Original.xlsx" for testing.
Code: Select all
Workbook wb = new Workbook();
wb.LoadFromFile("Test-Original.xlsx'");
wb.SaveToFile("Test-Export.pdf", Spire.Xls.FileFormat.PDF);

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 965
Joined: Tue Sep 27, 2016 1:06 am

Mon Apr 23, 2018 10:09 am

Hey Nina!
Thank you for your fast help.
GH

GHWels
 
Posts: 75
Joined: Sun Nov 23, 2014 7:22 pm

Tue Apr 24, 2018 1:37 am

Hi GH,

Thanks for your quick response.
I am wondering if your issues have been fixed in the latest Spire.Office? Could you please give us some feedback at your convenience? Thanks in advance.

Best wishes,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 965
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.Spreadsheet

cron