We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problem converting xslx file


I use Aspose.Cells( version) component for converting xslx to xps.
I have next problems with converting:

1) Incorrect scaling of images saved on excel sheet(see attached ImageScalingStyles.xlsx and ImageScalingStyles.xps)

2) 3D surface charts are skipped when document is converted to XPS(see attached 3Dsurface.xlsx and 3Dsurface.xps)

3) Conditional formating colors are skipped when document is converted
to XPS(see attached ImageScalingStyles.xlsx and ImageScalingStyles.xps)

4) Documents containing several work sheets and large amount of rows
(see attached XLSX_Small_charts.xlsx) are converted incorrectly. Some
pages contain error message:

Failed to Render Page

An internal error has occurred.

Description: An exception occurred during the rendering of this page.
Please review the stacktrace for more information about the error.

Exception Details:

FirstFloor.Documents.IO.XpsClientException: An internal error has occurred. —> System.NullReferenceException: [Arg_NullReferenceException]


Debugging resource strings are unavailable. Often the key and arguments
provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.61118.00&File=mscorlib.dll&Key=Arg_NullReferenceException

at FirstFloor.Documents.IO.LoadFixedPageCompletedEventArgs.RenderFixedPage()

— End of inner exception stack trace —

at FirstFloor.Documents.IO.LoadFixedPageCompletedEventArgs.RenderFixedPage()

sender, LoadFixedPageCompletedEventArgs e)

Version Information: FirstFloor.Documents, Version=, Culture=neutral, PublicKeyToken=null, FileVersion=2.0.8.

Sample xlsx files and result xps are in attach.


We found an issue while converting your attached Excel files. I have logged a ticket with an id: CELLSNET-40258. We will look into your issues and get back to you soon.

Thank you.

Please try the latest version: v7.1.0:

Please note:
1) 3D surface chart is not supported at the moment, we may support it later on.
2) We fixed the color issue, the image scaled is caused by default language setting.
3) We do not reproduce the 3rd issue, please try the latest fix, if issue still exists, please send us the wrong XPS.

Thank you.