forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clay Leeds (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-872) Updated odt_to_xhtml.xsl to pass <title> & <h1> elements.
Date Fri, 05 May 2006 00:46:18 GMT
    [ http://issues.apache.org/jira/browse/FOR-872?page=comments#action_12377927 ] 

Clay Leeds commented on FOR-872:
--------------------------------

BTW, you could add the following to resources/stylesheets/odt-to-forrest-xhtml.xsl to get
T1 to be styled as STRONG/BOLD:

  <xsl:template match="text:p/text:span[@text:style-name='T1']">
    <strong>
      <xsl:apply-templates/>
    </strong>
  </xsl:template>

I've done that temporarily in my own template, but I don't think it makes sense to COMMIT
this change, as I don't believe T1 will always just be BOLD/STRONG.

> Updated odt_to_xhtml.xsl to pass <title> & <h1> elements.
> ---------------------------------------------------------
>
>          Key: FOR-872
>          URL: http://issues.apache.org/jira/browse/FOR-872
>      Project: Forrest
>         Type: Improvement

>   Components: Plugins: Potential new
>     Versions: 0.8-dev
>     Reporter: Clay Leeds
>     Assignee: Thorsten Scherler
>     Priority: Minor
>      Fix For: 0.8-dev
>  Attachments: odt_002.diff, odt_clay_003.diff, odt_clay_004.diff, odt_plugin.diff, odt_to_xhtml-forrest.xsl,
resources.xmap
>
> Modified odt_to_xhtml.xsl to pass the first text heading (office:document-content/office:body/office:text/text:h[1])
as the Forrest output's HTML <title> & <h1> elements.
> Eventually, this will be changed to grab the OpenDocument 'Title' attribute (/office:document-meta/office:meta/dc:title).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message