[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florian Hopf updated ODFTOOLKIT-158:
------------------------------------

    Fix Version/s:     (was: odfdom-0.8.8)
    
> Separation of DOM dependencies of doc.OdfDocument to dom.OdfDocument
> --------------------------------------------------------------------
>
>                 Key: ODFTOOLKIT-158
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-158
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: java
>    Affects Versions: odfdom-0.8.6
>         Environment: Operating System: All
> Platform: All
>            Reporter: Svante Schubert
>            Assignee: Svante Schubert
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to