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

Sheet name should be unique for each sheet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • odfdom-0.8.5
    • odfdom-0.8.7
    • java
    • None
    • Operating System: Windows
      Platform: PC
    • 191

    Description

      When I write the a sample code. I create a new OdfSpreadsheetDocument and then set table name "Sheet1". The code as follow:

      OdfSpreadsheetDocument doc = OdfSpreadsheetDocument.newSpreadsheetDocument();
      OdfTable table = OdfTable.newTable(doc);
      table.setTableName("Sheet1");

      Symphony can't open this file and Open Office will rename the table. In its content.xml there are two tables named "Sheet1".
      Odftoolkit api should automatically check whether the table name is unique in the documnet scope when method public void setTableName(String tableName) is called.

      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: