}
+ if (parentPAP == null) {
+ parentPAP = new ParagraphProperties();
+ }
+
pap = ParagraphSprmUncompressor.uncompressPAP(parentPAP, papx, 2);
sd.setPAP(pap);
}
extractor.getParagraphText();
extractor.getTextFromPieces();
}
+
+ public void testBug50688() throws Exception {
+ WordExtractor extractor =
+ new WordExtractor(POIDataSamples.getDocumentInstance().openResourceAsStream("parentinvguid.doc"));
+
+ // Check it gives text without error
+ extractor.getText();
+ }
+
}