You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/05/20 15:54:56 UTC
[Bug 56549] New: Cell missings from table. But I found how fix it,
FIX IT! please)
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: dev@poi.apache.org
Reporter: korvin.lucky@gmail.com
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org