do not interrupt if unable to process document title / meta(s)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
583fb49254
commit
812f583412
@ -605,11 +605,20 @@ public abstract class AbstractWordConverter
|
|||||||
|
|
||||||
public void processDocument( HWPFDocumentCore wordDocument )
|
public void processDocument( HWPFDocumentCore wordDocument )
|
||||||
{
|
{
|
||||||
final SummaryInformation summaryInformation = wordDocument
|
try
|
||||||
.getSummaryInformation();
|
|
||||||
if ( summaryInformation != null )
|
|
||||||
{
|
{
|
||||||
processDocumentInformation( summaryInformation );
|
final SummaryInformation summaryInformation = wordDocument
|
||||||
|
.getSummaryInformation();
|
||||||
|
if ( summaryInformation != null )
|
||||||
|
{
|
||||||
|
processDocumentInformation( summaryInformation );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch ( Exception exc )
|
||||||
|
{
|
||||||
|
logger.log( POILogger.WARN,
|
||||||
|
"Unable to process document summary information: ", exc,
|
||||||
|
exc );
|
||||||
}
|
}
|
||||||
|
|
||||||
final Range docRange = wordDocument.getRange();
|
final Range docRange = wordDocument.getRange();
|
||||||
|
Loading…
Reference in New Issue
Block a user