Convert FODS to XPS in the Cloud
Convert Excel & OpenOffice spreadsheets with open source Cloud SDK for Android
FODS to XPS Conversion in Android Apps
- Create an account at Dashboard to get free API quota & authorization details
- Initialize
CellsApi
with Client Id, Client Secret, Base URL & API version - Upload FODS file to default Cloud Storage with
CellsApiUtil.Upload
method - Call
CellsApi.cellsWorkbookGetWorkbook
to get the resultant XPS file
Get Started with Excel REST API
Get Excel Cloud SDK for ANDROID source code from GitHub to compile the SDK yourself or head to the Releases for alternative download options.
Also have a look at Swagger-based API Reference to know more about the Excel REST API.
Android: FODS to XPS Conversion
// 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 = "XPS";
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 XPS 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 MD, CSV, TSV, FODS, PDF, XLS, XLSB, XLSX, SVG, TXT, DIF, MHTML, XPS, XLTM, XML, XLTX 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 XPS that I can try?Indeed! Checkout the FODS to XPS 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 MoreXPS What is XPS File Format?
An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. It was developed as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. It is, in fact, more justified to say that XPS is an attempt on PDF, but couldn’t get enough popularity as owned by PDF for many reasons. Microsoft provides XPS Document Writer by default from Windows 7 onwards for the creation of XPS files. XPS files can be generated by selecting the “Microsoft XPS Document Writer” as printer while printing the document.
Read More