forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [JIRA] Commented: (FOR-478) Plugin fails to render bold text
Date Thu, 21 Apr 2005 17:06:18 GMT
The following comment has been added to this issue:

     Author: Ross Gardler
    Created: Thu, 21 Apr 2005 12:05 PM
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:

View the issue:

Here is an overview of the issue:
        Key: FOR-478
    Summary: Plugin fails to render bold text
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Forrest

   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

Although bold text seems to render correctly in the forrest sample file, bold text in new 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. 

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message