Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
odfdom-0.8.5
-
None
-
Operating System: Windows
Platform: PC
-
192
Description
please read the following code. the table size is 1*1.
(1)OdfTableCellRange range=table.getCellRangeByPosition("A1", "E1");
(2)range.merge();
When run (1), a new range will be create and auto expand function will be used.
Then when run (2), a exception will be thrown: IndexOutOfBoundsException("Start index out of bound").
Obviously, the table doesn't have a right size.