项目作者: aspose-cells-cloud

项目描述 :
Android SDK for communicating with the Aspose.Cells REST APIs. Create, Edit & Convert Excel files in the Cloud from Android apps.
高级语言: Java
项目地址: git://github.com/aspose-cells-cloud/aspose-cells-cloud-android.git
创建时间: 2018-09-20T02:13:05Z
项目社区:https://github.com/aspose-cells-cloud/aspose-cells-cloud-android

开源协议:MIT License

下载


GitHub license

Android Cloud SDK for Spreadsheet Processing

Android Cloud SDK wraps Aspose.Cells Cloud API. The SDK enhances your Android apps to process & manipulate Microsoft Excel spreadsheets in the cloud, without requiring Microsoft Office®.

Excel® File Manipulation in the Cloud

  • Create Excel files from scratch via API or Smart Markers.
  • Load, process & convert Excel files via Cloud SDK.
  • Add, update or delete worksheet, charts, pictures, shapes, hyperlinks & validations.
  • Add or remove cells area for conditional formatting from Excel worksheets.
  • Insert or delete, horizontal or vertical page breaks.
  • Add ListObject or convert ListObjects to a range of cells.
  • Summarize data with Pivot Tables & Excel charts.
  • Apply custom criteria to list filters of various types.
  • Get, update, show or hide chart legend & titles.
  • Manipulate page setup, header & footer.
  • Create, update, fetch or delete document properties.
  • Fetch the required shape from worksheet.
  • Leverage the power of named ranges.

Feature & Enhancements in Version 22.12

  • Support chart axis operations.

Read & Write Spreadsheet Formats

Microsoft Excel: XLS, XLSX, XLSB, XLSM, XLT, XLTX, XLTM
OpenOffice: ODS
SpreadsheetML: XML
Text: CSV, TSV, TXT (TabDelimited)
Web: HTML, MHTML

Save Spreadsheets As

Microsoft Excel: XLS, XLSX, XLSB
OpenOffice: ODS
SpreadsheetML: XML
Text: CSV, TSV, TXT (TabDelimited)
Web: HTML, MHTML
Fixed Layout: PDF, XPS
Images: PNG, JPG, TIFF, SVG
Markdown: MD
Other: DIF

Read Other Formats

SXC, FODS

Integrated Storage API

SDK includes support of storage operations for better user experience and unification. It gives you an ability to;

  • Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default).
  • Create, copy, move and delete folders.
  • Copy and move files and folders across separate storages in scope of a single operation.
  • Check if certain file, folder or storage exists.

Get Started with Aspose.Cells Cloud SDK for Android

First, create an account at Aspose for Cloud and get your application information. Then, add the following dependency to your project’s POM:

  1. <repositories>
  2. <repository>
  3. <id>AsposeJavaAPI</id>
  4. <name>Aspose Java API</name>
  5. <url>https://repository.aspose.cloud/repo/</url>
  6. </repository>
  7. </repositories>
  1. <dependencies>
  2. <dependency>
  3. <groupId>com.aspose</groupId>
  4. <artifactId>aspose-cells-cloud-android</artifactId>
  5. <version>20.10</version>
  6. </dependency>
  7. </dependencies>

Add Worksheet to an Excel File from Android App

  1. CellsApi cellsApi = new CellsApi(CellsApiUtil.GetClientId(),CellsApiUtil.GetClientSecret())
  2. String name = BOOK1;
  3. String sheetName = SHEET1;
  4. Integer position = 1;
  5. String sheettype ="VB";
  6. String folder = TEMPFOLDER;
  7. cellsApi.uploadFile(folder +"\\" + filename, new File(sourceFolder + filename), null);
  8. WorksheetsResponse response = cellsApi.cellsWorksheetsPutAddNewWorksheet(name, sheetName, position, sheettype, folder,null);

Convert Excel File in the Cloud

  1. String name = BOOK1;
  2. SaveOptions saveOptions = null;
  3. String newfilename = "newbook.xlsx";
  4. Boolean isAutoFitRows = true;
  5. Boolean isAutoFitColumns = false;
  6. String folder = TEMPFOLDER;
  7. // Upload source file to aspose cloud storage
  8. cellsApi.uploadFile(folder +"\\" + filename, new File(sourceFolder + filename), null);
  9. // Invoke Aspose.Cells Cloud SDK API to convert excel workbook to different format
  10. SaveResponse response = cellsApi.cellsSaveAsPostDocumentSaveAs(name, saveOptions, newfilename, isAutoFitRows, isAutoFitColumns, folder,null);
.NET Java PHP Python Ruby Node.js Swift Perl GO
GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM POD CPAN GO

Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial