xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Drop Caps
Date Tue, 22 Dec 2009 14:47:04 GMT
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">
>
>                                 &#x272A;
>
>                             </fo:block>
>
>                         </fo:float><fo:inline 
> font-family="CaeciliaRomanOsF" font-size="8pt" line-height="9.6pt" 
> font-weight="bold" color="rgb(0,0,0)">&#160;<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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message