You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by polymorphisme <we...@polymorphisme.org> on 2012/07/09 20:59:02 UTC

fox:destination is it obsolete with FOP 1.0 ?

Hello,

at this time, I use the links for write a PDF book, with FOP 1.0
In the FOP's site, I have read the section 
http://xmlgraphics.apache.org/fop/1.0/extensions.html#named-destinations
Anchors or Named Destinations .

Too, when a test the snippet code following :

 <fo:basic-link
external-destination="http://expositions.bnf.fr/ciel/maths/pdf/mesurl1.pdf#page=2&amp;zoom=50">Mesure</fo:basic-link>

this link works very well :) So, the extention fox:destination is it
obsolete with FOP 1.0 ?

Regards.

--
View this message in context: http://apache-fop.1065347.n5.nabble.com/fox-destination-is-it-obsolete-with-FOP-1-0-tp36294.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: fox:destination is it obsolete with FOP 1.0 ?

Posted by Pascal Sancho <ps...@gmail.com>.
Hi,

no, fox:destination is still in use and it doesn't replace the syntax
you are speaking about.
With fox:destination, your destination can be in whatever page; if a
new version of your doc results in changing the page number of your
target, you don't need to change the url.

2012/7/9 polymorphisme <we...@polymorphisme.org>:
> Hello,
>
> at this time, I use the links for write a PDF book, with FOP 1.0
> In the FOP's site, I have read the section
> http://xmlgraphics.apache.org/fop/1.0/extensions.html#named-destinations
> Anchors or Named Destinations .
>
> Too, when a test the snippet code following :
>
>  <fo:basic-link
> external-destination="http://expositions.bnf.fr/ciel/maths/pdf/mesurl1.pdf#page=2&amp;zoom=50">Mesure</fo:basic-link>
>
> this link works very well :) So, the extention fox:destination is it
> obsolete with FOP 1.0 ?
>
> Regards.
>
> --
> View this message in context: http://apache-fop.1065347.n5.nabble.com/fox-destination-is-it-obsolete-with-FOP-1-0-tp36294.html
> Sent from the FOP - Users mailing list archive at Nabble.com.



-- 
pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: fox:destination is it obsolete with FOP 1.0 ?

Posted by Chris Bowditch <bo...@hotmail.com>.
On 09/07/2012 19:59, polymorphisme wrote:
> Hello,

Hi,

>
> at this time, I use the links for write a PDF book, with FOP 1.0
> In the FOP's site, I have read the section
> http://xmlgraphics.apache.org/fop/1.0/extensions.html#named-destinations
> Anchors or Named Destinations .
>
> Too, when a test the snippet code following :
>
>   <fo:basic-link
> external-destination="http://expositions.bnf.fr/ciel/maths/pdf/mesurl1.pdf#page=2&amp;zoom=50">Mesure</fo:basic-link>
>
> this link works very well :) So, the extention fox:destination is it
> obsolete with FOP 1.0 ?

I don't believe fox:destination is obselete in FOP 1.0

fox:destination is about exposing links in the FOP generated PDF to 
external Applications. The link you cited above looks like a reference 
from the FOP generated PDF to another non FOP generated PDF. In fact the 
PDF Producer of that PDF is "Acrobat PDFWriter 3.0.2" not FOP. So 
Acrobat PDFWriter is adding the Destination not FOP.

fox:destination is needed where you want to do something like:

<html>
<body>
<a href="fop-generated.pdf#mydestination">FOP PDF</a>
</body>
</html>

Thanks,

Chris

>
> Regards.
>
> --
> View this message in context: http://apache-fop.1065347.n5.nabble.com/fox-destination-is-it-obsolete-with-FOP-1-0-tp36294.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org