What is the current partial implementation status of vertical-align for table cells?

2007-01-30 Thread Andrejus Chaliapinas
Hi,

I've tried to use this table cell constraint with fop-trunk:

fo:table-cell border-style=solid border-width=1px
vertical-align=bottom
fo:block text-align=start vertical-align=bottom
fo:inline vertical-align=bottom font-weight=normal font-style=normal
font-family=Tahomamy text/fo:inline
/fo:block
/fo:table-cell

But can't get my text aligned at the bottom of that table cell. Should I
use anything else instead or it's not supported at the moment?

Thank you,
Andrejus



Re: What is the current partial implementation status of vertical-align for table cells?

2007-01-30 Thread Chris Bowditch

Andrejus Chaliapinas wrote:


Hi,

I've tried to use this table cell constraint with fop-trunk:


vertical-align is a shorthand for several FO properties including 
display-align. I don't believe display-align is properly assigned when 
using vertical-align. Try using display-align directly instead.




fo:table-cell border-style=solid border-width=1px
vertical-align=bottom
fo:block text-align=start vertical-align=bottom
fo:inline vertical-align=bottom font-weight=normal font-style=normal
font-family=Tahomamy text/fo:inline
/fo:block
/fo:table-cell

But can't get my text aligned at the bottom of that table cell. Should I
use anything else instead or it's not supported at the moment?


In the future, please post this sort of question on the fop-user mailing 
list. This list is meant for discussing the java internals of FOP.


Thanks,

Chris





RE: What is the current partial implementation status of vertical-align for table cells?

2007-01-30 Thread Andrejus Chaliapinas
Hi Chris,

Thanks a lot for your quick answer. Sometimes it's hard to tell where your
question is more suitable to be posted, especially if someone works from dev
team works right now on that feature implementation and checks this list
more often than another. I would probably also not post here today, but
can't make last fop-trunk examples to be build after last SVN updates due to
this:


examples:
  [fop] [INFO] FopFactory - Source resolution set to: 72.0dpi
(px2mm=0.3528)
  [fop] [INFO] FopFactory - Default page-height set to: 11in
  [fop] [INFO] FopFactory - Default page-width set to: 8.26in
  [fop] D:\eclipse\test\fop_trunk\examples\fo\basic\alignment.fo -
D:\eclipse\test\fop_trunk\build\examples\alignment.pdf
  [fop] [INFO] FopFactory - base set to:
file:/D:/eclipse/test/fop_trunk/./
  [fop] [INFO] FOP - Target resolution set to: 72.0dpi
(px2mm=0.3528)

BUILD FAILED
java.lang.Error: Unresolved compilation problem: 


Total time: 9 seconds

As you could see I have very informative Ant output (probably due to my
setup or anything else I don't know right now) :) I need to deal with.

Once again - thanks for quick help!

Andrejus 


 -Original Message-
 From: Chris Bowditch [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 30, 2007 3:49 PM
 To: fop-dev@xmlgraphics.apache.org
 Subject: Re: What is the current partial implementation status of
 vertical-align for table cells?
 
 Andrejus Chaliapinas wrote:
 
  Hi,
 
  I've tried to use this table cell constraint with fop-trunk:
 
 vertical-align is a shorthand for several FO properties including
 display-align. I don't believe display-align is properly assigned when
 using vertical-align. Try using display-align directly instead.
 
 
  fo:table-cell border-style=solid border-width=1px
  vertical-align=bottom
  fo:block text-align=start vertical-align=bottom
  fo:inline vertical-align=bottom font-weight=normal font-
 style=normal
  font-family=Tahomamy text/fo:inline
  /fo:block
  /fo:table-cell
 
  But can't get my text aligned at the bottom of that table cell. Should
 I
  use anything else instead or it's not supported at the moment?
 
 In the future, please post this sort of question on the fop-user mailing
 list. This list is meant for discussing the java internals of FOP.
 
 Thanks,
 
 Chris