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 :
<!-- [..] -->
            <fo:table-body>
              <fo:table-row>
                <fo:table-cell display-align="center" border-width="0.5mm"
border-style="solid">
                  <fo:block> Some text vertical centered</fo:block>
                </fo:table-cell>

                <fo:table-cell display-align="center" border-width="0.5mm"
border-style="solid">
                  <fo:block>
                    <fo:instream-foreign-object>
                      <svg height="20pt" width="20pt">
                        <g style="fill:red; stroke:#000000">
                          <rect height="20" width="20" x="0" y="0" />
                        </g>
                      </svg>
                    </fo:instream-foreign-object>
                  </fo:block>
                </fo:table-cell>

                <fo:table-cell display-align="center" border-width="0.5mm"
border-style="solid">
                  <fo:block>Some text with instream centered
                  ?<fo:instream-foreign-object>
                      <svg height="20pt" width="20pt">
                        <g style="fill:red; stroke:#000000">
                          <rect height="20" width="20" x="0" y="0" />
                        </g>
                      </svg>
                    </fo:instream-foreign-object> </fo:block>
                </fo:table-cell>
              </fo:table-row>
            </fo:table-body>
<!-- [...]-->
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
-- 
View this message in context: 
http://old.nabble.com/Table-cell%2C-vertical-alignment-with-text-and-Instream-tp27637607p27637607.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to