[poppler] poppler/qt: poppler-document.cc, 1.2, 1.3 poppler-qt.h,
1.3, 1.4
Jeff Muizelaar
jrmuizel at freedesktop.org
Sun Apr 10 04:14:41 EST 2005
Update of /cvs/poppler/poppler/qt
In directory gabe:/tmp/cvs-serv22726/qt
Modified Files:
poppler-document.cc poppler-qt.h
Log Message:
2005-04-09 Jeff Muizelaar <jrmuizel at nit.ca>
* poppler-qt.h:
* poppler-document.cc (okToPrint, okToChange, okToCopy):
Patch from Albert Astals Cid adding more metadata exports
Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt/poppler-document.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- poppler-document.cc 8 Apr 2005 03:11:01 -0000 1.2
+++ poppler-document.cc 9 Apr 2005 18:14:39 -0000 1.3
@@ -239,6 +239,26 @@
return data->doc.isLinearized();
}
+bool Document::okToPrint() const
+{
+ return data->doc.okToPrint();
+}
+
+bool Document::okToChange() const
+{
+ return data->doc.okToChange();
+}
+
+bool Document::okToCopy() const
+{
+ return data->doc.okToCopy();
+}
+
+bool Document::okToAddNotes() const
+{
+ return data->doc.okToAddNotes();
+}
+
double Document::getPDFVersion() const
{
return data->doc.getPDFVersion();
Index: poppler-qt.h
===================================================================
RCS file: /cvs/poppler/poppler/qt/poppler-qt.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- poppler-qt.h 8 Apr 2005 03:11:01 -0000 1.3
+++ poppler-qt.h 9 Apr 2005 18:14:39 -0000 1.4
@@ -66,6 +66,10 @@
QString getInfo( const QString & data ) const;
bool isEncrypted() const;
bool isLinearized() const;
+ bool okToPrint() const;
+ bool okToChange() const;
+ bool okToCopy() const;
+ bool okToAddNotes() const;
double getPDFVersion() const;
Document::~Document();
More information about the poppler
mailing list