1 Star 0 Fork 0

凡是无绝对/Aspose.Cells-for-Java

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

GitHub release (latest by date) GitHub all releases GitHub

Java API for Excel File Formats

Aspose.Cells for Java is an award-winning Excel Spreadsheet Processing API that allows Java developers to embed the ability to read, write and manipulate Excel® spreadsheets (XLS, XLSX, XLSM, XLSB, XLTX, SpreadsheetML, CSV, ODS), HTML, MHTML, PDF, and image file formats into their own Java applications without needing to rely on Microsoft Excel®.

Directory Description
Examples A collection of Java examples that help you learn the product features.
Examples.GridWeb A collection of Java examples that help you learn and explore Aspose.GridWeb features.
Plugins Plugins that will demonstrate one or more features of Aspose.Cells for Java.

Download Aspose.Cells for Java Examples, Plugins and Showcases

Excel File Processing Features

Document Features

  • Open Plain or Encrypted Excel files (Excel97, Excel2007/2010/2013) from different sources.
  • Save Excel files (Excel97- Excel2007/2010/2013) in various supported formats.
  • Convert Excel files & spreadsheets to various supported formats.
  • Convert to Tagged Image File Format (TIFF).
  • Read and Write OpenDocument Spreadsheet (ODS) format.
  • Modify the document properties of Excel files.

Worksheet Features

  • Make Worksheet visible or hidden.
  • Ability to show or hide worksheet tabs, scroll bars, gridlines & headers.
  • Apply worksheet zoom level.
  • Keep the selected data visible while scrolling in freeze panes.
  • Ability to preview worksheet page breaks.
  • Protection support for worksheet content, objects as well as scenarios.
  • Perform and apply page setup configuration to worksheets.
  • Perform various actions on individual or group of rows and columns.

Data Management Features

  • Insert data in specific cells at runtime.
  • Fetch data from various data soures and import into worksheets.
  • Retrieve data from cells based on their datatype.
  • Get data from worksheet cells and export to array.
  • Apply conditional formatting.
  • Perform numerous formatting actions on data, such as, font setting.

Charting & Graphics Features

  • Supports creating various kinds of charts.
  • Add custom charts to the worksheet.
  • Add pictures to worksheets at the runtime.
  • Ability to print worksheets.

Advanced Features

  • Use robust Formula Calculation Engine to support formula calculation.
  • Manipulate VBA code or Macros.
  • Create pivot tables as well as change its source data at runtime.

Read & Write Spreadsheet Formats

Microsoft Excel: XLS, XLSX, XLSB, XLT, XLTX, XLTM, XLSM, XML
OpenOffice: ODS
Text: CSV, TSV
Web: HTML, MHTML
Numbers: Apple's iWork office suite Numbers app documents

Save Excel Files As

Fixed Layout: PDF, PDF/A, XPS
Data Interchange: DIF
Images: JPEG, PNG, BMP, SVG, TIFF, EMF, GIF

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 7.0 (1.7), or above

Get Started with Aspose.Cells for Java

Aspose hosts all Java APIs at the Aspose Repository. You can easily use Aspose.Cells for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.Cells for Java from Maven Repository documentation page.

Convert Table to Range with Options using Java

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// The path to the documents directory.
String dataDir = Utils.getSharedDataDir(ConvertTableToRangeWithOptions.class) + "Tables/";
// Open an existing file that contains a table/list object in it
Workbook workbook = new Workbook(dataDir + "book1.xlsx");

TableToRangeOptions options = new TableToRangeOptions();
options.setLastRow(5);

// Convert the first table/list object (from the first worksheet) to normal range
workbook.getWorksheets().get(0).getListObjects().get(0).convertToRange(options);

// Save the file
workbook.save(dataDir + "ConvertTableToRangeWithOptions_out.xlsx");

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

The MIT License (MIT) Copyright (c) 2001-2016 Aspose Pty Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fish-ssh/Aspose.Cells-for-Java.git
git@gitee.com:fish-ssh/Aspose.Cells-for-Java.git
fish-ssh
Aspose.Cells-for-Java
Aspose.Cells-for-Java
master

搜索帮助