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

Using method "setStyleInheritence(boolean isEnabled)" to allow users to set whether cell style is inherited or not.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • odfdom-0.8.5
    • odfdom-0.8.7
    • java
    • None
    • Operating System: Windows
      Platform: PC
    • 214

    Description

      Just like we discussed in bug178
      Comment #20: http://odftoolkit.org/bugzilla/show_bug.cgi?id=178#c20
      and
      Comment #21: http://odftoolkit.org/bugzilla/show_bug.cgi?id=178#c21.
      A method should be added to allow users to set whether cell style is inherited or not. Of course, the default setting is inherited.
      This feature setting will influence appendRow(), appendColumn(), appendRows(), appendColumn(), insertRowsBefore() and insertColumnsBefore().
      For getCellByPosition(), getCellRangeByPosition(), getCellRangeByName(), getRowByIndex() and getColumnByIndex() will return empty cells without any style
      settings. So inheritance setting have no effection on them.
      patch will be submitted later.

      Devin

      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: