- From: Sebastian Rahtz <sebastian.rahtz@computing-services.oxford.ac.uk>
- Date: Sun, 4 Feb 2001 19:56:59 +0000
- To: grig@renderx.com
- Cc: www-xsl-fo@w3.org
Nikolai Grigoriev writes: > 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: I like it! > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" > xmlns:fox="http://www.w3.org/2001/XSL/Format/Extensions"> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ interesting. I know we can call it what we like, but morally I'd expect to consult the W3C about that > <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> I cannot see any reason why this should not work. except that for neatness I'd enclose all the toplevel fox:bookmarks in their own wrapper element <fox:pdfextensions>. Because if we go down this line there are plenty of other PDF-specific things one could get in here; these include - setting default view and startup mode - removing menu bar - page transition style - pdf title, subject, creator etc seriously, if you want to produce `real world' PDF files, these are all pretty important. > What do you think of it? I think, trying to read Kelly's mind, that she was trying to do two things at the same time, viz make bookmarks, and also put some clues into the FO about the structure from which it was derived. The aim is laudable, and I can imagine that one might *also* want to support some derived PDF outlines as she proposed. the real problem, for some people, with this proposal is that it requires the FO generator to make another pass over the source. But I for one will happily adopt it if others agree. sebastian
Received on Sunday, 4 February 2001 15:53:59 UTC