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

Unified Diff: experimental/PdfViewer/SkPdfFDFCatalogDictionary_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/SkPdfFDFCatalogDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfFDFCatalogDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfFDFCatalogDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in the FDF catalog dictionary
class SkPdfFDFCatalogDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kFDFCatalogDictionary_SkPdfObjectType;}
@@ -521,6 +522,19 @@
SkPdfFDFCatalogDictionary& operator=(const SkPdfFDFCatalogDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Optional; PDF 1.4) The version of the PDF specification to which
+ * this FDF file conforms (for example, 1.4), if later than the version
+ * specified in the file's header (see "FDF Header" on page 559). If the
+ * header specifies a later version, or if this entry is absent, the docu-
+ * ment conforms to the version specified in the header.
+ * Note: The value of this entry is a name object, not a number, and so
+ * must be preceded by a slash character (/) when written in the FDF file
+ * (for example, /1.4).
+**/
+ bool has_Version() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Version", "", NULL));
+ }
+
std::string Version() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Version", "", &ret)) return ret;
@@ -528,6 +542,12 @@
return "";
}
+/** (Required) The FDF dictionary for this file (see Table 8.69).
+**/
+ bool has_FDF() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FDF", "", NULL));
+ }
+
SkPdfDictionary* FDF() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FDF", "", &ret)) return ret;
« no previous file with comments | « experimental/PdfViewer/SkPdfEncryptionCommonDictionary_autogen.h ('k') | experimental/PdfViewer/SkPdfFDFDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698