Working with Microsoft Office Files Using Apache POI in Java

Apache POI is a Java library for reading and writing Microsoft Office binary and OOXML file formats. This article covers the necessary Maven dependencies, a summary of its components, and practical code examples for creating Excel workbooks. Maven Dependencies Include the following dependencies for Excel (XLS and XLSX), Word, PowerPoint, Visio, ...

Posted on Sat, 23 May 2026 17:39:53 +0000 by douga

Magicodes.ExporterAndImporter: A .NET Library for Excel Import and Export Operations

Generic Import/Export Library Magicodes.ExporterAndImporter is a generic import/export library developed by the Xinlai team, which is continuously being refined and improved. GitHub Repository: https://github.com/xin-lai/Magicodes.ExporterAndImporter Features Provides encapsulation for import/export operations, currently supporting Excel only ...

Posted on Fri, 22 May 2026 17:34:06 +0000 by alecodonnell

Java Excel Export Utility Class

Refined an earlier utility class for exporting data to Excel format. Key Features: Supports header generation directly from class fields Data list accepts List<custom objects/primitive types/String> Utility uses varargs for flexible input handling Non-custom objects support nested lists like List<List<String>>, future enhance ...

Posted on Wed, 20 May 2026 20:08:46 +0000 by info@ipfaces.org

Common Data Persistence Methods in Python

Python offers a variety of mechanisms to persist data, each suited for different formats, use cases, and performance requirements. Below is a comprehensive overview of the most widely used approaches, with practical examples. CSV Files CSV is a lightweight, human-readable format ideal for tabular data. The standard library provides csv, while p ...

Posted on Wed, 20 May 2026 18:30:47 +0000 by vikramjeet.singla

Building an API Automation Framework with Excel and Requests

Framework Overview Managing API test cases across multiple endpoints often leads to scattered Python files that become difficult to maintain. When an API changes, developers must locate and update corresponding test files individually. This framework addresses the problem by centralizing test data in Excel files, allowing test case updates with ...

Posted on Tue, 19 May 2026 11:53:19 +0000 by phphelpme

Extracting Web Table Data and Exporting to Excel Using a Tampermonkey Script

Often we need to download tabular data displayed on a web page as an Excel file. When the site does not provide a suitable download option, a custom script can be used to gather the data and export it. Using a Tampermonkey (userscript) makes it easy to share the solution with others. Below are two practical approaches: one that simulates manual ...

Posted on Sun, 17 May 2026 06:41:49 +0000 by WendyB

Reading Excel Files in Python with openpyxl

Excel Structure Basics An Excel file with the .xlsx extension represents a workbook. Within a workbook, you can have multiple worksheets, and the currently active worksheet is accessed via the active property. Each workshete contains rows (numbered 1, 2, 3...) and columns (lettered A, B, C...). The intersection of a specific row and column form ...

Posted on Sat, 16 May 2026 05:38:10 +0000 by the apprentice webmaster

Enable Text Wrapping in Excel Cells Using Apache POI in Java

Enabling Text Wrapping in Excel Cells with Apache POI Apache POI provides robust capabilities for manipulating Microsoft Office documents, including Excel spreadsheets. When working with Excel files programmatically, enabling automatic text wrapping within cells ensures that lengthy content remains readable without being truncated. Implementati ...

Posted on Thu, 14 May 2026 12:18:57 +0000 by atticus

Merging and Unmerging Excel Cells Using Java

Cell merging in Excel combines two or more adjacent cells in the same row or column into a single cell. This article demonstrates how to use Free Spire.XLS for Java to merge and unmerge cells in Excel spreadsheets. Prerequisites: Download Free Spire.XLS for Java and extract the package. Add the Spire.Xls.jar file from the lib folder as a depen ...

Posted on Wed, 13 May 2026 21:35:13 +0000 by dallasx

Persisting Excel Edits in OnlyOffice via Automated Callback Processing

Containerized deployment docker run -i -t -d -p 80:80 --name onlyoffice onlyoffice/documentserver Verify the service by accessing the server address in a browser. Locking specific cells Open the Excel workbook, select all cells (Ctrl+A) and open the Format Cells dialog (Ctrl+1). On the Protection tab, uncheck the Locked option. Individually s ...

Posted on Wed, 13 May 2026 20:21:42 +0000 by lol