Hi Pascal Thanks for getting back to me.
If we can't use float could we use an external-graphic and the text will automatically wrap around the image correctly the same as html? Thanks Barry -----Original Message----- From: Pascal Sancho [mailto:[email protected]] Sent: 22 December 2009 14:47 To: [email protected] Subject: Re: Drop Caps Hi Barry, Unfortunately fo:float is not implemented in FOP (see [1]). I see no workaround if you require exactly that kind of layout. Anyway, you still can choose either a fo:list or a fo:table to mimic what you want, if a 2 column contruction give you acceptable result. [1] http://xmlgraphics.apache.org/fop/compliance.html#fo-object-float Pascal Barry Whiting a écrit : > > Hi > > > > I wondered if anybody could help I am trying to do a drop cap at the > begining of each text and have tried using float but for some reason > this seems to be floating something just not what Im expecting. > > > > > > <xsl:for-each > select="exsl:node-set($editorschoice)/Events/Event"> > > <xsl:if test="position() = 1 or > current()/FurtherSubCat = preceding-sibling::Event[1]/FurtherSubCat"> > > <fo:block> > > <fo:float float="start"> > > <fo:block font-family="ZapfDingbats" > font-size="20pt" line-height="28pt" color="rgb(0,0,0)" margin="5pt" > text-depth="0" border="1px solid red"> > > ✪ > > </fo:block> > > </fo:float><fo:inline > font-family="CaeciliaRomanOsF" font-size="8pt" line-height="9.6pt" > font-weight="bold" color="rgb(0,0,0)"> <xsl:apply-templates > select="current()/Editorial" /></fo:inline> > > </fo:block> > > </xsl:if> > > </xsl:for-each> > > > > There seems to be a floating area to the left of the text when > processed by fop but its empty. > > > > Thanks > > > > Barry > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.717 / Virus Database: 270.14.111/2569 - Release Date: 12/21/09 19:13:00
