Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: experimental/PdfViewer/SkPdfEncryptedEmbeddedFileStreamDictionary_autogen.h

Issue 16975013: Deal with ca and CA transparency operators in pdf. add comments to generated classes. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/SkPdfEncryptedEmbeddedFileStreamDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfEncryptedEmbeddedFileStreamDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfEncryptedEmbeddedFileStreamDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Additional entry in an embedded file stream dictionary for an encrypted FDF file
class SkPdfEncryptedEmbeddedFileStreamDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kEncryptedEmbeddedFileStreamDictionary_SkPdfObjectType;}
@@ -521,6 +522,14 @@
SkPdfEncryptedEmbeddedFileStreamDictionary& operator=(const SkPdfEncryptedEmbeddedFileStreamDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required if the FDF file is encrypted; PDF 1.4) The revision number of the
+ * FDF encryption algorithm used to encrypt the file. The only valid value
+ * defined at the time of publication is 1.
+**/
+ bool has_EncryptionRevision() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "EncryptionRevision", "", NULL));
+ }
+
long EncryptionRevision() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "EncryptionRevision", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698