RE: [xsl] Decimal alignment using fo:leader

Subject: RE: [xsl] Decimal alignment using fo:leader
From: "Angela Williams" <Angela.Williams@xxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Aug 2007 09:49:03 -0500
Thanks, Ivan.

I thought about that, but these tables are defined generically by a
user. There is already so much overhead in determining whether to hide
or render a column, calculating actual column numbers based on what's
been hidden, calculating title spans, etc, that I did not want to
introduce more complexity with additional, invisible columns.

Although, I could if that is the only other alternative... In that case,
I think I would need to calculate the width of the decimal part column
to limit it to the actual width of the decimal value with the highest
precision and the largest font size.  Otherwise, I might still have an
issue fudging right alignment?  Both columns would need to fit within
the defined column width for the original single column... Or am I
making it too complicated?

I'm really hoping that I am close in my current solution and someone
with advanced xsl-fo skills will see some tiny detail I am overlooking
in the alignment. :-)

Thanks!
Angela

-----Original Message-----
From: Ivan Bogouchev [mailto:ivan.bogouchev@xxxxxxxxx]
Sent: Thursday, August 23, 2007 9:05 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Decimal alignment using fo:leader

Hi Angela,

couldn't you just use two columns with invisible border between?
Then you could put  the integer part of the number (including the
point) right aligned in the first column and the decimal part left
aligned in the second.

Current Thread