W3C home > Mailing lists > Public > www-svg@w3.org > August 2004

pageSet handling impl. and turorial

From: Jan-Klaas Kollhof <jan@kollhof.net>
Date: Thu, 12 Aug 2004 21:03:21 +0200
Message-ID: <411BBEF9.6060406@kollhof.net>
To: www-svg@w3.org

Hi,

I forgot to mention  some things about the pageSet handling.
As said yesterday, motjuvie now supports pageSets and handles them
by diplaying each page one after another when the user hits certain keys.

Now, the whole logic is not impl. in motjuview itself but rather in JS.
The viewer actually only takes care of loading a document, exposing some 
functions to the
SVG's script  and the most important part: it loads an init script.
This script basically contains the logic of motjuvie.

So if you want to see how page handling is done in motjuvie just have a 
look at the init.js
It also adds some features useable for presentation slides (showing 
items on the page one after another).

This code could be actually used to write SVGs with page handling like 
the following which is part of a tutorial:
http://jan.kollhof.net/projects/svg/motjuvie/present.svg

The  tutorial on  how to create presentations for motjuvie.
http://jan.kollhof.net/projects/svg/motjuvie/present.xhtml

The code is still a bit dirty and will not work in Batik because batik 
does not know of pageSet elements.
when namespacing them then batik displays the pages nicely (except sub 
item visibility changes, all are displayed ).

Jan
Received on Thursday, 12 August 2004 19:00:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:53 UTC