Bug#507025: Acknowledgement (xml-resume-library: Create link in PDF output)
Hi,
Please check my patch also.
Regards,
Andrei
On Thu, Nov 27, 2008 at 11:51 AM, Debian Bug Tracking System
<owner@bugs.debian.org> wrote:
>
> Thank you for filing a new Bug report with Debian.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> Debian QA Group <packages@qa.debian.org>
>
> If you wish to submit further information on this problem, please
> send it to 507025@bugs.debian.org, as before.
>
> Please do not send mail to owner@bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>
>
> --
> 507025: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507025
> Debian Bug Tracking System
> Contact owner@bugs.debian.org with problems
>
--- xsl/format/fo.xsl-save 2008-11-12 14:15:27.000000000 +0200
+++ xsl/format/fo.xsl 2008-11-13 15:09:35.000000000 +0200
@@ -336,6 +336,7 @@
</xsl:call-template>
</xsl:template>
+<!--
<xsl:template match="r:contact/r:email">
<xsl:call-template name="contact">
<xsl:with-param name="label">
@@ -346,7 +347,20 @@
</xsl:with-param>
</xsl:call-template>
</xsl:template>
+-->
+<!-- Andrei Emeltchenko: @targets shall be in a form: mailto:<e-mail> -->
+ <xsl:template match="r:contact/r:email">
+ <fo:block>
+ <fo:inline font-style="{$header.item.font.style}"><xsl:value-of select="$email.word"/>:</fo:inline>
+ <xsl:text> </xsl:text>
+ <fo:basic-link external-destination="url({@targets})">
+ <xsl:apply-templates/>
+ </fo:basic-link>
+ </fo:block>
+ </xsl:template>
+
+<!--
<xsl:template match="r:contact/r:url">
<xsl:call-template name="contact">
<xsl:with-param name="label">
@@ -357,6 +371,14 @@
</xsl:with-param>
</xsl:call-template>
</xsl:template>
+-->
+
+ <xsl:template match="r:contact/r:url">
+ <fo:inline font-style="{$header.item.font.style}"><xsl:value-of select="$url.word"/>:</fo:inline>
+ <fo:basic-link external-destination="url({@targets})" font-family="monospace">
+ <xsl:apply-templates/>
+ </fo:basic-link>
+ </xsl:template>
<xsl:template match="r:contact/r:instantMessage">
<xsl:call-template name="contact">
@@ -888,6 +910,13 @@
</fo:list-block>
</xsl:template>
+<!-- link -> make link from href attribute -->
+ <xsl:template match="r:link">
+ <fo:basic-link external-destination="url({@href})" font-family="monospace">
+ <xsl:apply-templates/>
+ </fo:basic-link>
+ </xsl:template>
+
<!-- Format a single security clearance. -->
<xsl:template match="r:clearance">
<xsl:call-template name="bulletListItem">
Reply to: