
Import and Export Excel Spreadsheets in Java
Seamlessly import and export Excel-compatible XLSX files with no Excel dependency

Workbooks and Worksheets
Create, import, export, use passwords, add sheets, cut and copy ranges, copy and move worksheets, activate, configure, delete, protect, and add iterative calculations.

Templates
GcExcel introduces new templates support with comprehensive syntax and API to bind Excel documents to data and generate Excel reports with advanced layouts. With flexible syntax and easy notations for data expansion and formulas, the new template syntax and API will make it easy to define Excel templates and generate Excel reports supporting numerous use cases.

Formulas (450+ Excel Functions) and Custom Functions
Use hundreds of built-in functions and operators to perform complex calculations, add external formulas, or build your own custom functions and create what you need

Formula Parser
Create, parse and modify formulas with GrapeCity.Documents.Excel.
Expressions namespace to parse the formula expressions into syntax tree.

Range Operations
Execute operations on cells, rows or columns in Java Excel documents with the help of Range property of the iWorksheet interface.

Dynamic Array Formula
Use 7 new Dynamic Array Formula functions to return multiple values on a range of cells.

Fonts
Create, initialize and use the FontCollection class to manage and use when rendering texts to PDF documents.

Formatting Cells
GcExcel provides many properties for fill, borders, and formatting to customize the appearance of a range.

Tables
Manage Tables independently in Excel worksheets, format rows & columns, perform calculations for a specific table range.

Conditional Formatting
Create conditional formatting rules for individual cells or a range of cells based on cell values in your Java spreadsheet.

Data Validation
Validate data by restricting the information format and the values that can be entered in cells of a worksheet. Create distinct validation scenarios for individual cells or for a range of cells.

Formulas
Create and use 450+ in-built functions formulas that let you calculate the value of a cell quickly and accurately. You can also use built-in functions and operators to generate formulas and calculate values in cells.

Grouping
Summarise large amounts of information in groups so that complex spreadsheets are easier to navigate. You can expand and collapse details with the click of a button in the group header row.

Cell Rich Text
Apply rich text formatting in the cells of the worksheet.

Custom Functions
Create your own custom functions, allowing you to easily create any custom arithmetic logic you may need.

Data binding
GcExcel supports one-way data binding with cell, sheet and Table binding in Java Excel spreadsheets.

Find and replace
Find and replace text in Excel workbook with different options.

Image Exporting
Explore complete code demonstrating how to export sheet/range/shape/chart to image files at server side.

Page Setup
Specify page setup attributes (left margin, bottom margin, paper size, and so on) on Excel workbook.

PDF Exporting
Export Excel .xlsx spreadsheets to PDF at server side with various PDF options.

Filtering
GcExcel supports all types of filters which you can apply on selected range of data.

Sorting
GcExcel provides the Sort method to perform data sorting based on a range of cells, range by value, color or icon in a worksheet. The Apply method is used to apply the selected sort state and display the results.

Charts
GcExcel provides a comprehensive charting API to add charts to your Java Excel spreadsheets.

Shape
Embed drawing objects like shapes and pictures in the cells of a worksheet. You can insert arrows, lines, charts, slicers, pictures, and general shapes.

Picture
Add a picture to a worksheet, use the AddPicture method of the worksheet's Shapes collection to create, delete, cut, copy and duplicate pictures in the worksheet.

Slicer
Slicers are visual filters that you can use to filter a table or pivot table. GcExcel supports adding both built-in and custom slicer styles in Excel workbook.

Comments
GcExcel enables users to annotate worksheets, write comments for cells to add information about the data it contains.

Hyperlinks
Export a Java spreadsheet directly to HTML files with various Html options to preserve the formatting of Excel content into HTML files.

Theme
GcExcel provides you with a set of built-in themes so you can quickly change the overall appearance of a workbook. It also lets you create custom themes and apply them to workbooks.

SpreadJS Viewer
Examples in this folder demonstrate how to use GrapeCity Documents for Excel and SpreadJS. GrapeCity Documents for Excel works on the server side to import and export Excel template files. Spread.Sheets works in the browser (client side) as a viewer or editor.

SpreadJS Feature Support
GcExcel adds support for SpreadJS features adding more compatibility with the client-side SpreadJS product. View complete supported features list here.

Showcase
Explore complete code demonstrating how to generate an Excel file, or you may have your own Excel files and just want to open and update some of its contents at server side.

Quick Start
In this tutorial, we create a real-life scenario with GrapeCity Documents for Excel to give you a fundamental understanding of what it can do.

Import data
New ImportData() function to import just the data from Excel files without loading the whole object model.

Threaded comments
Add reply, delete threaded comments, move to next comment, move to previous comment and more such operations

Linked Picture (Camera shape/snapshot)
A linked picture can be created to the actual data/table/chart in your final dashboard.

Workbook views
Programmatically set three predefined views, Normal, Page Layout and Page Break Preview.

Print Excel file to printer (Windows)
Directly print Excel file to printer using interfaces IWorkbook. PrintOut and IWorksheet.PrintOut

Convert Table to range
Use ITable.ConvertToRange() to convert Table to range programmatically.

CSV Parser
Use ICsvParser to parse data as per your own rules.