|
I was able to accomplish vertical
alignment by using display-align in the table-cell. I didn’t specify the vertical-align attribute. -----Original Message----- Hello, I have a fo:instream-foreign-object
that contains some SVG to draw a few lines.
This is placed in a table cell inside a block and I want to horizontally
align to the left side and vertically align to the bottom of the cell. The following XSL-FO
"nearly" works: <fo:table-cell
border-style="solid" border-width="0.1mm"
border-color="blue" display-align="after"> <fo:block
text-align="left" vertical-align="bottom"> <fo:instream-foreign-object> <!-SVG content à </fo:instream-foreign-object> </fo:block> <fo:table-cell> The horizontal alignment works great
but the vertical alignment only partially works.... or rather it doesn't work
exactly the way I want it to. The
problem is the vertical align does not align the SVG right to the bottom of the
cell like I really need. The table row
the cell is in is 16mm high and the svg is consistently vertically aligned to
approximately 0.5mm from the bottom of the cell. The same thing happens if I try and
vertically align to the top of the cell.
I want the SVG to be sitting right against the table border which works
fine horizontally, just not vertically. Any ideas on how to get this
working? I using FOP 0.20.5 on WinXP. Thanks in advance, Matthew Rea
|
- instream-foreign-object vertical alignment Rea, Matthew
- Re: instream-foreign-object vertical alignment Chris Bowditch
- Re: instream-foreign-object vertical alignment Chris Bowditch
- RE: instream-foreign-object vertical alignment Vinuta Nagaraddi
