prevent extra text in field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147127 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3d59c2096
commit
285ee2ad58
@ -41,7 +41,12 @@ public class Field
|
|||||||
|
|
||||||
public int getEndOffset()
|
public int getEndOffset()
|
||||||
{
|
{
|
||||||
return endPlex.getFcEnd();
|
/*
|
||||||
|
* sometimes plex looks like [100, 2000), where 100 is the position of
|
||||||
|
* field-end character, and 2000 - some other char position, far away
|
||||||
|
* from field (not inside). So taking into account only start --sergey
|
||||||
|
*/
|
||||||
|
return endPlex.getFcStart() + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasSeparator()
|
public boolean hasSeparator()
|
||||||
|
Loading…
Reference in New Issue
Block a user