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

Separation of DOM dependencies of doc.OdfDocument to dom.OdfDocument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • odfdom-0.8.6
    • None
    • java
    • None
    • Operating System: All
      Platform: All
    • 229

    Description

      I would ask you to devide the doc.OdfDocument (and subclasses) into dom.OdfDocument (and subclasses).

      Only the DOM documents should be aware of XML details as content.xml, etc.
      From pkg.OdfFileDom the following methods have to be moved to OdfDocument (or removed):
      public OdfOfficeAutomaticStyles getOrCreateAutomaticStyles()
      public OdfOfficeAutomaticStyles getAutomaticStyles()
      public OdfOfficeStyles getOfficeStyles()

      We have to move those, as no user would like to care if he has the automatic styles of the content.xml or the styles.xml, he would only access these information at the OdfDocument. In addition the pkg layer is not allowed to access classes from the upper ODF XML layer.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: