Is there any way to set the font name for the default styles such as Title, Normal and Heading1?
Currently I am doing:
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage();
MainDocumentPart mp = wordMLPackage.getMainDocumentPart ();
// Sort out the styles.
StyleDefinitionsPart sdp = mp.getStyleDefinitionsPart ();
Map<String, Style> styles = sdp.getKnownStyles ();
Style titleS = styles.get (NORMAL);
if (titleS != null)
{
// Get the rpr.
RPr rpr = titleS.getRPr ();
if (rpr == null)
{
rpr = ...