ignore PAPX if they references non-existing text parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143069 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a9dbb3be09
commit
fa46737e44
@ -68,7 +68,10 @@ public class PAPBinTable
|
||||
for (int y = 0; y < fkpSize; y++)
|
||||
{
|
||||
PAPX papx = pfkp.getPAPX(y);
|
||||
_paragraphs.add(papx);
|
||||
|
||||
//we don't need PAPX if they are references nowhere
|
||||
if (tpt.isIndexInTable( papx.getStartBytes() ))
|
||||
_paragraphs.add(papx);
|
||||
}
|
||||
}
|
||||
_dataStream = dataStream;
|
||||
|
Loading…
Reference in New Issue
Block a user