This question came up a couple times this past week. SVG 1.2 (which we don't yet support) provides a method for doing multiple paged documents:
http://www.w3.org/TR/SVG12/multipage.html
Example:
<svg xmlns="http://www.w3.org/2000/svg" version="1.2">
<pageSet>
<!-- here is the first page --> <page> <circle cx="100" cy="100" r="20" fill="blue"/> </page>
<!-- here is the second page --> <page> <rect x="100" y="100" width="20" height="20" fill="red"/> </page>
</pageSet>
</svg>
Bryce
I have always thought that being able to support this would obviate the need for Inkview to handle zip bundles of files. If every Document was a collection of pages, it would be very easy to advance through them.
I guess there would be a need to decide whether the GUI shadows the shape of the document and its pages (Desktop--->page view), or just provides a view to the current page (Desktop->document view). In the first case, we would need to change our idea of "active document," but we wouldn't with the second.
We could assume that a loaded document has a pageSet with one page, but might need to switch it off during a save, to make it loadable for some programs.
Bob
Bryce Harrington wrote:
This question came up a couple times this past week. SVG 1.2 (which we don't yet support) provides a method for doing multiple paged documents:
http://www.w3.org/TR/SVG12/multipage.html
Example:
<svg xmlns="http://www.w3.org/2000/svg" version="1.2">
<pageSet>
<!-- here is the first page --> <page> <circle cx="100" cy="100" r="20" fill="blue"/> </page> <!-- here is the second page --> <page> <rect x="100" y="100" width="20" height="20" fill="red"/> </page>
</pageSet>
</svg>
Bryce
Now that we have the layer stuff is implemented cant we treat these as a set of mutually exclusive top level layers? ie you can only display one at a time, and only work on one and its children at any given time. just a thought.
John
--- Bryce Harrington <bryce@...1...> wrote:
This question came up a couple times this past week. SVG 1.2 (which we don't yet support) provides a method for doing multiple paged documents:
http://www.w3.org/TR/SVG12/multipage.html
Example:
<svg xmlns="http://www.w3.org/2000/svg" version="1.2">
<pageSet>
<!-- here is the first page --> <page> <circle cx="100" cy="100" r="20" fill="blue"/> </page> <!-- here is the second page --> <page> <rect x="100" y="100" width="20" height="20" fill="red"/> </page>
</pageSet>
</svg>
Bryce
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com
On Mon, 20 Dec 2004, John Cliff wrote:
Now that we have the layer stuff is implemented cant we treat these as a set of mutually exclusive top level layers? ie you can only display one at a time, and only work on one and its children at any given time. just a thought.
Yes, at least mostly.
That would be part of the reason I introduced SPDesktop::currentRoot() with the layers stuff, although we need a lot more work before we can have an SPDesktop::setCurrentRoot() analogous to SPDesktop::setCurrentLayer().
I'm also not 100% sure it would be sufficient for implementing SVG 1.2 pagination; it's been a while since I've looked.
-mental
participants (4)
-
Bob Jamison
-
Bryce Harrington
-
John Cliff
-
MenTaLguY