Using some certain functionalities provided by methods removed from API

Hi,

I need a little help with certain methods that were deprecated in a last few versions of your product (for Java), while in the very last version (22.7) they were removed from the API.

Specifically, we are talking about the methods setEnableHTTPCompression(boolean value) and setPdfExportImagesFolder(String value), both from the HtmlSaveOptions class.

In what way can I provide the mentioned functionalities, bearing in mind that they are no longer available as such?

Thanks!
Nenad

@zpredojevic,

Generally, when we obsolete a method, we either mention its new replacement or the API might not be usable anymore due to internal issues or other conditions. Could you please provide details where (in which Releases notes page(s) or in API reference) we declared these attributes were obsoleted?

@zpredojevic,
For SaveOptions.EnableHTTPCompression, please use Workbook.Save(System.Web.HttpResponse response, string fileName, ContentDisposition contentDisposition,SaveOptions saveOptions, bool enableHttpCompression) method instead. If you are using Java version, we are afraid there is no such one corresponding api and we don’t think this option of SaveOptions can take effect even in old versions.

For SaveOptions.PdfExportImagesFolder, we don’t think it can take effect in old versions. If you have example to show the difference made by this option, please provide us the example and we will look into it.

@Amjad_Sahi and @johnson.shi

These methods were deprecated back in version 20.3 (I don’t know about before), but as such were removed from the API in version 22.7 (so they were still present, as deprecated, in version 22.6).

If I manage to provide a suitable example, I will send it, and in the meantime I will try the solution you provided for httpCompression (using the save method of the given signature).

In case you come across any (other) solution, for any of these methods, please post here.

Thanks!
Nenad

@zpredojevic,

Sure, please take your time to compile an example to provide us, we will check it soon.