Commit 67438034 authored by Pino Toscano's avatar Pino Toscano

supports url's as destination of toc items

(although i have no djvu documents with such stuff, so i could not test it properly)

svn path=/trunk/KDE/kdegraphics/okular/; revision=890903
parent 090d1ec8
......@@ -47,6 +47,10 @@ static void recurseCreateTOC( QDomDocument &maindoc, const QDomNode &parent, QDo
vp.pageNumber = dest.toInt() - 1;
newel.setAttribute( "Viewport", vp.toString() );
}
else if ( !( dest = el.attribute( "URL" ) ).isEmpty() )
{
newel.setAttribute( "URL", dest );
}
if ( el.hasChildNodes() )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment