Author Archives: 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.

Posted in GroupDocs.Redaction Product Family | Tagged , , , , , ,

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's 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.

Posted in GroupDocs.Viewer Product Family | Tagged , , ,

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.

Posted in GroupDocs.Conversion Product Family | Tagged , , , , , ,

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.

Posted in GroupDocs.Merger Product Family | Tagged , , , , ,

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#.

Posted in GroupDocs.Viewer Product Family | Tagged , ,

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#.

Posted in GroupDocs.Merger Product Family | Tagged , ,

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#.

Posted in GroupDocs.Redaction Product Family | Tagged , , , ,

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.

Posted in GroupDocs.Redaction Product Family | Tagged , , , , , ,

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.

Posted in GroupDocs.Merger Product Family | Tagged , , , ,