Add very raw page loading using links
(bzr r15727)
-
Owner
What does this actually do? Is there a well specified plan?
-
Owner
It would be nice if JessyInk were integrated into multi-page support.
-
Maintainer
When I was looking at it yesterday I tried something like
<a xlink:href="another.svg" xlink:type="page"><text>test</text></a>
which crashed Inkscape...
(I'm not sure if this is even how it's supposed to be used, though)
-
Owner
I've documented the plan, but I can't find it right now (must have hidden it good).
The brief grand idea is:
- Add page links so that a first page can reference other pages
- Allow zip files to be opened, which unpacks multiple svg files (and png and css files if needed)
- Add navigation to user interface so one can move from previous the next page
- Add page add and remove to interface, allowing page settings to inherit from previous page.
- Add pdf export and import for multiple pages.
This is a part of the 'odf' style document zip file solution. It's not the only way of doing multi-pages though.
-
Why not use a much more "safe" approach? For example:
- A page is just fixed rectangle ( <svg:rect id="rect001" inkscape:page="page001"> ) with the "inkscape:page", position fixed but selectable, and with size equal to the page.
- A multi page document is just another rectangle to the right of the first one. Etc.
- Export to PDF could work just calling --export-pdf adding the support --export-area that of the rectangle "page"; and then use some kind of opensource pdf merger as dependency to merge the created PDFs.
The benefit of this approach is that you can move objects around between pages, with the groups/layers you want, etc. without having any problem with compatibility and without any need to learn anything new but just to keep the items you want in a page inside a rectangle...
-
mentioned in issue ux#16