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

2012-07-10 Thread Pascal Sancho
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 webmas...@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=2amp;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-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



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

2012-07-10 Thread Chris Bowditch

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=2amp;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#mydestinationFOP 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-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org







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