xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: PDF Destinations
Date Thu, 24 Aug 2006 12:40:20 GMT
andyrob_24_7@yahoo.com wrote:

> Could you give me some advice on how to achieve them. I had thought it was the fo:bookmark
tag that was needed, but I'm guessing it's not.
> 
> Any help and examples would be very gratefully recieved.

Here is a small test file that I ran against FOP Trunk code:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<fo:simple-page-master master-name="a4" margin="5mm" 
page-width="210mm" page-height="297mm">
			<fo:region-body/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:bookmark-tree>
		<fo:bookmark internal-destination="2ndpage">
			<fo:bookmark-title>The Second Page</fo:bookmark-title>
		</fo:bookmark>
	</fo:bookmark-tree>
	<fo:page-sequence master-reference="a4">
		<fo:flow flow-name="xsl-region-body">
			<fo:block>The first page</fo:block>
			<fo:block break-before="page" id="2ndpage">This is the Second 
Page</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>


Chris




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


Mime
View raw message