xsl-list
[Top] [All Lists]

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

2008-03-31 11:16:44
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(_at_)CraneSoftwrights(_dot_)com
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>