RE: right justifying table cell text

2003-03-20 Thread Afshartous, Nick
Title: RE: right justifying table cell text







 I'm trying to rigth justify the text in a table cell. 
 
 Use a block:
 fo:table-cell
 fo:block text-align=end

Thanks Roland. I've tried using text-align=end but for
some reason its not having the desired result in my case.
I'm trying to align the page numbers in a TOC. Here's what
was generated for one of the page number cells


fo:table-cell
 fo:block text-align=end font-size=small
 fo:page-number-citation ref-id=Eligibility/
 /fo:block
/fo:table-cell


but the page numbers are rendered as


 ch 1  1


 ch 2  10


Changing the font-size for this block also doesn't seem to
have any effect. Thanks for any suggestion. The entire table follows


 Nick



fo:block space-after=1em font-size=18pt text-align=center
 Table of Contents
 /fo:block
fo:table
fo:table-column column-width=6cm/
fo:table-column column-width=11cm/
fo:table-column column-width=1cm/
fo:table-body
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftAbout Your Medical Benefits/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=About Your Medical Benefits/
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftEligibility/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=Eligibility/
/fo:block
/fo:table-cell


/fo:table-row
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftEnrollment/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=Enrollment/
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftPaying for Benefits/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=Paying for Benefits/
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftPPO Option/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=PPO Option/
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftWhen Coverage Begins/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=When Coverage Begins/
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftWhen Coverage Ends/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=When Coverage Ends/
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftCoverage Certifications/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=Coverage Certifications/
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row border-width=0.5pt
fo:table-cell
fo:block font-size=small text-align=leftERISA/fo:block
/fo:table-cell
fo:table-cell
fo:block
fo:inline
fo:leader leader-pattern=dots/
/fo:inline
/fo:block
/fo:table-cell
fo:table-cell
fo:block text-align=end font-size=small
fo:page-number-citation ref-id=ERISA/
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table





RE: right justifying table cell text

2003-03-20 Thread Afshartous, Nick
Title: RE: right justifying table cell text







 I'm trying to rigth justify the text in a table cell. 
 
 Use a block:
 fo:table-cell
 fo:block text-align=end

Ok, now I see why text-align=end does not work in 
my case. Its because the text-align does not seem
to have any effect on the text that is generated via
the fo:page-number-citation. If anyone has a suggestion
please advise, thanks.


 Nick





Re: right justifying table cell text

2003-03-20 Thread J.Pietschmann
Afshartous, Nick wrote:
Thanks Roland.  I've tried using text-align=end but for
some reason its not having the desired result in my case.
I'm trying to align the page numbers in a TOC.
This is a FAQ:
 http://xml.apache.org/fop/faq.html#page_number_align
The problem will be fixed in the next release of FOP.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


right justifying table cell text

2003-03-19 Thread Afshartous, Nick
Title: right justifying table cell text






Hi,


I'm trying to rigth justify the text in 
a table cell. The chapter on tables
in Pawson's book says that cell content
may be horizontally aligned using the 
text-align property (valid values are start, center,
end, and justify). No setting seems to 
right-justify the text though. 


If anyone has any suggestions please advise, thanks.


 Nick








RE: right justifying table cell text

2003-03-19 Thread Roland Neilands
Nick,

I'm trying to rigth justify the text in a table cell. 

Use a block:
fo:table-cell
  fo:block text-align=end


Cheers,
Roland

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