Trying to create right aligned text within tablecells doesn't work for rtf. Using code like this: <fo:table> <fo:table-column column-width="9cm" /> <fo:table-column column-width="9cm" /> <fo:table-body> <fo:table-row> <fo:table-cell display-align="end"> <fo:block text-align="end"> right1 </fo:block> </fo:table-cell> <fo:table-cell display-align="start"> <fo:block text-align="start"> left1 </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell display-align="end"> <fo:block text-align="end"> right2 </fo:block> </fo:table-cell> <fo:table-cell display-align="start"> <fo:block text-align="start"> left2 </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> produces a rtf document with a table where all strings are left-aligned.
Created attachment 19411 [details] complete sample fo Complete sample demonstrating the problem
I also tried the sample with current svn trunk version, but failed, I tried with jfor-0.7.1 and it also did not work. Then I tried with jfor-0.7.2rc1 and it worked !!! So jfor-0.7.2rc1 might contain the necessary fixes for fop-0.93...
Created attachment 19416 [details] Fixed FO sample file
After fixing some serious mistakes in your sample FO file, it worked just fine for me with FOP 0.93 and FOP Trunk. Note that "start" and "end" are invalid values for display-align. There you need to use "before" and "after" for vertical alignment. Note also, that display-align doesn't work for RTF output in 0.93. This is fixed in FOP Trunk.
(In reply to comment #4) > After fixing some serious mistakes in your sample FO file, it worked just fine > for me with FOP 0.93 and FOP Trunk. Note that "start" and "end" are invalid > values for display-align. There you need to use "before" and "after" for > vertical alignment. Note also, that display-align doesn't work for RTF output in > 0.93. This is fixed in FOP Trunk. Thanks for the effort! I can verify that it work's when using the standalone fop processor (fop.bat). Seems that I have a problem with my cocoon integration...
transition (old) verified bugs to closed