Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-123

Throw IndexOutOfBoundsException when call OdfTableCellRange.merge()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • odfdom-0.8.5
    • odfdom-0.8.7
    • java
    • 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.

      Attachments

        Activity

          People

            svanteschubert@odftoolkit.org Svante Schubert
            devin@odftoolkit.org devin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: