Thanks a lot Pascal for your comments and help.
Jean

> Message du 18/02/10 15:52
> De : "Pascal Sancho"
> A : "[email protected]"
> Copie à :
> Objet : Re: Table cell, vertical alignment with text and Instream
>
>
> Readind back your request, you probably want to align the 1st line of
> each cell of the same row on the same baseline.
> This is exactly the purpose of the relative-align property, witch
> unfortunately is not yet supported by FOP.
> Pascal
>
>
> Pascal Sancho a écrit :
> > Jean,
> > If you want to center each graphic on its own line, you have to adjust
> > its vertical position regarding its vertical size.
> > So this is a graphic-by-graphic treatment, witch cannot be done at cells
> > level.
> > Pascal
> >
> > jean.duracel a écrit :
> >
> >> Thanks Pascal for your answer.
> >> You are right I'm speaking about the "vertical alignment of the image
> >> within its line".
> >> Putting a vertical-align on the instream does the work.
> >> To get this behavior we will have to analyze the cell content, before
> >> its xslt transformation to xsl-fo, to have the possibility to put the
> >> vertical-align in place ...
> >> Any chance to get this behavior from attributes put on the cell only ?
> >>
> >>
> >> Jean
> >>
> >> > Message du 18/02/10 14:52
> >> > De : "Pascal Sancho"
> >> >
> >> > Jeandur,
> >> >
> >> > I don't see anything wrong.
> >> > In the 3rd cell, since the height of the cell equals to its content,
> >> > display-align cannot affect it.
> >> >
> >> > If you are speaking about the vertical alignment of the image
> >> within its
> >> > line, this is another topic.
> >> > You can change the vertical alignment of a graphic object (the
> >> > fo:instream-object in your case) with appropriate properties:
> >> > either alignment-adjust or the shorthand vertical-align.
> >> >
> >> > HTH,
> >> > Pascal
> >> >
> >> > Jeandur a écrit :
> >> > > Dear Fop Users,
> >> > >
> >> > > I'm facing a very strange behavior with fop095/jdk1.6 and
> >> mixed "content"
> >> > > (Instream and text) inside a table cell :
> >> > > . If the text is alone inside the cell, it is centered.
> >> > > . If the instream object is alone inside the cell, it is
> >> centered too.
> >> > > . But with booth inside the same cell, it doesn't work. Only
> >> the Instream
> >> > > object is centered and the text is bottom aligned.
> >> > > Following the code I'm using :
> >> > > border-style="solid">
> >> > > Some text vertical centered
> >> > > border-style="solid">
> >> > > border-style="solid">
> >> > > Some text with instream centered
> >> > > ?
> >> > > This is very annoying for us, because it seemed to work with
> >> fop025 :-(
> >> > >
> >> > > Any suggestions or advice will be armed welcome !
> >> > > Thanks in advance.
> >> > > Jean
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> 

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

Reply via email to