6 Replies Latest reply: May 2, 2014 5:43 AM by Vidya K RSS

    Wrap option not working for a qualitative lookup extended attribute within a custom section

    Vidya K

      In 6.1.1.1 version, while printing default print report,the value selected for a qualitative look up value spills out to the adjacent column in the custom section. This happens for a scenario when there is no space in the words, exceeding  the column cell width.

       

      On analyzing ExtendedAttributes$xlate$.xsl, we found that text wrap was not applied.

       

      <xsl:template match="AttributeValue[../AttributeType='Qualitative Lookup']">                              

                      <xsl:for-each select="Lookups/CommonLookup">

                                                      <fo:block>

                                                                      <xsl:value-of select="Value"/>

                                                      </fo:block>

                      </xsl:for-each>

      </xsl:template>

       

      We modified the ExtendedAttributes$xlate$.xsl, as follows, still the issue exists.

       

      <xsl:template match="AttributeValue[../AttributeType='Qualitative Lookup']">                              

                      <xsl:for-each select="Lookups/CommonLookup">

                                                      <fo:block white-space-collapse="false" wrap-option="wrap" >

                                                                      <xsl:value-of select="Value"/>

                                                      </fo:block>

                      </xsl:for-each>

      </xsl:template>

       

      Kindly help!