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

7303Graphic measurments on XSL:FO using renderx XEP

Expand Messages
  • mina_hurray
    Jan 30, 2007
    • 0 Attachment
      Hi all:

      I am not sure how to word my question. Basically, I have a graphic
      having width and height in Inches. As in '7.5Inches' and '7.84Inches'.
      Now, on the FO styles sheet, I use renderx xep as the processor, when
      I am displaying the graphic height and width using
      <fo:external-graphic content-width="" content-height=""/>

      If my input xml graphic has:

      <graphic src="" width="7.5Inches" height="7.84Inches"/>

      On the fo style sheet,

      Can I just say:

      <xsl:attribute name="content-width">

      <xsl:when test="@width">
      <xsl:value-of select="@width"/>
      <xsl:attribute name="content-height">

      <xsl:when test="@height">
      <xsl:value-of select="@height"/>

      Will this just display the graphics with the right width and height or
      should the width and height be converted to pixels?

      Thanks in advance for all your help.
    • Show all 5 messages in this topic