| Index: experimental/PdfViewer/autogen/SkPdfIccProfileStreamDictionary_autogen.cpp
|
| ===================================================================
|
| --- experimental/PdfViewer/autogen/SkPdfIccProfileStreamDictionary_autogen.cpp (revision 0)
|
| +++ experimental/PdfViewer/autogen/SkPdfIccProfileStreamDictionary_autogen.cpp (revision 0)
|
| @@ -0,0 +1,37 @@
|
| +#include "SkPdfIccProfileStreamDictionary_autogen.h"
|
| +
|
| +long SkPdfIccProfileStreamDictionary::N() const {
|
| + long ret;
|
| + if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return 0;
|
| +}
|
| +
|
| +SkPdfArray* SkPdfIccProfileStreamDictionary::getAlternateAsArray() const {
|
| + SkPdfArray* ret = NULL;
|
| + if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Alternate", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return NULL;
|
| +}
|
| +
|
| +std::string SkPdfIccProfileStreamDictionary::getAlternateAsName() const {
|
| + std::string ret = "";
|
| + if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Alternate", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return "";
|
| +}
|
| +
|
| +SkPdfArray* SkPdfIccProfileStreamDictionary::Range() const {
|
| + SkPdfArray* ret;
|
| + if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Range", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return NULL;
|
| +}
|
| +
|
| +SkPdfStream* SkPdfIccProfileStreamDictionary::Metadata() const {
|
| + SkPdfStream* ret;
|
| + if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return NULL;
|
| +}
|
| +
|
|
|