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

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

From: Kelly Campbell <camk@channelpoint.com>
Date: Sat, 3 Feb 2001 16:44:53 -0700
Message-ID: <E583503B7F57D41196A600D0B76FDDD54B29B4@cpex2.channelpoint.com>
To: "'Nikolai Grigoriev '" <grig@renderx.com>, "'www-xsl-fo@w3.org '" <www-xsl-fo@w3.org>
How about this as a compromise:

Add a custom attribute to fo:wrapper to denote an outline entry. e.g.

<fo:wrapper pdf:outline-label="Section 1">
  <fo:block>Section 1</fo:block>
  <fo:wrapper pdf:outline-label="Subsection 1.1">
     <fo:block>Subsection 1.1</fo:block>
  </fo:wrapper>
</fo:wrapper>

Then we get a spec-compliant solution with no loose interpretation of the
xslt tree bit, and we don't overload the fo:marker with an additional use. 

Comments?

-Kelly

-----Original Message-----
From: Nikolai Grigoriev
To: www-xsl-fo@w3.org
Sent: 2/3/01 1:55 PM
Subject: Re: PDF bookmarks (was: Re: extensions to FO)



<fo:wrapper>
  <fo:marker role="bookmark">Section Heading 1</fo:marker>
  <fo:block>Section Heading 1</fo:block>
    ... text of Section 1 ...
   <fo:wrapper>
      <fo:marker role="bookmark">Section Subheading 1.1</fo:marker>
      <fo:block>Section Subheading 1.1</fo:block>
    ... text of Subsection 1.1 ...
   </fo:wrapper>
</fo:wrapper>
Received on Saturday, 3 February 2001 18:46:09 GMT

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