xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17604] New: - basic links to external-destination not working in tables
Date Mon, 03 Mar 2003 16:20:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17604>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17604

basic links to external-destination not working in tables

           Summary: basic links to external-destination not working in
                    tables
           Product: Fop
           Version: 0.15
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: gerry.r.vincent@jpmchase.com


When embedding a <fo:basic-link external-destination="..."> tag inside a table 
the pdf generated is not recognized by Adobe as a hyperlink. If embedding the 
basic-link in a simple <fo:block> it works fine. I need a way of making a table 
full of links that only a table provides. I tried a <fo:list> but this can only 
have two columns, I need three columns. 

Below is my xslt snippet:
	<fo:table>
	<fo:table-column column-width="3cm" />
	<fo:table-column column-width="5.5cm" />
	<fo:table-column column-width="5.5cm" />
	<fo:table-column column-width="5.5cm" />

	<fo:table-body>
	<fo:table-row>
			<fo:table-cell></fo:table-cell>
			<fo:table-cell>
			<fo:table font-size="9pt">
			<fo:table-column column-width="1.5cm" />
	 		<fo:table-column column-width="1.5cm" />
			<fo:table-column column-width="2.25cm" />
			<fo:table-body>
				<xsl:for-each 
select="__SIPER_Check_paid_window">		
				<xsl:if test="$num_checks>=position()">
				<fo:table-row>
				<fo:table-cell><fo:block><fo:basic-link text-
decoration="underline" color="blue">
				<xsl:attribute name="external-
destination">localhost/InternetStatements/singlecheck.jsp?chk=<xsl:value-of 
select="cknum"/>&amp;acct=<xsl:value-of 
select="$acctnumber"/>&amp;date=<xsl:value-of 
select="IRCHK_PD_DATE.CHECK_PAID"/></xsl:attribute><xsl:value-of 
select="cknum"/></fo:basic-link></fo:block></fo:table-cell>
				<fo:table-cell><fo:block><xsl:value-of 
select="IRCHK_PD_DATE.CHECK_PAID"/></fo:block></fo:table-cell>
				<fo:table-cell><fo:block text-
align="right"><xsl:value-of 
select="IRCHK_PD_AMT.CHECK_PAID"/></fo:block></fo:table-cell>
				</fo:table-row>
				</xsl:if>
				</xsl:for-each>
			</fo:table-body>
			</fo:table>
			</fo:table-cell>

			<fo:table-cell>
			<fo:table font-size="9pt">
			<fo:table-column column-width="1.5cm" />
	 		<fo:table-column column-width="1.5cm" />
			<fo:table-column column-width="2.25cm" />
			<fo:table-body>
				<xsl:for-each 
select="__SIPER_Check_paid_window">		
				<xsl:if test="position()>$num_checks and 
($num_checks*2)>=position()">
				<fo:table-row>
				<fo:table-cell><fo:block><fo:basic-link text-
decoration="underline" color="blue">
				<xsl:attribute name="external-
destination">localhost/InternetStatements/singlecheck.jsp?chk=<xsl:value-of 
select="cknum"/>&amp;acct=<xsl:value-of 
select="$acctnumber"/>&amp;date=<xsl:value-of 
select="IRCHK_PD_DATE.CHECK_PAID"/></xsl:attribute><xsl:value-of 
select="cknum"/></fo:basic-link></fo:block></fo:table-cell>
				<fo:table-cell><fo:block><xsl:value-of 
select="IRCHK_PD_DATE.CHECK_PAID"/></fo:block></fo:table-cell>
				<fo:table-cell><fo:block text-
align="right"><xsl:value-of 
select="IRCHK_PD_AMT.CHECK_PAID"/></fo:block></fo:table-cell>
				</fo:table-row>
				</xsl:if>
				</xsl:for-each>
			</fo:table-body>
			</fo:table>						
					 	
			</fo:table-cell>

			<fo:table-cell>
			<fo:table font-size="9pt">
			<fo:table-column column-width="1.5cm" />
	 		<fo:table-column column-width="1.5cm" />
			<fo:table-column column-width="2.25cm" />
			<fo:table-body>
				<xsl:for-each 
select="__SIPER_Check_paid_window">		
				<xsl:if test="position()>($num_checks*2)">
				<fo:table-row>
				<fo:table-cell><fo:block><fo:basic-link text-
decoration="underline" color="blue">
				<xsl:attribute name="external-
destination">localhost/InternetStatements/singlecheck.jsp?chk=<xsl:value-of 
select="cknum"/>&amp;acct=<xsl:value-of 
select="$acctnumber"/>&amp;date=<xsl:value-of 
select="IRCHK_PD_DATE.CHECK_PAID"/></xsl:attribute><xsl:value-of 
select="cknum"/></fo:basic-link></fo:block></fo:table-cell>
				<fo:table-cell><fo:block><xsl:value-of 
select="IRCHK_PD_DATE.CHECK_PAID"/></fo:block></fo:table-cell>
				<fo:table-cell><fo:block text-
align="right"><xsl:value-of 
select="IRCHK_PD_AMT.CHECK_PAID"/></fo:block></fo:table-cell>
				</fo:table-row>
				</xsl:if>
				</xsl:for-each>
			</fo:table-body>
			</fo:table>						
					 	
			</fo:table-cell>
					 				
	</fo:table-row>
	</fo:table-body>					
	</fo:table>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message