aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfObjectReferenceDictionary_autogen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfObjectReferenceDictionary_autogen.cpp')
-rw-r--r--experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfObjectReferenceDictionary_autogen.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfObjectReferenceDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfObjectReferenceDictionary_autogen.cpp
new file mode 100644
index 0000000000..412a62d83e
--- /dev/null
+++ b/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfObjectReferenceDictionary_autogen.cpp
@@ -0,0 +1,22 @@
+#include "SkPdfObjectReferenceDictionary_autogen.h"
+
+std::string SkPdfObjectReferenceDictionary::Type() const {
+ std::string ret;
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &ret)) return ret;
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs
+ return "";
+}
+
+SkPdfDictionary* SkPdfObjectReferenceDictionary::Pg() const {
+ SkPdfDictionary* ret;
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Pg", "", &ret)) return ret;
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs
+ return NULL;
+}
+
+SkPdfObject* SkPdfObjectReferenceDictionary::Obj() const {
+ SkPdfObject* ret;
+ if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Obj", "", &ret)) return ret;
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs
+ return NULL;
+}