forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [ANN] odt plugin
Date Wed, 19 Apr 2006 19:10:45 GMT
El mar, 18-04-2006 a las 22:28 -0700, Clay Leeds escribió:
> On Apr 18, 2006, at 9:31 AM, Ross Gardler wrote:
> > Web Maestro Clay wrote:
> >> I'm not sure whether or not to suppress <style/>, but it would be   
> >> nice to have the ability to have 'on-the-fly' ODT styles.
> >
> > I'm -1 on allowing abitrary styles though. The problem is that  
> > Forrest attempts to provide a unified output formats regardless of  
> > the input format. If we allow arbitrary styles through then we  
> > loose the ability to do this because uses will create "headings" by  
> > making text larger and bold, for example. Forrest has no way of  
> > knowing this is supposed to be a heading and therefore cannot  
> > render it as such.
> >
> > Ross
> 
> I can understand that. I'll file the desire for on-the-fly styles  
> under the 'it would be nice...' flag. :-)
> 

I added such a contract. I have not tested it (will do later) since I am
on my way out, but _should_ work. ;)

http://svn.apache.org/viewcvs?rev=395353&view=rev

<forrest:contract name="content-css"
dataURI="cocoon://#{$getRequest}.body.xml"/>

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message