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

Free Support Forum - aspose.com

Block loading of external files linked in xlsx

When converting xlsx to pdf, Aspose.Cells automatically loads any linked files, like images, that are not embedded inside xlsx. Is there any way to block that? Aspose.Words allows me to block them using ResourceLoadingCallback:

Document = new Aspose.Words.Document(fileStream, new LoadOptions(GetDocumentFormat(fileName), "", "")
                {
                    ResourceLoadingCallback = new ResourceLoader()
                });

@nklemen,

Thanks for providing us some details.

I am afraid, the feature is not currently supported. We have already logged a feature request with an id “CELLSNET-44353” for the task into our database. We have made some progress to accomplish the task. We are hopeful to complete it before the end of next month or so.

Please note, the ticket is logged as following:
CELLSNET-44353 - Support to control loading of external resources in Excel Workbook

Keep in touch.

Thank you.

@nklemen,

We are pleased to inform you that we have fixed your issue now. We have supported to control exporting resources to PDF with PdfSaveOptions.StreamProvider API.

Once the fix is available for public use, we will share the Download link here.

The issues you have found earlier (filed as CELLSNET-44353) have been fixed in Aspose.Cells for .NET 17.9.