在云端将 FODS 转换为 XLSM
使用适用于 Android 的开源 Cloud SDK 转换 Excel 和 OpenOffice 电子表格
Android 应用程序中 FODS 到 XLSM 的转换
- 创建一个帐户仪表板获取免费API配额和授权详细信息
- 使用客户端 ID、客户端密钥、基本 URL 和 API 版本初始化
CellsApi
- 使用
CellsApiUtil.Upload
方法将 FODS 文件上传到默认云存储 - 致电
CellsApi.cellsWorkbookGetWorkbook
获取生成的 XLSM 文件
开始使用 Excel REST API
获取 Excel Cloud SDK for ANDROID 源代码GitHub自己编译 SDK 或前往发布以获得替代下载选项。
另请查看基于 Swagger 的API 参考了解更多关于Excel 休息 API.
Android:FODS 到 XLSM 转换
// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-android/
try {
CellsApi api = new CellsApi(CellsApiUtil.GetClientId(), CellsApiUtil.GetClientSecret(), CellsApiUtil.GetAPIVersion(), CellsApiUtil.GetBaseUrl());
String name = BOOK1;
String password = null;
Boolean isAutoFit = true;
Boolean onlySaveTable = true;
String format = "XLSM";
String folder = TEMPFOLDER;
CellsApiUtil.Upload(api, folder, name);
File response = api.cellsWorkbookGetWorkbook(name, password, format, isAutoFit, onlySaveTable, folder, null, null);
}
catch (Exception e) {
e.printStackTrace();
}
FAQ
-
How can I get started with Aspose.Cells REST APIs?Quickstart not only guides through the initialization of Aspose.cells Cloud API, it also helps in installing the required libraries.
-
Where can I see the release notes for Aspose.Cells Cloud API?Complete release notes can be reviewed at Aspose.Cells Cloud Documentation.
-
Is it safe to convert FODS to XLSM in the Cloud?Of course! Aspose Cloud uses Amazon EC2 cloud servers that guarantee the security and resilience of the service. Please read more about Aspose's Security Practices.
-
What file formats are supported by Aspose.Cells Cloud API?Aspose.Cells Cloud can convert FODS to TIFF, CSV, XLSM, DIF, XLTX, HTML, TXT, FODS, XLSX, XLTM, SVG, XML, XPS, MD, MHTML, XLSB and more. Checkout the complete list of supported file formats.
-
I can not find the SDK for my favorite language. What should I do?Aspose.Cells Cloud is also available as a Docker Container. Try using it with cURL in case your required SDK is not available yet.
-
I do not have time to set up. Is there a quick demo for FODS to XLSM that I can try?Indeed! Checkout the FODS to XLSM Conversion App.
Other Conversion Options
FODS What is FODS File Format?
A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. The format is specified as part of ODF 1.2 specifications published and maintained by OASIS. FODS files cannot be opened with Excel, another Spreadsheet software application by Microsoft. FODS files can be saved as ODS using LibreOffice and can be converted to other formats such as XLS and XLSX.
Read MoreXLSM What is XLSM File Format?
Files with XLSM extension is a type of Spreadsheet files that support Macros. From application point of view, a Macro is set of instructions that are used for automating processes. A macro is used to record the steps that are performed repeatedly and facilitates performing the actions by running the macro again. Macros are programmed with Microsoft’s Visual Basic for Applications (VBA) from within the Excel Workbook using the Visual Basic Editor and can be run/debug directly from there.
Read More