NumberingDefinitionsPart ndp = new NumberingDefinitionsPart();
wordMLPackage.getMainDocumentPart().addTargetPart(ndp);
ndp.unmarshalDefaultNumbering();
XHTMLImporterImpl xHTMLImporter = new XHTMLImporterImpl(wordMLPackage);
xHTMLImporter.setHyperlinkStyle("Hyperlink");
InputStream stream = new ByteArrayInputStream(xhtml.getBytes());
wordMLPackage.getMainDocumentPart().getContent().addAll(xHTMLImporter.convert(stream, null));
wordMLPackage.save(new File(fileNamePath));
// Construye la URL de acceso al informe PDF generado
URL url = new URL(workspace.getUrl());