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

OdfTable.newTable(OdfDocument, int, int) failed for spreadsheet document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • simple-odfdom-0.8
    • odfdom-0.8.7
    • java
    • None
    • Operating System: All
      Platform: PC
    • 145

    Description

      Created an attachment (id=193)
      A patch to reproduce this issue

      After using table API "OdfTable.newTable(OdfDocument, int, int)" to create a table in a spreadsheet document, the spreadsheet document would have some problem to open.

      After running ODF validator, we got to know that it was because attribute "table:number-columns-repeated" has a bad value: "0", which does not satisfy the "positiveInteger" type.

      So it should be a common problem both to text document and spreadsheet document.

      Attachments

        Activity

          People

            svanteschubert@odftoolkit.org Svante Schubert
            daisy@odftoolkit.org Ying Chun Guo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: