Linking SVG-test to Nameddest in PDF

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Linking SVG-test to Nameddest in PDF

markus.sticker.epos

Hi,

 

I just trying to link form an embedded svg to the title of the next chapter within the same pdf.

Is that possible with FOP and batik?

 

This is what I tried these days:

 

  <a xlink:href="#abc"

     xlink:title="Verweis zu einer SVG-Grafik">

    <rect x="10" y="60" ry="5" width="40" height="40"

    style="fill:mintcream; stroke:black;" />

  </a>

 

  <a xlink:href="url(#nameddest=abc)"

     xlink:title="Verweis zu www.w3.org">

    <rect x="10" y="110" ry="5" width="40" height="40"

    style="fill:chartreuse; stroke:black;" />

  </a>

 

Without success.

Kind regards

Markus

 

Reply | Threaded
Open this post in threaded view
|

Re: Linking SVG-test to Nameddest in PDF

Matthias Reischenbacher

Hi,

as far as I know, this is currently not possible, but you could try the following patch:

https://issues.apache.org/jira/browse/FOP-1648

BR,

Matthias

On 09.06.2016 07:09, [hidden email] wrote:

Hi,

 

I just trying to link form an embedded svg to the title of the next chapter within the same pdf.

Is that possible with FOP and batik?

 

This is what I tried these days:

 

  <a xlink:href="#abc"

     xlink:title="Verweis zu einer SVG-Grafik">

    <rect x="10" y="60" ry="5" width="40" height="40"

    style="fill:mintcream; stroke:black;" />

  </a>

 

  <a xlink:href="url(#nameddest=abc)"

     xlink:title="Verweis zu www.w3.org">

    <rect x="10" y="110" ry="5" width="40" height="40"

    style="fill:chartreuse; stroke:black;" />

  </a>

 

Without success.

Kind regards

Markus