https://issues.apache.org/bugzilla/show_bug.cgi?id=56549
Bug ID: 56549
Summary: Cell missings from table. But I found how fix it, FIX
IT! please)
Product: POI
Version: unspecified
Hardware: PC
Status: NEW
Severity: regression
Priority: P2
Component: HWPF
Assignee: [email protected]
Reporter: [email protected]
in file
apachePoi\src\scratchpad\src\org\apache\poi\hwpf\model\TextPieceTable.java
in next function
public int[][] getCharIndexRanges( int startBytePosInclusive,
int endBytePosExclusive )
{
List<int[]> result = new LinkedList<int[]>();
for ( TextPiece textPiece : _textPiecesFCOrder )
{
final int tpStart = textPiece.getPieceDescriptor()
.getFilePosition();
final int tpEnd = textPiece.getPieceDescriptor().getFilePosition()
+ textPiece.bytesLength();
if ( (startBytePosInclusive >= tpEnd) )
//HERE YOU HAVE ">" - it's wrong that's why sometimes the property "being end
of row" have not the last cell, but second counting from end. Can send you
example if i can see any react from you.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]