Index: experimental/PdfViewer/autogen/SkPdfDocumentInformationDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfDocumentInformationDictionary_autogen.cpp (revision 9812) |
+++ experimental/PdfViewer/autogen/SkPdfDocumentInformationDictionary_autogen.cpp (working copy) |
@@ -1,64 +0,0 @@ |
-#include "SkPdfDocumentInformationDictionary_autogen.h" |
- |
-std::string SkPdfDocumentInformationDictionary::Title() const { |
- std::string ret; |
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Title", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |
- |
-std::string SkPdfDocumentInformationDictionary::Author() const { |
- std::string ret; |
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Author", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |
- |
-std::string SkPdfDocumentInformationDictionary::Subject() const { |
- std::string ret; |
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subject", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |
- |
-std::string SkPdfDocumentInformationDictionary::Keywords() const { |
- std::string ret; |
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Keywords", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |
- |
-std::string SkPdfDocumentInformationDictionary::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 ""; |
-} |
- |
-std::string SkPdfDocumentInformationDictionary::Producer() const { |
- std::string ret; |
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Producer", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |
- |
-SkPdfDate SkPdfDocumentInformationDictionary::CreationDate() const { |
- SkPdfDate ret; |
- if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CreationDate", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return SkPdfDate(); |
-} |
- |
-SkPdfDate SkPdfDocumentInformationDictionary::ModDate() const { |
- SkPdfDate ret; |
- if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ModDate", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return SkPdfDate(); |
-} |
- |
-std::string SkPdfDocumentInformationDictionary::Trapped() const { |
- std::string ret; |
- if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Trapped", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |