Hi Team,
I have the following code that removes empty pages in document. But in one particular document , empty page (page number 3 ) is not getting removed. Providing the code for reference and attaching the document…...docx"); } private static boolean isSectionEmpty(NodeCollection...LayoutCollector(document); boolean lastPageEmpty = false; int...