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=""
keep-together.within-page="always"
keep-with-following.within-page="always">
   <fo:table-cell background-color="rgb(0,0,100)" border="solid"
border-top-color="black"
       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>
             </fo:block>
      </fo:block-container>
   </fo:table-cell>

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,
David

-- 
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 November 2009 01:49:09 GMT