En

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

Password Protection of PowerPoint Presentations in Java

Protection is important for confidential and private documents. In this article, we will see how to lock PowerPoint presentation files with a password in Java. Further, we will learn to unlock presentation files by removing their password and also how to change the existing password of PPT & PPTX files.
February 10, 2022 · 3 min · Shoaib Khan

Convert AutoCAD DWG Drawings to PDF in Java

CAD stands for Computer-Aided Design. It is used to create 2D and 3D architectural designs, computer animations, special effects in movies, technical drawings, and much more. PDF is one of the most well-known file formats that is famous due to its portability. Here comes the need to convert CAD files to PDF format when such technical drawings are to be transferred to a normal user who is not equipped with the technical software that supports CAD drawings. This article will help programmers to add the feature to convert different CAD formats like DWG, DGN, or DWF into PDF in Java applications.
February 8, 2022 · 3 min · Shoaib Khan

How to Edit Excel Files using C#

The most common and widely used spreadsheet file formats are XLS, XLSX, and ODS. The famous Microsoft Excel and OpenOffice Calc support these formats and we normally use these formats for maintaining accounts and different spreadsheets. Therefore, as a developer, we widely need to edit Excel files within our applications programmatically. In this article, we will discuss how to edit Excel files in C# using the .NET API.
February 6, 2022 · 3 min · Shoaib Khan

How to Rearrange Pages in Word using C#

In the digital world, word processing documents are one of the most commonly used file formats that are used to create and edit documents. While dealing with large documents, it is really not easy to move pages without losing the formatting. Formatting loss often happens when we try to combine multiple documents of different types or we simply merge the same type of files into one single document. In order to rearrange the pages, this article discusses, how to programmatically move pages in Word documents (DOC/DOCX) using C#.
February 5, 2022 · 2 min · Shoaib Khan

Word Search and Replace Text in Word Documents using Java

In one of the articles, we have already discussed how to redact words in documents as a .NET developer. The strategy is used in many ways to erase sensitive content, hide or remove private information like email addresses or identification numbers. This article discusses how to perform word search in Word DOC/DOCX documents in Java. We will separately discuss how to find and replace the text, words, or phrases with different techniques using Java API for redaction.
February 4, 2022 · 4 min · Shoaib Khan

How to Password Protect and Remove Protection from Word Documents in Java

Earlier we restricted the access to PDF documents by applying passwords. In this article, we will see how to password protect Word documents in Java. Further, we will also learn to change the existing password of DOC & DOCX files, and lastly, how to remove the password protection to unlock Word documents within the Java applications.
February 2, 2022 · 3 min · Shoaib Khan

Remove MP3 Tags in Java

When the metadata is not really required, you can eliminate it. In this article, we will learn how to programmatically remove different MP3 tags in Java. Precisely, we will see the removal of ID3v1, ID3v2, Lyrics, and APEv2 metadata tags from mp3 files within the Java application. The following topics are covered below:

  • Java API for MP3 tags * Remove MP3 ID3 Tags - ID3, Lyrics, APE * Java Code - Remove MP3 Metadata Example
January 30, 2022 · 3 min · Shoaib Khan