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
 
 




DO NOT REPLY [Bug 41019] - Left-align oddness with long, unbreakable strings following

2007-01-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41019.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41019


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-01-30 08:41 ---
This should now be fixed in revision 501453.

Thanks for signalling this bug!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41500] New: - ClassCastException after generating FO with an XSLT 1.0 for a PDF output

2007-01-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41500.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41500

   Summary: ClassCastException after generating FO with an XSLT 1.0
for a PDF output
   Product: Fop
   Version: 0.93
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: blocker
  Priority: P1
 Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


Below please find the error trace, the same error was available using 0.92 
beta.

Exception in thread AWT-EventQueue-0 java.lang.ClassCastException: 
org.apache.fop.layoutmgr.InlineKnuthSequence
at 
org.apache.fop.layoutmgr.BlockStackingLayoutManager.wrapPositionElements
(BlockStackingLayoutManager.java:1454)
at 
org.apache.fop.layoutmgr.BlockStackingLayoutManager.wrapPositionElements
(BlockStackingLayoutManager.java:1439)
at 
org.apache.fop.layoutmgr.BlockContainerLayoutManager$BlockContainerBreaker.getN
extKnuthElements(BlockContainerLayoutManager.java:612)
at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList
(AbstractBreaker.java:554)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout
(AbstractBreaker.java:301)
at 
org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements
(BlockContainerLayoutManager.java:355)
at 
org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements
(TableCellLayoutManager.java:168)
at 
org.apache.fop.layoutmgr.table.TableContentLayoutManager.createElementsForRowGr
oup(TableContentLayoutManager.java:480)
at 
org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElementsForRow
Iterator(TableContentLayoutManager.java:243)
at 
org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuthElements
(TableContentLayoutManager.java:183)
at 
org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElements
(TableLayoutManager.java:229)
at 
org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements
(TableCellLayoutManager.java:168)
at 
org.apache.fop.layoutmgr.table.TableContentLayoutManager.createElementsForRowGr
oup(TableContentLayoutManager.java:480)
at 
org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElementsForRow
Iterator(TableContentLayoutManager.java:243)
at 
org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuthElements
(TableContentLayoutManager.java:183)
at 
org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElements
(TableLayoutManager.java:229)
at 
org.apache.fop.layoutmgr.StaticContentLayoutManager$StaticContentBreaker.getNex
tKnuthElements(StaticContentLayoutManager.java:317)
at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList
(AbstractBreaker.java:554)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout
(AbstractBreaker.java:301)
at org.apache.fop.layoutmgr.StaticContentLayoutManager.doLayout
(StaticContentLayoutManager.java:239)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.layoutSideRegion
(PageSequenceLayoutManager.java:771)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage
(PageSequenceLayoutManager.java:777)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage
(PageSequenceLayoutManager.java:741)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.handleBreakTrait
(PageSequenceLayoutManager.java:827)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.access$300
(PageSequenceLayoutManager.java:62)
at 
org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.startPart
(PageSequenceLayoutManager.java:505)
at org.apache.fop.layoutmgr.AbstractBreaker.addAreas
(AbstractBreaker.java:420)
at org.apache.fop.layoutmgr.AbstractBreaker.addAreas
(AbstractBreaker.java:370)
at 
org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.doPhase3
(PageSequenceLayoutManager.java:369)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout
(AbstractBreaker.java:345)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout
(AbstractBreaker.java:263)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout
(PageSequenceLayoutManager.java:157)
at org.apache.fop.area.AreaTreeHandler.endPageSequence
(AreaTreeHandler.java:385)
at org.apache.fop.fo.pagination.PageSequence.endOfNode
(PageSequence.java:148)
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement
(FOTreeBuilder.java:378)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
at 

DO NOT REPLY [Bug 41500] - ClassCastException after generating FO with an XSLT 1.0 for a PDF output

2007-01-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41500.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41500





--- Additional Comments From [EMAIL PROTECTED]  2007-01-30 15:33 ---
Transformation has been made using SAXON 7.9.1

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41500] - ClassCastException after generating FO with an XSLT 1.0 for a PDF output

2007-01-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41500.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41500





--- Additional Comments From [EMAIL PROTECTED]  2007-01-30 15:55 ---
Any chance of attaching an FO file demonstrating the problem? Not XML + XSLT  
just plain FO please.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.