W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2001

Re: PDF bookmarks (was: Re: extensions to FO)

From: Arved Sandstrom <Arved_37@chebucto.ns.ca>
Date: Sun, 4 Feb 2001 19:00:59 -0400
To: <www-xsl-fo@w3.org>
Message-Id: <01020419034200.01246@localhost.localdomain>
I quite like it myself.

Regards,
Arved

On Sun, 04 Feb 2001, Nikolai Grigoriev wrote:
>
> What if we create a separate bookmark tree as a top-level element outside
> fo:page-sequences (e.g. immediately after fo:declarations), like a table of
> content:
> 
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
>          xmlns:fox="http://www.w3.org/2001/XSL/Format/Extensions">
>   <fo:layout-master-set>...</fo:layout-master-set>
> 
>   <fox:bookmark internal-destination="whole-document">
>      <fox:label>My Document</fox:label>
>      <fox:bookmark internal-destination="intro">
>         <fox:label>Introduction</fox:label>
>      </fox:bookmark>
>      <fox:bookmark internal-destination="sect-1">
>         <fox:label>Section 1 Title</fox:label>
>         <fox:bookmark internal-destination="subsect-1-1">
>            <fox:label>Subsection 1.1 Title</fox:label>
>         </fox:bookmark>
>         .....
>     </fox:bookmark>
>     .....
>   </fox:bookmark>
> 
>   <fo:page-sequence .....>
>   ... ... ... ...
> 
> The "fox:" prefix stands for "FO eXtensions" :-).
> The features are:
> 
> 1) No standard elements are redefined - only extension
>    elements are used.
> 2) The whole thing is atomic - dropping it as a whole
>    makes no damage.
> 3) The tree ordering of bookmarks is imposed by the syntax.
> 4) The bookmark tree is arbitrary, and not constrained by
>    the logical structure of divisions in the document.
> 5) (implementation-specific) The implementation is similar
>    to fo:basic-link[@internal-destination] - activation
>    behaviour is essentially the same.
> 
> What do you think of it?
> 
> Regards,
> Nikolai
Received on Sunday, 4 February 2001 18:08:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT