[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460243#comment-13460243
 ] 

DaLi Liu commented on ODFTOOLKIT-181:
-------------------------------------

Verified status of this issue
1.invalid or fixed or no response - maybe can be closed;

We can get the master-style element, using this codes now.
OdfOfficeMasterStyles officeMasterStyles = odfdoc.getOfficeMasterStyles();

                
> Usability: Generated ODF classes shall provide getter to element children
> -------------------------------------------------------------------------
>
>                 Key: ODFTOOLKIT-181
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-181
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 0.8.7
>         Environment: Operating System: All
> Platform: All
>            Reporter: Svante Schubert
>            Assignee: issues
>             Fix For: 0.8.8
>
>
> To receive the office:master-style element, it should be possible to access 
> it starting from the document (doc) via:
> odfdoc.getStylesDom().getOfficeStyles().getOfficeMasterStyles();
> or
> odfdoc.getStylesDom().getRootElement().getOfficeMasterStyles();
> By doing so removing redundant methods such as getOfficeMasterStyles() from 
> OdfSchemadocument.

--
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