Re: [xsl] FO: Slide a table on the left

Subject: Re: [xsl] FO: Slide a table on the left
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Mar 2008 20:15:01 +0200
At 2008-03-31 15:49 +0200, Florent Georges wrote:
  I have a table in the main flow of the text, but it is
quite large.  So I added width="120%" in order to gain a few
space:

    <fo:flow flow-name="xsl-region-body">
       <fo:block>
          ...
       </fo:block>
       <fo:block>
          <fo:table table-layout="fixed" width="120%">
             ...
          </fo:table>
       </fo:block>
       <fo:block>
          ...
       </fo:block>
    </fo:flow>

  The problem is that the table is still aligned at left (so
the additional 20% are all on the right part of the page.)
So I would like to slide the table on its left, but I didn't
find how.

Any idea?

I just tried the following with lesser values in order not to exceed my page size:


      <table border="solid" width="105%" start-indent="-2.5%">
        <table-body start-indent="0%">
          <table-cell>
            <block>Test</block>
          </table-cell>
        </table-body>
      </table>

Remember that start-indent= is inherited, so is continuously re-applied until reset.

I hope this helps.

. . . . . . . . Ken


-- Upcoming: UBL Apr.22,24; genericode code lists Apr.23; Rome,Italy World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal

Current Thread