[xep-support] How to get the column width when it is proportional

From: Myers, Ching <Ching.Myers@ingenix.com>
Date: Mon Dec 06 2004 - 15:41:40 PST

Hi,

I need to use the column-width as a base variable to derive another value dynamically, I tried to use the function of "from-table-column()", it didn't work. Could someone give me a hint? Please refer to the following codes, thanks.

<fo:table space-before.optimum="3pt">
    <fo:table-column column-width="proportional-column-width(2.5)"/>
    <fo:table-column column-width="proportional-column-width(3.5)"/>
    <fo:table-column column-width="proportional-column-width(20)"/>
     <fo:table-body>
        <fo:table-row>
          <fo:table-cell>
            <fo:block><xsl:call-template name="code-left-icons" /></fo:block>
          </fo:table-cell>
          <fo:table-cell>
            <xsl:call-template name="codetemplate" />
          </fo:table-cell>
          <fo:table-cell>
          <xsl:variable name="column-width"><xsl:value-of select="from-table-column(column-width)" />
                </xsl:variable>
          <fo:block><xsl:value-of select="$column-width" /></fo:block>
            <xsl:call-template name="descriptiontemplate" />
          </fo:table-cell>
        </fo:table-row>
      </fo:table-body>
    </fo:table>
  </xsl:template>

"Secure Server" made the following
 annotations on 12/06/2004 05:42:57 PM
------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately."
==============================

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Mon Dec 6 16:27:03 2004

This archive was generated by hypermail 2.1.8 : Mon Dec 06 2004 - 16:27:03 PST