Re: Right aligned tables.

2005-09-03 Thread mohamed salah

Hello Jeremias and all , 
I found a better solution to column inverting. I added the followins sentence in the xsl fileafter the for-each tag. 
This helped me inverting the columns to implement mirrored tables in fop. 
Thanks Jeremias  for your help. 
I hope these missing features are solved. I which I can help.Thanks,vvEng. Mohamed Salah SayedComputer and System Engineer  eMail: [EMAIL PROTECTED]Tel: 
0124075487   ^^

From: Jeremias Maerki <[EMAIL PROTECTED]>Reply-To: fop-users@xmlgraphics.apache.orgTo: fop-users@xmlgraphics.apache.orgSubject: Re: Right aligned tables.Date: Fri, 19 Aug 2005 08:41:49 +0200>Hmm, this is rather an XSLT question than a question about FOP, at least>as long as we don't support RTL-tables, but you should be able to use a>recursive template call starting with an index to the last column and>then counting down to the first column with each recursive template call.>The following shows the general idea althought it solves a different>case:>http://www.dpawson.co.uk/xsl/sect2/recursion.html>>On 18.08.2005 08:50:25 mohamed salah wrote:> > I have another question,> > Basicly to generate Arabic table which is right to left, All the 
columns> > should be mirrored. Please have look on the attached image.> > I am using an xml file that is generated from other program, this file> > contains table data. The xsl file contains for-each tag that generates> > the table.> > Do you have any ideas how can I do this without modifying the xml file?>>>Jeremias Maerki>>>->To unsubscribe, e-mail: [EMAIL PROTECTED]>For additional commands, e-mail: [EMAIL PROTECTED]>
Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Right aligned tables.

2005-08-18 Thread Jeremias Maerki
Hmm, this is rather an XSLT question than a question about FOP, at least
as long as we don't support RTL-tables, but you should be able to use a
recursive template call starting with an index to the last column and
then counting down to the first column with each recursive template call.
The following shows the general idea althought it solves a different
case:
http://www.dpawson.co.uk/xsl/sect2/recursion.html

On 18.08.2005 08:50:25 mohamed salah wrote:
> I have another question,
> Basicly to generate Arabic table which is right to left, All the columns
> should be mirrored. Please have look on the attached image. 
> I am using an xml file that is generated from other program, this file
> contains table data. The xsl file contains for-each tag that generates
> the table. 
> Do you have any ideas how can I do this without modifying the xml file?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Right aligned tables.

2005-08-17 Thread mohamed salah
Hello Jeremias and All, Thanks Jeremias, It worked fine. I have another question,Basicly to generate Arabic table which is right to left, All the columns should be mirrored. Please have look on the attached image. I am using an xml file that is generated from other program, this file contains table data. The xsl file contains for-each tag that generates the table. Do you have any ideas how can I do this without modifying the xml file?
Thanks,vvEng. Mohamed Salah SayedComputer and System Engineer  eMail: [EMAIL PROTECTED]Tel: 
0124075487   ^^

From: Jeremias Maerki <[EMAIL PROTECTED]>Reply-To: fop-users@xmlgraphics.apache.orgTo: fop-users@xmlgraphics.apache.orgSubject: Re: Right aligned tables.Date: Tue, 16 Aug 2005 10:00:34 +0200>Quite easy: Just remove the last table-column element. See:>http://people.apache.org/~jeremias/fop/help/align-tables.fo>>The "proportional-column-width(1)" causes the left-over space not used>by the other columns with a fixed column-width to be divided up. If you>remove the last table-column. All the non-used space is assigned to the>first (empty) column which has the effect that the table is>right-aligned.>>On 15.08.2005 21:09:44 mohamed salah wrote:> > Hello ,> > Thanks for your reply Jeremias,> > It tried the example you mentioned in 
your reply, I actually do not know what part I should change?> >> > If you allow me, I may ask another question,> > Is there a global tag I can use to make all the generated pdf right aligned or I have to align each element separately?> >> > Thanks,> > vv> > Eng. Mohamed Salah Sayed> > Computer and System Engineer> > eMail: [EMAIL PROTECTED]> > Tel: 0124075487> > ^^> >> >> > >From: Jeremias Maerki <[EMAIL PROTECTED]>> > >Reply-To: fop-users@xmlgraphics.apache.org> > >To: fop-users@xmlgraphics.apache.org> > >Subject: Re: Right aligned tables.> > >Date: Mon, 15 Aug 2005 09:42:45 +0200> > >> > >Look 
at the following:> > >http://xml.apache.org/fop/fo.html#fo-center-table-horizon> > >> > >It is about centering a table but the idea applies equally to> > >right-aligning a table.> > >> > >On 15.08.2005 08:53:29 mohamed salah wrote:> > > > Hello All,> > > > How can I make a table that is right aligned?> > > > Please Advice!>>>>Jeremias Maerki>>>->To unsubscribe, e-mail: [EMAIL PROTECTED]>For additional commands, e-mail: [EMAIL PROTECTED]>
Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!


