Loading ...
Sorry, an error occurred while loading the content.
 

How to span column-count

Expand Messages
  • Chris Nichols
    Here s what I got: ... ...
    Message 1 of 2 , Nov 4, 2002
      Here's what I got:

      ...
      <fo:region-body margin-top=".42in"
      margin-bottom=".25in" column-count="3"
      column-gap=".25in" />
      ...
      <fo:table>
      <fo:table-column column-width="10.5in" />
      <xsl:call-template name="patient_header">
      <xsl:with-param name="patient" select="$patient" />
      <xsl:with-param name="orientation"
      select="'landscape'" />
      </xsl:call-template>
      <fo:table-body>
      <fo:table-row xsl:use-attribute-sets="bgcolor">
      <fo:table-cell xsl:use-attribute-sets="padding
      border">
      ...
      <fo:table> <!--#2-->
      <fo:table-column column-width=".25in" />
      <fo:table-column column-width="1.5in" />
      <fo:table-column column-width="1.5in" />
      <!--table data-->
      ...
      </...

      What's happening is when table #2 wraps into a second
      column, the
      patient_header begins again.
      This:

      ------------------------------------
      | PATIENT HEA | PATIENT HEADER |
      ------------------------------------
      Column 1 Column 2


      What I need is:

      ------------------------------------
      | PATIENT HEADER |
      ------------------------------------
      Column 1 Column 2

      However, I cannot put the patient_header in the
      region-before. Any adeas
      would be wonderful. Thanks.



      __________________________________________________
      Do you Yahoo!?
      HotJobs - Search new jobs daily now
      http://hotjobs.yahoo.com/
    • G. Ken Holman
      ... I m a bit confused about the nesting of your tables and your use of columns, so I m just going to take a stab at what you might be asking. The fact that
      Message 2 of 2 , Nov 4, 2002
        At 2002-11-04 05:28 -0800, Chris Nichols wrote:
        >Here's what I got:

        I'm a bit confused about the nesting of your tables and your use of
        columns, so I'm just going to take a stab at what you might be asking. The
        fact that you have a 10 inch wide table in a column that is less than a
        third of the page in width seems really confusing to me.

        >What's happening is when table #2 wraps into a second
        >column, the
        >patient_header begins again.

        Table 2 appears nested inside of the wide table.

        >This:
        >
        >------------------------------------
        >| PATIENT HEA | PATIENT HEADER |
        >------------------------------------
        > Column 1 Column 2
        >
        >
        >What I need is:
        >
        >------------------------------------
        >| PATIENT HEADER |
        >------------------------------------
        > Column 1 Column 2
        >
        >However, I cannot put the patient_header in the
        >region-before.

        Perhaps if you put your patient header into a block with span="all" and
        take it out of your table altogether? Note that in XSL-FO you can only
        span all columns of a page, not just some of the columns of the page.

        Perhaps if you turned off the repetition of the header using the
        table-omit-footer-at-break= property on your <table> construct you will get
        closer to the effect you want.

        I hope this helps, but I'm not confident it will since I don't really
        understand what is going on with your nested tables inside of page columns.

        ............. Ken


        --
        G. Ken Holman mailto:gkholman@...
        Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
        Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
        ISBN 0-13-065196-6 Definitive XSLT and XPath
        ISBN 0-13-140374-5 Definitive XSL-FO
        ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
        ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
        Next public training: 2002-12-08,2003-02-03,06,03-03,06
      Your message has been successfully submitted and would be delivered to recipients shortly.