mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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
6ad2983a79
commit
f98a0aa4df
@ -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…
x
Reference in New Issue
Block a user