I can't find a way to set the font style and size for the word paragraphs and runs converted from some XHTML text.
- Code: Select all
getMainDocumentPart().addAltChunk(AltChunkType.Xhtml, xhtml.getBytes(), cell);
For sure I could do this after convertAltChunks() by going to target word elements and then set font, but I think there should be a smarter way I didn't find.
Any help is appreciated. Thanks.
David Z.