[
https://issues.apache.org/jira/browse/ODFTOOLKIT-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Hopf updated ODFTOOLKIT-22:
-----------------------------------
Fix Version/s: (was: odfdom-0.8.7)
> Automatic styles appear to optimize out of existence
> ----------------------------------------------------
>
> Key: ODFTOOLKIT-22
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-22
> Project: ODF Toolkit
> Issue Type: Improvement
> Components: java
> Affects Versions: simple-odfdom-0.7
> Environment: Operating System: Linux
> Platform: PC
> Reporter: J David Eisenberg
> Assignee: Svante Schubert
> Priority: Minor
> Attachments: ASF.LICENSE.NOT.GRANTED--SimplestOdt.java,
> ASF.LICENSE.NOT.GRANTED--styles_patch.diff,
> ASF.LICENSE.NOT.GRANTED--styles-patch-version-2.patch,
> ASF.LICENSE.NOT.GRANTED--styles-patch-version-3.patch,
> ASF.LICENSE.NOT.GRANTED--styles-patch-version-4.patch
>
>
> I must be missing something obvious here; I am creating an ODT file with an
> automatic style, but the optimizer is getting rid of it.
> I am setting the style name by calling setTextStyleNameAttribute(), but that
> does not appear to be enough to convince the code that I'm actually using the
> style.
> I will rework the tutorial to avoid this problem.
--
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