W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2009

Rotated text in table header misbehaving

From: DavidJKelly <dkelly@scriptorium.com>
Date: Thu, 5 Nov 2009 08:30:57 -0800 (PST)
Message-ID: <26215794.post@talk.nabble.com>
To: www-xsl-fo@w3.org
I have certain table cells in which I am rotating the text with
reference-orientation="-90".  In most cases this is working fine, but with a
long piece of text with several small words, the text is breaking after
every word, and the text disappears out the righthand side of the cell.  

Following are the table-row element and the table-cell element for the
problem cell:

<fo:table-row block-progression-dimension="1.8in" id=""
   <fo:table-cell background-color="rgb(0,0,100)" border="solid"
       border-top-style="solid" border-top-width="1pt" id=""
margin-left="1pt" text-align="from-table-column()">
       <fo:block-container reference-orientation="-90">
             <fo:block color="white" display-align="after"
font-weight="bold" margin="1pt 1pt 1pt 1pt">
                   <fo:block id="d1e26124" space-after="0.6em"
space-after.optimum="3pt" space-before="0.6em" text-indent="0em">AUTH
(includes ZDA) SALE, DEBIT </fo:block>

The 1.8in for the block-progression-dimension appears to be plenty for the
text to appear in a maximum of two lines, but the line is breaking after
every word, resulting in 5 lines.

Any thoughts?

Thank you,

View this message in context: http://old.nabble.com/Rotated-text-in-table-header-misbehaving-tp26215794p26215794.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Friday, 6 November 2009 01:49:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:11 UTC