| Index: experimental/PdfViewer/autogen/SkPdfRemoteGoToActionDictionary_autogen.cpp
|
| ===================================================================
|
| --- experimental/PdfViewer/autogen/SkPdfRemoteGoToActionDictionary_autogen.cpp (revision 0)
|
| +++ experimental/PdfViewer/autogen/SkPdfRemoteGoToActionDictionary_autogen.cpp (revision 0)
|
| @@ -0,0 +1,44 @@
|
| +#include "SkPdfRemoteGoToActionDictionary_autogen.h"
|
| +
|
| +std::string SkPdfRemoteGoToActionDictionary::S() const {
|
| + std::string ret;
|
| + if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return "";
|
| +}
|
| +
|
| +SkPdfFileSpec SkPdfRemoteGoToActionDictionary::F() const {
|
| + SkPdfFileSpec ret;
|
| + if (FileSpecFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return SkPdfFileSpec();
|
| +}
|
| +
|
| +std::string SkPdfRemoteGoToActionDictionary::getDAsName() const {
|
| + std::string ret = "";
|
| + if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return "";
|
| +}
|
| +
|
| +std::string SkPdfRemoteGoToActionDictionary::getDAsString() const {
|
| + std::string ret = "";
|
| + if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return "";
|
| +}
|
| +
|
| +SkPdfArray* SkPdfRemoteGoToActionDictionary::getDAsArray() const {
|
| + SkPdfArray* ret = NULL;
|
| + if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return NULL;
|
| +}
|
| +
|
| +bool SkPdfRemoteGoToActionDictionary::NewWindow() const {
|
| + bool ret;
|
| + if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "NewWindow", "", &ret)) return ret;
|
| + // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| + return false;
|
| +}
|
| +
|
|
|