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 bu...@apache.org on 2009/08/26 21:47:25 UTC

DO NOT REPLY [Bug 47745] New: External links in form "url()" don't resolved correctly in rtf export

https://issues.apache.org/bugzilla/show_bug.cgi?id=47745

           Summary: External links in form "url(<link>)" don't resolved
                    correctly in rtf export
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: major
          Priority: P2
         Component: rtf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: pmolchanov@idsk.com


--- Comment #0 from Pavel Molchanov <pm...@idsk.com> 2009-08-26 12:47:24 PDT ---
It's a valid form to have 

<fo:basic-link external-destination="url(http://www.mysite.com)" />

PDF export is working fine and transform link to form: http://www.mysite.com

RTF doesn't transform links and pass full link url(http://www.mysite.com) to
the output. The link appears broken.

The fix is rather easy. In the file org.apache.fop.render.rtf.RTFHandler.java:

link.setExternalURL(basicLink.getExternalDestination());

must be replaced with:

link.setExternalURL(URISpecification.getURL(basicLink.getExternalDestination()));

Patch is attached.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47745] [PATCH] External links in form "url()" are not resolved correctly in rtf export

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47745

--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:42:15 UTC ---
resetting P2 open bugs to P3 pending further review

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47745] External links in form "url()" don't resolved correctly in rtf export

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47745



--- Comment #1 from Pavel Molchanov <pm...@idsk.com> 2009-08-26 12:48:13 PDT ---
Created an attachment (id=24172)
Patch for org.apache.fop.render.rtf.RTFHandler.java

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47745] [PATCH] External links in form "url()" are not resolved correctly in rtf export

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47745

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal

--- Comment #2 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:37:35 UTC ---
resetting severity from major to normal pending further review

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47745] [PATCH] External links in form "url()" are not resolved correctly in rtf export

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47745

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

--- Comment #4 from Glenn Adams <ga...@apache.org> 2012-04-11 03:22:31 UTC ---
increase priority for bugs with a patch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47745] [PATCH] External links in form "url()" are not resolved correctly in rtf export

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47745

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47745] External links in form "url()" are not resolved correctly in rtf export

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47745


Pavel Molchanov <pm...@idsk.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|External links in form      |External links in form
                   |"url(<link>)" don't         |"url(<link>)" are not
                   |resolved correctly in rtf   |resolved correctly in rtf
                   |export                      |export


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47745] [PATCH] External links in form "url()" are not resolved correctly in rtf export

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47745


Jeremias Maerki <je...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable
            Summary|External links in form      |[PATCH] External links in
                   |"url(<link>)" are not       |form "url(<link>)" are not
                   |resolved correctly in rtf   |resolved correctly in rtf
                   |export                      |export


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.