[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: Re: Drop Caps
From: Pascal Sancho <pascal.sancho () takoma ! fr>
Date: 2009-12-22 16:01:11
Message-ID: 4B30ED47.3000606 () takoma ! fr
[Download RAW message or body]
barry,
Like a text node, fo:external-graphic has to be set in an fo:float for this.
Pascal
Barry Whiting a écrit :
> 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:pascal.sancho@takoma.fr]
>
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic