Commit ba74bb3b authored by Albert Astals Cid's avatar Albert Astals Cid

* qt4/src/poppler-private.h:

       Add the information about the open/close item in the DOM tree
       of the TOC.
parent 6c7969f3
2007-04-15 Pino Toscano <pino@kde.org>
reviewed by: Albert Astals Cid <aacid@kde.org>
* qt4/src/poppler-private.h:
Add the information about the open/close item in the DOM tree
of the TOC.
2007-04-15 Albert Astals Cid <aacid@kde.org>
* utils/HtmlFonts.cc: Fix rendering of text colors on complex mode.
......
......@@ -32,6 +32,7 @@
#if defined(HAVE_SPLASH)
#include <SplashOutputDev.h>
#endif
#include <QtCore/QVariant>
class FormWidget;
......@@ -192,7 +193,9 @@ namespace Poppler {
item.setAttribute( "ExternalFileName", g2->getFileName()->getCString() );
}
}
item.setAttribute( "Open", QVariant( (bool)outlineItem->isOpen() ).toString() );
// 3. recursively descend over children
outlineItem->open();
GooList * children = outlineItem->getKids();
......
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