sorry forgott the attachment...
-------- Original-Nachricht -------- Datum: Tue, 16 Jan 2007 11:23:51 +0100 Von: "Gernot Koller" <[EMAIL PROTECTED]> An: [email protected] Betreff: right alignment in table cell while rendering rtf > Hi! > > I'm rather new to fop, so I hope this is an easy one... > > I'm trying to create a rtf document containing a table with cell-content > which is right aligned, like this: > > <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-row> > </fo:table-body> > > (full sample file is attached) > > The problem is, that the the content ("right1") does not get right-aligned > using fop-0.93.jar. When I use the older jfor (version 0.7.2rc1) it > work's ok! > > Am I doing something wrong ? Any hints appreciated! > > thx, > > Gernot > > -- > DI Gernot Koller > > > > > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail -- DI Gernot Koller Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
<xml> <fo:root xmlns:fo="http//www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="page" page-heigth="29.7cm" page-width="21cm"> <fo:region-body region-name="body" /> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="page"> <fo:flow flow-name="body"> <fo:block> <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> </fo:table> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xml>
