this way we can load resources of 0 bytes (not much useful per-se, but at least we know they are actually existing in the epub archive)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182899
When iterating through the document HTML files, set in the epub document the URL of the current file being loaded,
so it is possible to resolve the locations of resources based on the base URL of the current file.
This makes it possible to load resources like "foo.css", "somedir/foo.css", "../somedir/foo.css" and so on.
BUG: 198764
FIXED-IN: 4.6
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182629
It will now try to load toc elements which are not part of the spine and put them
in the end of the document.
Also toc element which points to nowhere, will now point to the first page
as okular mandate some block for addTitle
svn path=/trunk/KDE/kdegraphics/okular/; revision=795292