On 07.07.2006 13:44:16 Shamem Miah wrote: > Hi > > I have written a xsl fo doc where I want to use small square bullets. I > have added the 'arial' font metric to do this. Now when I generate the > document in pdf the output is fine and my list has the small square > bullets. However when I generate it in rtf the square bullets are > replaced with ? signs. > > Unlike when I generate the pdf the rtf also shows an errror saying > 'getBaseLength called without context' although it still produces > output. I also noticed it shows this error depending on the number of > items in my list. So when I have two items in the list the error is > ouput twice, when I have three items thrice etc. > > 1)Are the ? marks appearing because fop does not support rtf properly?
Yes. But that was easily fixed: http://svn.apache.org/viewvc?rev=420533&view=rev The character was not properly escaped. > 2)Does anybody know what the error is about? This has to do with percentage evaluation which hasn't been fully implemented for RTF, yet. There's an implicit "100% - 18pt" calculation in the background (18pt = 24pt - 6pt which are the default values for the "provisional-*" properties) and that's why the error is triggered. If the output looks good just ignore the error. :-) > > > Btw here is my list: > <fo:list-block> > <fo:list-item > > <fo:list-item-label end-indent="label-end()" > > <fo:block> > ▪ > </fo:block> > </fo:list-item-label> > <fo:list-item-body start-indent="body-start()" > > <fo:block> > The Groundwater Regulations 1998 (autho no: > 2347923) > </fo:block> > </fo:list-item-body> > </fo:list-item> > <fo:list-item> > <fo:list-item-label end-indent="label-end()"> > <fo:block> > ▪ > </fo:block> > </fo:list-item-label> > <fo:list-item-body start-indent="body-start()"> > <fo:block> > The action programme for nitrate vulnerable zones > </fo:block> > </fo:list-item-body> > </fo:list-item> > <fo:list-item> > <fo:list-item-label end-indent="label-end()"> > <fo:block> > ▪ > </fo:block> > </fo:list-item-label> > <fo:list-item-body start-indent="body-start()"> > <fo:block> > The action programme for nitrate vulnerable zones > </fo:block> > </fo:list-item-body> > </fo:list-item> > </fo:list-block> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
