I have a usecase where I am getting an OCRed copy. All the header, footer and page number data has been converted into text. And it has broken the document formatting as well. Attaching a sample document for the referenc…...PARAGRAPH, true)) { bodyText.append(((Paragraph) node)...of how to apply a style to paragraphs: Document doc = new Docu...