| Index: experimental/PdfViewer/autogen/SkPdfActionDictionary_autogen.h
|
| ===================================================================
|
| --- experimental/PdfViewer/autogen/SkPdfActionDictionary_autogen.h (revision 9765)
|
| +++ experimental/PdfViewer/autogen/SkPdfActionDictionary_autogen.h (working copy)
|
| @@ -532,13 +532,7 @@
|
| return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", NULL));
|
| }
|
|
|
| - std::string Type() const {
|
| - std::string ret;
|
| - if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return "";
|
| - }
|
| -
|
| + std::string Type() const;
|
| /** (Required) The type of action that this dictionary describes; see Table 8.34
|
| * on page 518 for specific values.
|
| **/
|
| @@ -546,13 +540,7 @@
|
| return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", NULL));
|
| }
|
|
|
| - std::string 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 "";
|
| - }
|
| -
|
| + std::string S() const;
|
| /** (Optional; PDF 1.2) The next action, or sequence of actions, to be per-
|
| * formed after this one. The value is either a single action dictionary or an
|
| * array of action dictionaries to be performed in order; see below for fur-
|
| @@ -568,26 +556,14 @@
|
| return ret->podofo()->GetDataType() == ePdfDataType_Dictionary;
|
| }
|
|
|
| - SkPdfDictionary* getNextAsDictionary() const {
|
| - SkPdfDictionary* ret = NULL;
|
| - if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Next", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| - }
|
| -
|
| + SkPdfDictionary* getNextAsDictionary() const;
|
| bool isNextAArray() const {
|
| SkPdfObject* ret = NULL;
|
| if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Next", "", &ret)) return false;
|
| return ret->podofo()->GetDataType() == ePdfDataType_Array;
|
| }
|
|
|
| - SkPdfArray* getNextAsArray() const {
|
| - SkPdfArray* ret = NULL;
|
| - if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Next", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| - }
|
| -
|
| + SkPdfArray* getNextAsArray() const;
|
| };
|
|
|
| #endif // __DEFINED__SkPdfActionDictionary
|
|
|