> Bertrand Delacretaz wrote: > ... > > How do you plan to handle RTF styles? > > In jfor we defined an extension to XSL-FO (the "jfor-style" attribute) > to control RTF styles. > > I think some form of extension is needed as (AFAIK) the concept of > styles does not exist in XSL-FO, as it is meant for printed output. >
(1) This is not a FOP extension, but rather a fundamental change of the XSL-FO language, which does not know stlye sheets. > Another way would be to recognize sets of attribute values in the input > XSL-FO and map them to RTF styles. > (2) I wrote a few weeks ago this and it is still my idea, how FOP should store properties: "Apply the principles of relational databases to eliminate redundancies: set up tables of unique/used fonts, strokes, colors, ... and have the objects reference table entries. This will cost table lookups, CPU. However, it will also ease state processing. The program does not have to keep track of inherited properties set 300 FO elements earlier. The nuisance is that style sheets have acceptable redundancy (see DocBook), XSLT replicates properties innumerable times and FOP has to recollect and normalize all this stuff." My opinion: (1) is off FOP territory (2) to be considered, if FOP is implemented on this way Hansuli Anderegg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]