You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2017/01/05 15:31:58 UTC

[jira] [Commented] (FOP-2676) [PATCH] basic-link external-destination does not work for file URI with spaces.

    [ https://issues.apache.org/jira/browse/FOP-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15801650#comment-15801650 ] 

simon steiner commented on FOP-2676:
------------------------------------

what about using external-destination="file:///C:/temp/simple report.docx"

> [PATCH] basic-link external-destination does not work for file URI with spaces.
> -------------------------------------------------------------------------------
>
>                 Key: FOP-2676
>                 URL: https://issues.apache.org/jira/browse/FOP-2676
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: trunk, 2.1
>            Reporter: Eric Lim
>         Attachments: PDFFactory.java.patch, external_link_uri.fo, original.pdf, patched.pdf
>
>
> For example:
> <fo:basic-link external-destination="file:///C:/temp/simple%20report.docx" text-decoration="underline">simple report</fo:basic-link>
> Fails to find the correct target because the PDF link is
> << /Type /Filespec /F (/C:/temp/simple%20report.docx) >>
> It should be
> << /Type /Filespec /F (/C:/temp/simple report.docx) >>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)