Free Support Forum - aspose.cloud

How to Convert Cells/Slides document URL to PDF in Java with Aspose Cloud APIs

I don’t see the ability to LoadWebDocument and save as a pdf for cells and slides but it exists for Word documents. Is there a reason this isn’t supported the feature would be make or break for our company wanting to user the product.

@pavlu

Thank you for contacting Aspose support.

Just to ensure we are on the same page, you want to save an Excel document and a PowerPoint document uploaded on the web in a PDF format? OR want to save a web page as Excel or PowerPoint document?

The following is the API Reference guide that lists down all APIs of Aspose.Cells and Aspose.Slides for Cloud.
https://apireference.aspose.cloud/cells/
https://apireference.aspose.cloud/slides/

There is a excel document hosted at a remote URL. I want to load that document and save it as a PDF. The Words API has a call /words/LoadWebDocument that does exactly this for word documents. I would like to know why that behavior doesn’t exist for cells (or if it does and I can’t find it) and slides.

On top of this the saveAs functionality for cells supports SaveFormat but the java client SaveOptions.class object doesn’t have a SaveFormat field.

@pavlu,

At present, Aspose.Cells and Aspose.Slides REST APIs do not provide a capability to download a document from a remote URL and save as PDF. I have logged a feature request in our internal tracking software to implement this feature.

But this should not be a bottleneck to use our APIs. You can simply download a document (from a remote URL) using any HTTP Client Library and save a document as PDF using following APIs.

Save PowerPoint presentation as PDF
POST /slides/{name}/saveAs/pdf

Save Excel document as PDF
POST /cells/{name}/SaveAs

We are investigating the issue in the Java SDK and fix it shortly. Thank you.