Hello,
We use docx4j to merge multiple word documents. We need to know the font of a specific content , to be precise a paragraph. When I try to retrieve the fonts using the RPr fonts inside the content I am getting RprFonts as null. Is there any API for that?
Secondly, when I list the all the fonts used in the doc using mdp.getFontTablePart().getContents(), I am getting the default fonts as well. Is there a way to exclude the default fonts.
Thirdly, can I get a mapping between part and font like the font in header, footer, numbering part etc.
Your help will be very much appreciated.
Thanks,
Lakshmi