]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Outline.h
Fix mouse wheel scrolling
[evince.git] / pdf / xpdf / Outline.h
index dc79252a801379e5a79427e837816aa9e487ecad..f38f8d1612107ea988da9c9bb3dabc9afdd8d64e 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Outline.h
 //
 //
 // Outline.h
 //
-// Copyright 2002 Glyph & Cog, LLC
+// Copyright 2002-2003 Glyph & Cog, LLC
 //
 //========================================================================
 
 //
 //========================================================================
 
@@ -47,7 +47,8 @@ public:
   OutlineItem(Dict *dict, XRef *xrefA);
   ~OutlineItem();
 
   OutlineItem(Dict *dict, XRef *xrefA);
   ~OutlineItem();
 
-  static GList *readItemList(Object *itemRef, XRef *xrefA);
+  static GList *readItemList(Object *firstItemRef, Object *lastItemRef,
+                            XRef *xrefA);
 
   void open();
   void close();
 
   void open();
   void close();
@@ -66,6 +67,7 @@ private:
   int titleLen;
   LinkAction *action;
   Object firstRef;
   int titleLen;
   LinkAction *action;
   Object firstRef;
+  Object lastRef;
   Object nextRef;
   GBool startsOpen;
   GList *kids;                 // NULL unless this item is open [OutlineItem]
   Object nextRef;
   GBool startsOpen;
   GList *kids;                 // NULL unless this item is open [OutlineItem]