Implementing Online Preview for PDF and Excel Files in Java
New Requirement
Recently, a new requirement emerged where previously downloadable PDF and Excel files now need to support inline preview functionality instead of direct downloads.
The frontend team encountered challenges when reviewing existing code. Previously, both download and preview endpoints returned binary streams direct to the frontend. ...
Posted on Tue, 06 Oct 2026 16:02:34 +0000 by BRUm
Converting Excel Files to DataTables in C#
In .NET enterprise development, converting Excel files to DataTable objects is a common requirement. DataTable serves as a versatile in-memory data structure for subsequent validation, persistance, and presentation operations.
Install the Free Spire.XLS for .NET library via NuGet Package Manager:
Right-click project → Manage NuGet Packages
Sea ...
Posted on Mon, 05 Oct 2026 16:34:55 +0000 by squimmy
Loading Excel Data into Pandas DataFrames
Reading Excel Files
Use pandas' read_excel() function to load data from Excel files. Excel workbooks often contain multiple sheets, so reading involves specifying both the file path and the target sheet. While you can load multiple sheets simultaneously, this typically returns a dictionary of DataFrames, which complicates subsequent operations. ...
Posted on Sat, 03 Oct 2026 16:22:23 +0000 by maxxd
Converting Excel Spreadsheets to Markdown Tables in C#
When maintaining technical documentation or managing datasets, converting tabular data from Excel into Markdown format is a frequent requirement. This allows for seamless integration into static site generators, wikis, or project repositories. Automating this process with C# provides a robust solution for handling recurring conversion tasks. Th ...
Posted on Sat, 26 Sep 2026 16:21:46 +0000 by toms100
Exporting Excel Files to HTTP Response Stream Using Java POI
Exporting data to Excel is a common business requirement. In most cases, simple formatting is sufficient, so there are several viable solutions available. Some implementations are quite straightforward.
I. Available Solutions
Currently, we can consider several categories of solutions:
Solutions provided by word processing enterprises -- This ...
Posted on Tue, 22 Sep 2026 16:27:19 +0000 by Verminox
Programmatically Configure Excel Page Layout and Print Settings in C#
When generating Excel reports programmatically, ensuring consistent and professional print formatting is often overlooked—yet critical for enterprise-grade outputs. This guide demonstrates how to precisely control page layout, margins, scaling, and print regions in C# using the Free Spire.XLS library, enabling fully automated, repeatable docume ...
Posted on Sat, 19 Sep 2026 16:00:33 +0000 by willeadie
Programmatically Removing Blank Rows and Columns from Excel in Java
In data processing workflows, Excel files frequently accumulate unnecessary empty rows and columns due to data modification or extraction. This guide demonstrates how to utilize the Free Spire.XLS for Java library to identify and remove these blank elements programmatically, ensuring cleaner datasets for analysis.
Dependency Configuration
To in ...
Posted on Wed, 16 Sep 2026 16:41:30 +0000 by Benjamin
Managing Excel Formulas with Java using Spire.XLS
This guide demonstrates how to programmatically add and retreive Excel formulas within a Java application using the Spire.XLS library.
Project Setup
Before you begin, download the Free Spire.XLS for Java package. After extraction, add the Spire.Xls.jar file from the lib folder to your project's build path. Alternatively, you can entegrate it vi ...
Posted on Sat, 12 Sep 2026 16:23:39 +0000 by wblati
Implementing Excel Import and Export with Apache POI
In many business application developments, there's often a need to implement Excel import and export functionality. This article provides a comprehensive guide on how to accomplish this using Apache POI, a popular Java library for working with Microsoft Office documents.
Apache POI Overview
Microsoft Excel has long been a preferred tool for dat ...
Posted on Sat, 12 Sep 2026 16:07:26 +0000 by lesmith
Parsing Excel Files to JSON with Node.js and node-xlsx
To handle Excel files in Node.js, install the node-xlsx package using npm.
npm install node-xlsx
The node-xlsx library proivdes two primary functions: parse() for reading Excel files and build() for creating them. The parse() method accepts a file path and returns an array of objects representing the workbook's sheets.
To convert an Excel file ...
Posted on Fri, 04 Sep 2026 16:21:29 +0000 by bigfatpig