| Index: experimental/PdfViewer/autogen/SkPdfArtifactsDictionary_autogen.h
|
| ===================================================================
|
| --- experimental/PdfViewer/autogen/SkPdfArtifactsDictionary_autogen.h (revision 9765)
|
| +++ experimental/PdfViewer/autogen/SkPdfArtifactsDictionary_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;
|
| /** (Optional) An array of four numbers in default user space units giving the coor-
|
| * dinates of the left, bottom, right, and top edges, respectively, of the artifact's
|
| * bounding box (the rectangle that completely encloses its visible extent).
|
| @@ -547,13 +541,7 @@
|
| return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BBox", "", NULL));
|
| }
|
|
|
| - SkRect* BBox() const {
|
| - SkRect* ret;
|
| - if (SkRectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BBox", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| - }
|
| -
|
| + SkRect* BBox() const;
|
| /** (Optional; pagination artifacts only) An array of name objects containing one to
|
| * four of the names Top, Bottom, Left, and Right, specifying the edges of the page, if
|
| * any, to which the artifact is logically attached. Page edges are defined by the
|
| @@ -565,13 +553,7 @@
|
| return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Attached", "", NULL));
|
| }
|
|
|
| - SkPdfArray* Attached() const {
|
| - SkPdfArray* ret;
|
| - if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Attached", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| - }
|
| -
|
| + SkPdfArray* Attached() const;
|
| };
|
|
|
| #endif // __DEFINED__SkPdfArtifactsDictionary
|
|
|