| Index: experimental/PdfViewer/autogen/SkPdfMovieAnnotationDictionary_autogen.h
|
| ===================================================================
|
| --- experimental/PdfViewer/autogen/SkPdfMovieAnnotationDictionary_autogen.h (revision 9765)
|
| +++ experimental/PdfViewer/autogen/SkPdfMovieAnnotationDictionary_autogen.h (working copy)
|
| @@ -532,13 +532,7 @@
|
| return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subtype", "", NULL));
|
| }
|
|
|
| - std::string 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 Subtype() const;
|
| /** (Required) A movie dictionary describing the movie's static characteristics (see
|
| * Section 8.8, "Movies").
|
| **/
|
| @@ -546,13 +540,7 @@
|
| return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Movie", "", NULL));
|
| }
|
|
|
| - SkPdfDictionary* Movie() const {
|
| - SkPdfDictionary* ret;
|
| - if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Movie", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| - }
|
| -
|
| + SkPdfDictionary* Movie() const;
|
| /** (Optional; PDF 1.4) An alternate representation of the annotation's contents in
|
| * human-readable form, useful when extracting the document's contents in sup-
|
| * port of accessibility to disabled users or for other purposes (see Section 9.8.2,
|
| @@ -562,13 +550,7 @@
|
| return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Contents", "", NULL));
|
| }
|
|
|
| - std::string 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 "";
|
| - }
|
| -
|
| + std::string Contents() const;
|
| /** (Optional) A flag or dictionary specifying whether and how to play the movie
|
| * when the annotation is activated. If this value is a dictionary, it is a movie activa-
|
| * tion dictionary (see Section 8.8, "Movies") specifying how to play the movie; if it
|
| @@ -586,26 +568,14 @@
|
| return ret->podofo()->GetDataType() == ePdfDataType_Bool;
|
| }
|
|
|
| - bool getAAsBoolean() const {
|
| - bool ret = false;
|
| - if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "A", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return false;
|
| - }
|
| -
|
| + bool getAAsBoolean() const;
|
| bool isAADictionary() const {
|
| SkPdfObject* ret = NULL;
|
| if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "A", "", &ret)) return false;
|
| return ret->podofo()->GetDataType() == ePdfDataType_Dictionary;
|
| }
|
|
|
| - SkPdfDictionary* getAAsDictionary() const {
|
| - SkPdfDictionary* ret = NULL;
|
| - if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "A", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| - }
|
| -
|
| + SkPdfDictionary* getAAsDictionary() const;
|
| };
|
|
|
| #endif // __DEFINED__SkPdfMovieAnnotationDictionary
|
|
|