Index: experimental/PdfViewer/autogen/SkPdfOutlineDictionary_autogen.h |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfOutlineDictionary_autogen.h (revision 9765) |
+++ experimental/PdfViewer/autogen/SkPdfOutlineDictionary_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; must be an indirect reference) An outline item dictionary represent- |
* ing the first top-level item in the outline. |
**/ |
@@ -546,13 +540,7 @@ |
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "First", "", NULL)); |
} |
- SkPdfDictionary* First() const { |
- SkPdfDictionary* ret; |
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "First", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfDictionary* First() const; |
/** (Required; must be an indirect reference) An outline item dictionary represent- |
* ing the last top-level item in the outline. |
**/ |
@@ -560,13 +548,7 @@ |
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Last", "", NULL)); |
} |
- SkPdfDictionary* Last() const { |
- SkPdfDictionary* ret; |
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Last", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfDictionary* Last() const; |
/** (Required if the document has any open outline entries) The total number of |
* open items at all levels of the outline. This entry should be omitted if there |
* are no open outline items. |
@@ -575,13 +557,7 @@ |
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Count", "", NULL)); |
} |
- long Count() const { |
- long ret; |
- if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Count", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return 0; |
- } |
- |
+ long Count() const; |
}; |
#endif // __DEFINED__SkPdfOutlineDictionary |