Handle Empty Paragraphs using GroupDocs.Assembly for Java 18.10

Document Assembly APIWe are excitedly announcing the monthly release of GroupDocs.Assembly for Java 18.10. Using the latest version, you can now remove empty paragraphs in word processing, presentation, and email documents. We recommend you to install the latest version of the API for a better user experience.

Features Introduced

While assembling a document, if syntax tags are removed or replaced with empty values, the output document will have empty paragraphs. In version 18.10, we have introduced a new member REMOVE_EMPTY_PARAGRAPHS in DocumentAssemblyOptions. When this option is applied using DocumentAssembler.setOptions(), the engine additionally removes empty paragraphs. You can use this option for the following document types:
  • Word Processing Document
  • Presentation Document
  • Email Document

Use Case

Template document.
Result document without the new option applied.
Result document when the new option, REMOVE_EMPTY_PARAGRAPHS is applied.
For more details on this feature, please visit this documentation article.

Available Channels and Resources

Here are a few channels and resources for you to download, try, learn and get technical support on GroupDocs.Assembly for Java:


We always love to hear your valuable feedback. Share your suggestions, questions, or queries related to GroupDocs.Assembly for Java at our forum.