Removing Empty Paragraphs

GroupDocs.Assembly for Java API supports the removal of paragraphs becoming empty after template syntax tags are removed or replaced with empty values. A new member **REMOVE_EMPTY_PARAGRAPHS **is added to DocumentAssemblyOptions. When this new option is applied to DocumentAssembler options through DocumentAssembler.setOptions(), the engine additionally removes empty paragraphs.

Removing Empty Paragraphs in Word Processing Document 

The Code

Download

Removing Empty Paragraphs in Presentation Document 

The Code

Download

Removing Empty Paragraphs in Email Document 

The Code

Download

© Aspose Pty Ltd 2001-2022. All Rights Reserved.