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

column.setTableDefaultCellStyleNameAttribute doesn't mark style as used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • simple-odfdom-0.7
    • odfdom-0.8.7
    • java
    • None
    • Operating System: Linux
      Platform: PC
    • 34

    Description

      Created an attachment (id=59)
      Java file exhibiting problem with default cell style name

      Create a style, and assign it as a default cell style for a table column. The style will disappear from the output document's <style:automatic-styles>.

      See attached code and content.xml file. The style has been created (you can see the table:default-cell-style-name), but it's not in the automatic styles.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--bug34_fix.patch
          2 kB
          steffeng
        2. ASF.LICENSE.NOT.GRANTED--content.xml
          3 kB
          J David Eisenberg
        3. ASF.LICENSE.NOT.GRANTED--convenience_patch_09_07_14b.patch
          14 kB
          J David Eisenberg
        4. ASF.LICENSE.NOT.GRANTED--SimplestOds.java
          6 kB
          J David Eisenberg
        5. ASF.LICENSE.NOT.GRANTED--test.ods
          5 kB
          J David Eisenberg
        6. ASF.LICENSE.NOT.GRANTED--test2.ods
          5 kB
          J David Eisenberg
        7. ASF.LICENSE.NOT.GRANTED--used-styles.patch
          7 kB
          steffeng

        Activity

          People

            daisy@odftoolkit.org Ying Chun Guo
            jdeisenberg@odftoolkit.org J David Eisenberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: