The following comment has been added to this issue:
Author: Ross Gardler
Created: Thu, 21 Apr 2005 12:05 PM
Body:
The problem is that you have to use a template that defines which formats you
can use and then only use those when editing your dosucments. You can get the
template by using the sample document provided with the plugin.
However, the behaviour you describe is an alternative (and experimental)
solution that allows the user to use the standard toolbar buttons to do some
formatting. This results in the OOo document containing style information in
the sx* file. The plugin is supposed to create a custom stylesheet from that
file. At present this stylesheet is embedded in the head element of the XDoc
that is produced and should be copied into the final HTML page, later versions
will use the new view functionality to provide various methods of overriding
these styles, thus we once again separate style from content. However, even the
hack solution of embedding into the XDoc seems to have been broken somewhere
along the way.
Within the OOo plugin the important template is <xsl:template name="style"> in
resources/stylesheets/openOffice-common2document.xsl
I suspect the generated style information is being lost during the skinning
process within forrest core (see <map:resource name="skinit"> in
FORREST_HOME/main/webap/sitemap.xmap)
---------------------------------------------------------------------
View this comment:
http://issues.cocoondev.org//browse/FOR-478?page=comments#action_12261
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org//browse/FOR-478
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-478
Summary: OpenOffice.org Plugin fails to render bold text
Type: Bug
Status: Unassigned
Priority: Minor
Project: Forrest
Components:
Plugin: OpenOffice.org
Versions:
0.7-dev
Assignee:
Reporter: Jason End
Created: Wed, 13 Apr 2005 3:55 AM
Updated: Thu, 21 Apr 2005 12:05 PM
Environment: FreeBSD 4.11 and Windows 2000, JDK 1.42
Description:
Although bold text seems to render correctly in the forrest sample file, bold
text in new OpenOffice.org documents--using the sample file as a template--does
not render correctly.
Instead of wrapping the text in <strong></strong> tags, the plugin wraps the
text in <span class="T1"></span>, which has no effect on its format.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira