cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Pope <benpop...@gmail.com>
Subject Re: Opening a PDF in a two page Spread view in a browser
Date Tue, 19 Jul 2005 18:14:55 GMT
Baskar Ganesh wrote:
> Hi all,
> 
> while trying to open a pdf in a Two page spread view(page layout as Continuous-Facing
> Pages),
> 
> in sitemap.xmap i am having a match as follows :-
> 
> <map:match pattern="renderPDF">
> 
> <map:read src="test.pdf" mime-type="application/pdf" />
> 
> </map:match >
> 
> I have the pdf rendered in the browser now.
> 
> And is there any attribute we can pass to map:read to set the page layout
> as Continuous-Facing Pages while opening.

Try:
pagelayout=twoleft

I can't make it work with the syntax mentioned by Geert Joston, though.

Ben

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


Mime
View raw message