aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfSubmitFormActionDictionary_autogen.cpp
diff options
context:
space:
mode:
authorGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-28 22:01:06 +0000
committerGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-28 22:01:06 +0000
commit5d41b36dd5bf6832c0fe02645cb3f911b7fa7c4b (patch)
treefc5e53647020d784e498c033b3bf45e24f1e6006 /experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfSubmitFormActionDictionary_autogen.cpp
parent1e34b34a6caf16318945b6e933e5017e9ee89d7c (diff)
refactor folders to make prepare for native pdf parser
Review URL: https://codereview.chromium.org/18179007 git-svn-id: http://skia.googlecode.com/svn/trunk@9825 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfSubmitFormActionDictionary_autogen.cpp')
-rw-r--r--experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfSubmitFormActionDictionary_autogen.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfSubmitFormActionDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfSubmitFormActionDictionary_autogen.cpp
new file mode 100644
index 0000000000..e269184745
--- /dev/null
+++ b/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfSubmitFormActionDictionary_autogen.cpp
@@ -0,0 +1,29 @@
+#include "SkPdfSubmitFormActionDictionary_autogen.h"
+
+std::string SkPdfSubmitFormActionDictionary::S() const {
+ std::string ret;
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret;
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs
+ return "";
+}
+
+SkPdfFileSpec SkPdfSubmitFormActionDictionary::F() const {
+ SkPdfFileSpec ret;
+ if (FileSpecFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)) return ret;
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs
+ return SkPdfFileSpec();
+}
+
+SkPdfArray* SkPdfSubmitFormActionDictionary::Fields() const {
+ SkPdfArray* ret;
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Fields", "", &ret)) return ret;
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs
+ return NULL;
+}
+
+long SkPdfSubmitFormActionDictionary::Flags() const {
+ long ret;
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Flags", "", &ret)) return ret;
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs
+ return 0;
+}