English

Create Excel Workbook in Java using Apache POI

In our previous article, we went through the details of Apache POI, an open-source Java API for working with Microsoft file formats. In this article, we’ll go through the Apache POI component for working with Excel Workbooks. We will also show how to use Apache POI to create an Excel file and add sheets to it using this Java library. Apache POI Java APIs for Accessing Excel File Formats Apache POI Java API provides separate components for working with two different Excel file formats.
August 2, 2023 · 4 min · Kashif Iqbal

Apache POI – Open-Source Java Library for Microsoft Office File Formats

Apache POI (Poor Obfuscation Implementation) is a popular open-source Java library developed by the Apache Software Foundation. POI stands for “Poor Obfuscation Implementation” humorously referencing Microsoft’s proprietary binary file formats. The main purpose of Apache POI is to provide Java developers with a set of APIs that allows them to read, write, and manipulate various Microsoft Office file formats, such as Excel spreadsheets (.xls and .xlsx), Word documents (.doc and .
August 1, 2023 · 4 min · Kashif Iqbal

How to Align text in Word Documents Programmatically

Simplify Word Document text alignment. Learn programmatic alignment with FileFormat.Words API – open-source and robust. Enhance your formatting now. Overview Welcome to another tutorial where we will delve into the world of .NET with FileFormat.Words. In this article, our focus will be on aligning text in Word documents programmatically.Aligning text in Word documents programmatically can be a powerful way to customize the appearance of your documents directly from your .NET applications.
August 1, 2023 · 3 min · Fahad Adeel

Read and Extract Text from Word Documents in Java

Being a Java application developer who builds document processing applications, you may be interested in providing the capability of reading Word documents in your Java application and extracting text from these documents programmatically. You can leverage the power of DOCX4J API to read DOCX files and extract text from these files from your Java application. In this article, we are going to show how to use DOCX4J API to achieve our goal of working with DOCX files for the extraction of text.
July 30, 2023 · 2 min · Kashif Iqbal

Create Word DOCX Files in Java with DOCX4J API

Microsoft Word’s DOCX format stands out as one of the most popular choices for creating rich and dynamic documents. While manual document creation through Word’s graphical interface is convenient, it might not always be feasible or efficient, especially when dealing with large-scale or repetitive tasks. This is where programmatic document generation comes into play. By leveraging the power of Java and the DOCX4J library, developers can automate the process of creating Word DOCX files, allowing for seamless integration into their applications and systems.
July 29, 2023 · 3 min · Kashif Iqbal

DOCX4J – A Java API for Microsoft Open XML Files

DOCX4J is an open-source free-to-use Java API for creating and manipulating Microsoft Office file formats. It lets you create and update Microsoft OpenXML file formats i.e. Word DOCX, PowerPoint PPTX, and Excel XLSX. DOCX4J uses JAXB (Java™ Architecture for XML Binding) for creating in-memory representation of corresponding objects. Key Features of DOCX4J API for Java DOCX4J supports working with DOCX, PPTX, and XLSX files in a number of ways. The following are key features of DOCX4J API.
July 26, 2023 · 3 min · Kashif Iqbal

How to format Word Documents programmatically

Programmatic Word Document Formatting Made Simple. Learn how to format documents in Word programmatically using the powerful open-source API, FileFormat.Words. Overview Welcome to another tutorial where we dive into the world of .NET with FileFormat.Words. In this article, we will focus on formatting Word documents programmatically using the capabilities of FileFormat.Words. With this comprehensive library, you can efficiently tailor the structure and style of your documents directly from your .NET applications.
July 25, 2023 · 4 min · Fahad Adeel

How to Insert Paragraph in Word Documents

Install this open-source C# library to insert text into Word documents programmatically. FileFormat.Words is an OpenXML-based API for word document automation. Overview MS Word documentation automation is no longer a difficult task after the advent of this open-source C# library. FileFormat.Words is a robust .NET library powered by OpenXML. This open-source .NET API is a free library built to create and manipulate Word documents programmatically. Moreover, it not only lets users add paragraphs but also lets users add other elements such as Tables, Images, and more.
July 21, 2023 · 4 min · Muhammad Mustafa

Convert Images to PDF in C# with iTextPdf

Images are an effective way to visualize data and make documents look more informative. PDF files are one of the widely used document file formats for sharing information and content. As a .NET application developer, you would like to add the functionality of converting different types of images such as PNG, JPG, BMP, and GIF to PDF file format using C# in your application. In this article, we’ll show how to convert images to PDF using iTextPDF for .
July 21, 2023 · 4 min · Kashif Iqbal

Password Protect PDF Files using C#

Ensuring the security of our sensitive information has become more crucial than ever before. Whether you’re dealing with confidential reports, legal contracts, or important business documents, it’s vital to safeguard your PDF files from prying eyes. As a .NET application developer, you can use iTextPdf API in your C# application to password-protect your PDF files. Introduction to iTextPdf for .NET and its Role in PDF Manipulation and Security iTextPdf is a powerful and widely used library in C# that provides extensive capabilities for working with PDF files.
July 19, 2023 · 3 min · Kashif Iqbal