Commit 3b7aa33f authored by Pino Toscano's avatar Pino Toscano

if available, support URLs destinations for items

(using poppler HEAD of 5 minutes ago or more recent)

svn path=/trunk/KDE/kdegraphics/okular/; revision=890892
parent 5bfb9dca
......@@ -1246,6 +1246,7 @@ void PDFGenerator::addSynopsisChildren( QDomNode * parent, QDomNode * parentDest
item.setAttribute( "Viewport", vp.toString() );
}
if (!e.attribute("Open").isNull()) item.setAttribute("Open", e.attribute("Open"));
if (!e.attribute("DestinationURI").isNull()) item.setAttribute("URL", e.attribute("DestinationURI"));
// descend recursively and advance to the next node
if ( e.hasChildNodes() ) addSynopsisChildren( &n, & item );
......
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