xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "simon steiner (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FOP-2869) [PATCH] basic-link to embedded file breaks with encryption
Date Fri, 05 Jul 2019 08:56:00 GMT

     [ https://issues.apache.org/jira/browse/FOP-2869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

simon steiner reassigned FOP-2869:
----------------------------------

    Assignee: simon steiner

> [PATCH] basic-link to embedded file breaks with encryption
> ----------------------------------------------------------
>
>                 Key: FOP-2869
>                 URL: https://issues.apache.org/jira/browse/FOP-2869
>             Project: FOP
>          Issue Type: Bug
>            Reporter: Juan
>            Assignee: simon steiner
>            Priority: Minor
>         Attachments: link-embedded-fix.patch, test-case.fo
>
>
> When processing a document with encryption and using with tag:
> <fo:basic-link external-destination="embedded-file:some.pdf">The link to some file
> </fo:basic-link>
> The output pdf link doesn't work. 
> The same input, without encryption works as expected.
> About the Patch:
>  * This is related to FOP-916, applied the same fix but to PDFJavaScriptLaunchAction
instead of PDFUri and extracted the common method into the parent class PDFAction.
>  * The extracted method implementation, is still very similar to 'encodeString' from
PDFObject, just adds a 'getDocument() != null' condition (wich seems to be required for
PDFActions)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message