Index: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFDFNamedPageReferenceDictionary_autogen.cpp |
diff --git a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFDFNamedPageReferenceDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFDFNamedPageReferenceDictionary_autogen.cpp |
deleted file mode 100644 |
index 2fd62f5e498333476250aa61a2cbd143659d6889..0000000000000000000000000000000000000000 |
--- a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFDFNamedPageReferenceDictionary_autogen.cpp |
+++ /dev/null |
@@ -1,33 +0,0 @@ |
-/* |
- * 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 "SkPdfFDFNamedPageReferenceDictionary_autogen.h" |
-#include "SkPdfNativeDoc.h" |
- |
-SkString SkPdfFDFNamedPageReferenceDictionary::Name(SkPdfNativeDoc* doc) { |
- SkPdfNativeObject* ret = get("Name", ""); |
- if (doc) {ret = doc->resolveReference(ret);} |
- if ((ret != NULL && ret->isAnyString()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->stringValue2(); |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return SkString(); |
-} |
- |
-bool SkPdfFDFNamedPageReferenceDictionary::has_Name() const { |
- return get("Name", "") != NULL; |
-} |
- |
-SkPdfFileSpec SkPdfFDFNamedPageReferenceDictionary::F(SkPdfNativeDoc* doc) { |
- SkPdfNativeObject* ret = get("F", ""); |
- if (doc) {ret = doc->resolveReference(ret);} |
- if ((ret != NULL && false) || (doc == NULL && ret != NULL && ret->isReference())) return ret->fileSpecValue(); |
- // TODO(edisonn): warn about missing default value for optional fields |
- return SkPdfFileSpec(); |
-} |
- |
-bool SkPdfFDFNamedPageReferenceDictionary::has_F() const { |
- return get("F", "") != NULL; |
-} |