English

How to Rearrange PDF Pages in Java

PDF is among one of the most in-use portable file formats. For large documents, it is always challenging to change the order of pages with losing the formatting. This article discusses, how to rearrange PDF pages programmatically in Java.
March 10, 2022 · 2 min · Shoaib Khan

Word Search and Replace Text in PDF in Java

Templates are widely used to generate personalized documents by replacing the template keys with respective values. This article guides about how to find and replace text and words in PDF documents in Java. We will separately discuss how to perform words and phrases search, case-sensitive word search, replacing the found text using regular expressions. Finally, we will learn how to hide the searched part of text using Java.
March 8, 2022 · 4 min · Shoaib Khan

Render Word documents as Minified HTML in Java

HTML minification improves the web application performance with efficient load time and bandwidth usage. Unnecessary parts of code, insignificant white spaces, comments, semicolons, color values in the HTML and CSS are optimized in the minification process. Let us automate the process to get rid of the unwanted code and improve efficiency within your Java applications. In order to improve the performance, this article discusses how to render Word documents to minified HTML in Java.
March 4, 2022 · 2 min · Shoaib Khan

Convert PDF to Grayscale in Java

Almost any document or image format (including images) can be converted to a black-and-white or grayscale monochrome image. In this article, we will discuss how to convert color PDF documents to grayscale JPG and PNG image formats in Java.
March 2, 2022 · 3 min · Shoaib Khan

How to Rearrange Pages in Word using Java

Word processing documents are one of the most common file formats that are used to draft documents. While dealing with multiple large files, it is never easy to move pages without losing the formatting. In order to rearrange the pages, this article discusses, how to programmatically move pages in the Word documents (DOC/DOCX) in Java.
March 1, 2022 · 2 min · Shoaib Khan

Render Word documents as Clean HTML using C#

Cleaning and Minification of HTML improve the load time and bandwidth usage of the webpages. It is observed that some unnecessary code is injected when one document is converted to HTML format using some tools. You can get rid of this unwanted code within your .NET applications. This article discusses how to render Word documents to minified HTML using C#.
February 25, 2022 · 2 min · Shoaib Khan

How to Rearrange PDF Pages using C#

In this digital era, PDF is one of the most used file formats and is popular due to its portability. On the other hand, most of the time we can not edit the PDF files. When we merge multiple documents and pages together to form a combined comprehensive document, it often happens that we finish combining the pages in the wrong order. This article discusses, how to rearrange PDF pages programmatically using C#.
February 22, 2022 · 2 min · Shoaib Khan

Find and Replace Text in PDF using C#

Templates are widely used to generate customized documents. This article guides about how to find and replace text and words in PDF documents using C#. We will separately discuss how to programmatically replace words and phrases, replacement of words with case-sensitive search, replacing using regular expressions. Finally, we will also learn how to hide the searched string using C#.
February 19, 2022 · 4 min · Shoaib Khan

Find and Replace Words in Word Documents using C#

There could be many reasons to replace a word or phrase in the document. Whether you want to erase the sensitive content before publically sharing the document or you want to hide/remove all the private information like email IDs or Social Security Numbers, you need to redact the document content. This article guides you on how to redact Word documents programmatically in your .NET applications using C#. We will separately discuss how to redact by hiding the text and how to find and replace the text, words, or phrases using different techniques.
February 15, 2022 · 4 min · Shoaib Khan

Read MP3 Tags in Java - (ID3, Lyrics, APE)

Metadata variants are attached with documents of different file formats. MP3 files commonly contain ID3 metadata tags. This article discusses how to read different MP3 tags in Java. One by one, we will see how to extract ID3 (IDEv1, ID3v2), Lyrics, and APEv2 metadata tags from the mp3 files using Java Metadata API.
February 12, 2022 · 3 min · Shoaib Khan