RTL_Table.GIF
Description: GIF image
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Right aligned tables.

2005-08-16 Thread Jeremias Maerki
Quite easy: Just remove the last table-column element. See:
http://people.apache.org/~jeremias/fop/help/align-tables.fo

The "proportional-column-width(1)" causes the left-over space not used
by the other columns with a fixed column-width to be divided up. If you
remove the last table-column. All the non-used space is assigned to the
first (empty) column which has the effect that the table is
right-aligned.

On 15.08.2005 21:09:44 mohamed salah wrote:
> Hello , 
> Thanks for your reply Jeremias, 
> It tried the example you mentioned in your reply, I actually do not know what 
> part I should change? 
> 
> If you allow me, I may ask another question,
> Is there a global tag I can use to make all the generated pdf right aligned 
> or I have to align each element separately?
> 
> Thanks,
> vv
> Eng. Mohamed Salah Sayed
> Computer and System Engineer  
> eMail: [EMAIL PROTECTED]
> Tel: 0124075487   
> ^^
> 
> 
> >From: Jeremias Maerki <[EMAIL PROTECTED]>
> >Reply-To: fop-users@xmlgraphics.apache.org
> >To: fop-users@xmlgraphics.apache.org
> >Subject: Re: Right aligned tables.
> >Date: Mon, 15 Aug 2005 09:42:45 +0200
> >
> >Look at the following:
> >http://xml.apache.org/fop/fo.html#fo-center-table-horizon
> >
> >It is about centering a table but the idea applies equally to
> >right-aligning a table.
> >
> >On 15.08.2005 08:53:29 mohamed salah wrote:
> > > Hello All,
> > > How can I make a table that is right aligned?
> > > Please Advice!



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FW: Re: Right aligned tables.

2005-08-15 Thread mohamed salah
Hello , Thanks for your reply Jeremias, It tried the example you mentioned in your reply, I actually do not know what part I should change? 
If you allow me, I may ask another question,Is there a global tag I can use to make all the generated pdf right aligned or I have to align each element separately?
Thanks,vvEng. Mohamed Salah SayedComputer and System Engineer  eMail: [EMAIL PROTECTED]Tel: 
0124075487   ^^>From: Jeremias Maerki <[EMAIL PROTECTED]>>Reply-To: fop-users@xmlgraphics.apache.org>To: fop-users@xmlgraphics.apache.org>Subject: Re: Right aligned tables.>Date: Mon, 15 Aug 2005 09:42:45 +0200>>Look at the following:>http://xml.apache.org/fop/fo.html#fo-center-table-horizon>>It is about centering a table but the idea applies equally to>right-aligning a table.>>On 15.08.2005 08:53:29 mohamed salah wrote:> > Hello All,> 
> How can I make a table that is right aligned?> > Please Advice!>>>Jeremias Maerki>>>->To unsubscribe, e-mail: [EMAIL PROTECTED]>For additional commands, e-mail: [EMAIL PROTECTED]>Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Right aligned tables.

2005-08-15 Thread Jeremias Maerki
Look at the following:
http://xml.apache.org/fop/fo.html#fo-center-table-horizon

It is about centering a table but the idea applies equally to
right-aligning a table.

On 15.08.2005 08:53:29 mohamed salah wrote:
> Hello All, 
> How can I make a table that is right aligned?
> Please Advice!


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Right aligned tables.

2005-08-14 Thread mohamed salah

Hello All, How can I make a table that is right aligned?
Please Advice!Thanks,vvEng. Mohamed Salah SayedComputer and System Engineer  eMail: [EMAIL PROTECTED]^^Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]