I'm getting the following errors when parsing a word doc. The file was created in Word 2010.
*ERROR* PropertyResolver: style: BodyText has no PPr (PropertyResolver.java, line 634)
I see the relevant code in docx4j but i'm not sure the significance of these errors.
- Code: Select all
PPr expressPPr = s.getPPr();
if (expressPPr==null) {
log.error("style: " + styleId + " has no PPr");
String normalId = this.styleDefinitionsPart.getDefaultParagraphStyle().getStyleId();
resolvedPPr = resolvedStylePPrComponent.get(normalId);
return resolvedPPr;
}
Its unclear to me why the file would be missing PPr data.
I attached the relevant word doc.
Thanks,
Jeff