| Index: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfWebCaptureImageSetDictionary_autogen.cpp
|
| diff --git a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfWebCaptureImageSetDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfWebCaptureImageSetDictionary_autogen.cpp
|
| deleted file mode 100644
|
| index 3daadfbd7706f285a3a0643ef2c8e33f421b4a8f..0000000000000000000000000000000000000000
|
| --- a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfWebCaptureImageSetDictionary_autogen.cpp
|
| +++ /dev/null
|
| @@ -1,53 +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 "SkPdfWebCaptureImageSetDictionary_autogen.h"
|
| -#include "SkPdfNativeDoc.h"
|
| -
|
| -SkString SkPdfWebCaptureImageSetDictionary::S(SkPdfNativeDoc* doc) {
|
| - SkPdfNativeObject* ret = get("S", "");
|
| - if (doc) {ret = doc->resolveReference(ret);}
|
| - if ((ret != NULL && ret->isName()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->nameValue2();
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return SkString();
|
| -}
|
| -
|
| -bool SkPdfWebCaptureImageSetDictionary::has_S() const {
|
| - return get("S", "") != NULL;
|
| -}
|
| -
|
| -bool SkPdfWebCaptureImageSetDictionary::isRAInteger(SkPdfNativeDoc* doc) {
|
| - SkPdfNativeObject* ret = get("R", "");
|
| - if (doc) {ret = doc->resolveReference(ret);}
|
| - return ret != NULL && ret->isInteger();
|
| -}
|
| -
|
| -int64_t SkPdfWebCaptureImageSetDictionary::getRAsInteger(SkPdfNativeDoc* doc) {
|
| - SkPdfNativeObject* ret = get("R", "");
|
| - if (doc) {ret = doc->resolveReference(ret);}
|
| - if ((ret != NULL && ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue();
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return 0;
|
| -}
|
| -
|
| -bool SkPdfWebCaptureImageSetDictionary::isRAArray(SkPdfNativeDoc* doc) {
|
| - SkPdfNativeObject* ret = get("R", "");
|
| - if (doc) {ret = doc->resolveReference(ret);}
|
| - return ret != NULL && ret->isArray();
|
| -}
|
| -
|
| -SkPdfArray* SkPdfWebCaptureImageSetDictionary::getRAsArray(SkPdfNativeDoc* doc) {
|
| - SkPdfNativeObject* ret = get("R", "");
|
| - if (doc) {ret = doc->resolveReference(ret);}
|
| - if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| -}
|
| -
|
| -bool SkPdfWebCaptureImageSetDictionary::has_R() const {
|
| - return get("R", "") != NULL;
|
| -}
|
|
|