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" > A : "[email protected]" > Copie à : > Objet : Re: Table cell, vertical alignment with text and Instream > > > 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
