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