Index: experimental/PdfViewer/autogen/SkPdfAppearanceDictionary_autogen.h |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfAppearanceDictionary_autogen.h (revision 9765) |
+++ experimental/PdfViewer/autogen/SkPdfAppearanceDictionary_autogen.h (working copy) |
@@ -537,26 +537,14 @@ |
return ret->podofo()->HasStream(); |
} |
- SkPdfStream* getNAsStream() const { |
- SkPdfStream* ret = NULL; |
- if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfStream* getNAsStream() const; |
bool isNADictionary() const { |
SkPdfObject* ret = NULL; |
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return false; |
return ret->podofo()->GetDataType() == ePdfDataType_Dictionary; |
} |
- SkPdfDictionary* getNAsDictionary() const { |
- SkPdfDictionary* ret = NULL; |
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfDictionary* getNAsDictionary() const; |
/** (Optional) The annotation's rollover appearance. Default value: the value of |
* the N entry. |
**/ |
@@ -570,26 +558,14 @@ |
return ret->podofo()->HasStream(); |
} |
- SkPdfStream* getRAsStream() const { |
- SkPdfStream* ret = NULL; |
- if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfStream* getRAsStream() const; |
bool isRADictionary() const { |
SkPdfObject* ret = NULL; |
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return false; |
return ret->podofo()->GetDataType() == ePdfDataType_Dictionary; |
} |
- SkPdfDictionary* getRAsDictionary() const { |
- SkPdfDictionary* ret = NULL; |
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfDictionary* getRAsDictionary() const; |
/** (Optional) The annotation's down appearance. Default value: the value of the |
* N entry. |
**/ |
@@ -603,26 +579,14 @@ |
return ret->podofo()->HasStream(); |
} |
- SkPdfStream* getDAsStream() const { |
- SkPdfStream* ret = NULL; |
- if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfStream* getDAsStream() const; |
bool isDADictionary() const { |
SkPdfObject* ret = NULL; |
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return false; |
return ret->podofo()->GetDataType() == ePdfDataType_Dictionary; |
} |
- SkPdfDictionary* getDAsDictionary() const { |
- SkPdfDictionary* ret = NULL; |
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfDictionary* getDAsDictionary() const; |
}; |
#endif // __DEFINED__SkPdfAppearanceDictionary |