[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSL-FO, vertical text in table cell?

Subject: Re: [xsl] XSL-FO, vertical text in table cell?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Jun 2013 08:26:45 -0400

At 2013-06-12 11:12 +0200, Jesper Tverskov wrote:
How easy is it in XSL-FO to make just one word in a table cell from
"bottom-to-top" as is very common in tables made with traditional Word

I have looked around in the spec, and done some experiments in vain,

I would like to know, if I should just work a little harder, and give
it ago, or if I can forget about it using Apache FOP?

A small example indicating the way to proceed, would be nice.

Create a reference area where you can change the reference orientation:

<?xml version="1.0" encoding="US-ASCII"?><!--juesper.fo-->
<root xmlns="http://www.w3.org/1999/XSL/Format"
      font-family="Times" font-size="20pt">

    <simple-page-master master-name="frame"
                        page-height="210mm" page-width="297mm"
                        margin-top="1cm" margin-bottom="1cm"
                        margin-left="1cm" margin-right="1cm">
      <region-body region-name="frame-body"/>

  <page-sequence master-reference="frame">
    <flow flow-name="frame-body">
      <table border="solid 1pt">
            <block-container reference-orientation="90">

I hope this helps.

. . . . . . . . Ken

Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/ |
G. Ken Holman                   mailto:gkholman@xxxxxxxxxxxxxxxxxxxx |
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal |

Current Thread