I have a document file (DOCX) in which I am inserting the content of an RTF file after using
DocumentBuilder.insertDocument(rtfDoc, ImportFormatMode), I want to to set the font size of the inserted content.
I tried using DocumnetBuilder.getFont().setSize(10), but it does not work.
Please suggest which API to use to set the font size of the inserted content.
I have attached the RTF file.