| Index: experimental/PdfViewer/autogen/SkPdfMacOsFileInformationDictionary_autogen.cpp
|
| ===================================================================
|
| --- experimental/PdfViewer/autogen/SkPdfMacOsFileInformationDictionary_autogen.cpp (revision 0)
|
| +++ experimental/PdfViewer/autogen/SkPdfMacOsFileInformationDictionary_autogen.cpp (revision 0)
|
| @@ -0,0 +1,23 @@
|
| +#include "SkPdfMacOsFileInformationDictionary_autogen.h"
|
| +
|
| +std::string SkPdfMacOsFileInformationDictionary::Subtype() const {
|
| + std::string ret;
|
| + if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subtype", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return "";
|
| +}
|
| +
|
| +std::string SkPdfMacOsFileInformationDictionary::Creator() const {
|
| + std::string ret;
|
| + if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Creator", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return "";
|
| +}
|
| +
|
| +SkPdfStream* SkPdfMacOsFileInformationDictionary::ResFork() const {
|
| + SkPdfStream* ret;
|
| + if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ResFork", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return NULL;
|
| +}
|
| +
|
|
|