[poppler] poppler/qt4/src: poppler-private.h,1.22,1.23
Albert Astals Cid
aacid at kemper.freedesktop.org
Mon Apr 16 14:25:48 PDT 2007
Update of /cvs/poppler/poppler/qt4/src
In directory kemper:/tmp/cvs-serv27877/qt4/src
Modified Files:
poppler-private.h
Log Message:
* qt4/src/poppler-private.h:
Add the information about the open/close item in the DOM tree
of the TOC.
Index: poppler-private.h
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-private.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- poppler-private.h 24 Feb 2007 23:58:31 -0000 1.22
+++ poppler-private.h 16 Apr 2007 21:25:46 -0000 1.23
@@ -32,6 +32,7 @@
#if defined(HAVE_SPLASH)
#include <SplashOutputDev.h>
#endif
+#include <QtCore/QVariant>
class FormWidget;
@@ -192,7 +193,9 @@
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();
More information about the poppler
mailing list