summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFormFieldActionsDictionary_autogen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFormFieldActionsDictionary_autogen.cpp')
-rw-r--r--chromium/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFormFieldActionsDictionary_autogen.cpp57
1 files changed, 57 insertions, 0 deletions
diff --git a/chromium/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFormFieldActionsDictionary_autogen.cpp b/chromium/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFormFieldActionsDictionary_autogen.cpp
new file mode 100644
index 00000000000..86b89c71bb2
--- /dev/null
+++ b/chromium/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFormFieldActionsDictionary_autogen.cpp
@@ -0,0 +1,57 @@
+/*
+ * Copyright 2013 Google Inc.
+
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "SkPdfFormFieldActionsDictionary_autogen.h"
+#include "SkPdfNativeDoc.h"
+
+SkPdfDictionary* SkPdfFormFieldActionsDictionary::K(SkPdfNativeDoc* doc) {
+ SkPdfNativeObject* ret = get("K", "");
+ if (doc) {ret = doc->resolveReference(ret);}
+ if ((ret != NULL && ret->isDictionary()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfDictionary*)ret;
+ // TODO(edisonn): warn about missing default value for optional fields
+ return NULL;
+}
+
+bool SkPdfFormFieldActionsDictionary::has_K() const {
+ return get("K", "") != NULL;
+}
+
+SkPdfDictionary* SkPdfFormFieldActionsDictionary::F(SkPdfNativeDoc* doc) {
+ SkPdfNativeObject* ret = get("F", "");
+ if (doc) {ret = doc->resolveReference(ret);}
+ if ((ret != NULL && ret->isDictionary()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfDictionary*)ret;
+ // TODO(edisonn): warn about missing default value for optional fields
+ return NULL;
+}
+
+bool SkPdfFormFieldActionsDictionary::has_F() const {
+ return get("F", "") != NULL;
+}
+
+SkPdfDictionary* SkPdfFormFieldActionsDictionary::V(SkPdfNativeDoc* doc) {
+ SkPdfNativeObject* ret = get("V", "");
+ if (doc) {ret = doc->resolveReference(ret);}
+ if ((ret != NULL && ret->isDictionary()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfDictionary*)ret;
+ // TODO(edisonn): warn about missing default value for optional fields
+ return NULL;
+}
+
+bool SkPdfFormFieldActionsDictionary::has_V() const {
+ return get("V", "") != NULL;
+}
+
+SkPdfDictionary* SkPdfFormFieldActionsDictionary::C(SkPdfNativeDoc* doc) {
+ SkPdfNativeObject* ret = get("C", "");
+ if (doc) {ret = doc->resolveReference(ret);}
+ if ((ret != NULL && ret->isDictionary()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfDictionary*)ret;
+ // TODO(edisonn): warn about missing default value for optional fields
+ return NULL;
+}
+
+bool SkPdfFormFieldActionsDictionary::has_C() const {
+ return get("C", "") != NULL;
+}