RE: 0.95 - Printing a string and aligning the decimal points

2008-08-26 Thread Steffanina, Jeff
 
David,
Your solution worked PERFECTLY!   
 
Thank you very much
 

Jeff 




From: David Gerdt [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2008 3:22 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: 0.95 - Printing a string and aligning the decimal
points


Yes, definitely. I assumed because you hadn't done this already
that the XML data was out of your hands. But yes, if you can make the
XML a little more granular like you demonstrate then you don't need an
extra template at all. Just put a  between the label and the
amount, and set the block's text-align-last to justify. So...
 
 
 
 
  
 
  
 
 
  
 
  
 
 

 

>>> "Steffanina, Jeff" <[EMAIL PROTECTED]> 8/25/2008
3:00 PM >>>

David,
I can't make that guarantee of the space you mentioned.  Can I
make it more simple if I split the string into Description and Amount as
follows (again, my goal is to align the descriptions and the decimal
points):

Quebec Native Seal Tax

15.42 


BIG UPPER CASE TAX INO

euro-tax-msg6-amt>439.59 

-- 
Jeff 




From: David Gerdt [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2008 2:23 PM
To: fop-users@xmlgraphics.apache.org
        Subject: Re: 0.95 - Printing a string and aligning the
decimal points


Assuming you can guarantee that there will always be at
least two spaces between the text and the digits, could you do something
like the following?
 
 
 
 
 
  
 
 
 
 
  
 
 
 

 
 

 
 
 
 

 


>>> "Steffanina, Jeff" <[EMAIL PROTECTED]>
8/25/2008 1:07 PM >>>


Friends, 


Existing Code in my XML file (the decimal points are
aligned when using Courier font): 

Quebec Native Seal Tax
15.42 
BIG UPPER CASE TAX INO
439.59 

-- 
My XSL that prints (using Arial font): 

 
 
 


   
 



 
 
- 
My Result: 
Thelkj lk laksjf lkasjd flkajs flkj15.42 
Wakadf wlkej salksdjf  349.54 


Without creating a table, is there a way to get the text
to align left and the digits to align right? 

I thank you for any suggestions. 


Jeff 



RE: 0.95 - Printing a string and aligning the decimal points

2008-08-25 Thread David Gerdt
Yes, definitely. I assumed because you hadn't done this already that the XML 
data was out of your hands. But yes, if you can make the XML a little more 
granular like you demonstrate then you don't need an extra template at all. 
Just put a  between the label and the amount, and set the block's 
text-align-last to justify. So...
 
 
 
 
  
 
  
 
 
  
 
  
 
 

 

>>> "Steffanina, Jeff" <[EMAIL PROTECTED]> 8/25/2008 3:00 PM >>>
David,
I can't make that guarantee of the space you mentioned.  Can I make it more 
simple if I split the string into Description and Amount as follows (again, my 
goal is to align the descriptions and the decimal points):

Quebec Native Seal Tax
15.42 

BIG UPPER CASE TAX INO
euro-tax-msg6-amt>439.59 
-- 
Jeff 


From: David Gerdt [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2008 2:23 PM
To: fop-users@xmlgraphics.apache.org 
Subject: Re: 0.95 - Printing a string and aligning the decimal points

Assuming you can guarantee that there will always be at least two spaces 
between the text and the digits, could you do something like the following?
 
 
 
 
 
  
 
 
 
 
  
 
 
 

 
 

 
 
 
 

 


>>> "Steffanina, Jeff" <[EMAIL PROTECTED]> 8/25/2008 1:07 PM >>>

Friends, 

Existing Code in my XML file (the decimal points are aligned when using Courier 
font): 
Quebec Native Seal Tax  
15.42 
BIG UPPER CASE TAX INO  439.59 
-- 
My XSL that prints (using Arial font): 
 
 
 
 
   
 
 

 
 
- 
My Result: 
Thelkj lk laksjf lkasjd flkajs flkj15.42 
Wakadf wlkej salksdjf  349.54 

Without creating a table, is there a way to get the text to align left and the 
digits to align right? 
I thank you for any suggestions. 

Jeff


RE: 0.95 - Printing a string and aligning the decimal points

2008-08-25 Thread Steffanina, Jeff
David,
I can't make that guarantee of the space you mentioned.  Can I make it
more simple if I split the string into Description and Amount as follows
(again, my goal is to align the descriptions and the decimal points):

Quebec Native Seal Tax

15.42 


BIG UPPER CASE TAX INO

euro-tax-msg6-amt>439.59 

-- 
Jeff 




From: David Gerdt [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2008 2:23 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: 0.95 - Printing a string and aligning the decimal
points


Assuming you can guarantee that there will always be at least
two spaces between the text and the digits, could you do something like
the following?
 
 
 
 
 
  
 
 
 
 
  
 
 
 

 
 

 
 
 
 

 


>>> "Steffanina, Jeff" <[EMAIL PROTECTED]> 8/25/2008
1:07 PM >>>


Friends, 


Existing Code in my XML file (the decimal points are aligned
when using Courier font): 

Quebec Native Seal Tax
15.42 
BIG UPPER CASE TAX INO
439.59 

-- 
My XSL that prints (using Arial font): 

 
 
 
 
   
 
 

 
 
- 
My Result: 
Thelkj lk laksjf lkasjd flkajs flkj15.42 
Wakadf wlkej salksdjf  349.54 


Without creating a table, is there a way to get the text to
align left and the digits to align right? 

I thank you for any suggestions. 


Jeff 



Re: 0.95 - Printing a string and aligning the decimal points

2008-08-25 Thread David Gerdt
Assuming you can guarantee that there will always be at least two spaces 
between the text and the digits, could you do something like the following?
 
 
 
 
 
  
 
 
 
 
  
 
 
 

 
 

 
 
 
 

 


>>> "Steffanina, Jeff" <[EMAIL PROTECTED]> 8/25/2008 1:07 PM >>>

Friends, 

Existing Code in my XML file (the decimal points are aligned when using Courier 
font): 
Quebec Native Seal Tax  
15.42 
BIG UPPER CASE TAX INO  439.59 
-- 
My XSL that prints (using Arial font): 
 
 
 
 
   
 
 

 
 
- 
My Result: 
Thelkj lk laksjf lkasjd flkajs flkj15.42 
Wakadf wlkej salksdjf  349.54 

Without creating a table, is there a way to get the text to align left and the 
digits to align right? 
I thank you for any suggestions. 

Jeff


0.95 - Printing a string and aligning the decimal points

2008-08-25 Thread Steffanina, Jeff
Friends,


Existing Code in my XML file (the decimal points are aligned when using
Courier font):

Quebec Native Seal Tax
15.42
BIG UPPER CASE TAX INO
439.59

--
My XSL that prints (using Arial font):


 


   





-
My Result:
Thelkj lk laksjf lkasjd flkajs flkj15.42
Wakadf wlkej salksdjf  349.54


Without creating a table, is there a way to get the text to align left
and the digits to align right?

I thank you for any suggestions.


Jeff