[poppler] poppler/qt4/src: poppler-document.cc, 1.5, 1.6 poppler-qt4.h, 1.5, 1.6

Brad Hards bradh at freedesktop.org
Thu Jul 7 04:04:11 PDT 2005


Update of /cvs/poppler/poppler/qt4/src
In directory gabe:/tmp/cvs-serv5161/qt4/src

Modified Files:
	poppler-document.cc poppler-qt4.h 
Log Message:
Update for page mode - new mode from PDF-1.6, API docs fixes
and some tests.


Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-document.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- poppler-document.cc	6 Jul 2005 09:52:30 -0000	1.5
+++ poppler-document.cc	7 Jul 2005 11:04:08 -0000	1.6
@@ -105,6 +105,8 @@
 	    return FullScreen;
 	case Catalog::pageModeOC:
 	    return UseOC;
+	case Catalog::pageModeAttach:
+	    return UseAttach;
 	default:
 	    return UseNone;
 	}

Index: poppler-qt4.h
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-qt4.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- poppler-qt4.h	6 Jul 2005 09:52:30 -0000	1.5
+++ poppler-qt4.h	7 Jul 2005 11:04:08 -0000	1.6
@@ -179,11 +179,12 @@
 	   The mode
 	*/
 	enum PageMode {
-	    UseNone,     ///< No mode 
-	    UseOutlines, ///< Outline mode
-	    UseThumbs,   ///< Thumbnail mode
-	    FullScreen,  ///< Fullscreen mode
-	    UseOC        ///< OC mode
+	    UseNone,     ///< No mode - neither document outline nor thumbnail images are visible
+	    UseOutlines, ///< Document outline visible
+	    UseThumbs,   ///< Thumbnail images visible
+	    FullScreen,  ///< Fullscreen mode (no menubar, windows controls etc)
+	    UseOC,       ///< Optional content group panel visible
+	    UseAttach    ///< Attachments panel visible
 	};
   
 	/**
@@ -273,6 +274,9 @@
 
 	/**
 	   Test if the document is linearised
+
+	   In some cases, this is called "fast web view", since it
+	   is mostly an optimisation for viewing over the Web.
 	*/
 	bool isLinearized() const;
 



More information about the poppler mailing list