| Index: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMarkInformationDictionary_autogen.cpp
|
| ===================================================================
|
| --- experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMarkInformationDictionary_autogen.cpp (revision 0)
|
| +++ experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMarkInformationDictionary_autogen.cpp (revision 0)
|
| @@ -0,0 +1,16 @@
|
| +#include "SkPdfMarkInformationDictionary_autogen.h"
|
| +
|
| +
|
| +#include "SkPdfNativeDoc.h"
|
| +bool SkPdfMarkInformationDictionary::Marked(SkPdfNativeDoc* doc) {
|
| + SkPdfNativeObject* ret = get("Marked", "");
|
| + if (doc) {ret = doc->resolveReference(ret);}
|
| + if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->boolValue();
|
| + // TODO(edisonn): warn about missing default value for optional fields
|
| + return false;
|
| +}
|
| +
|
| +bool SkPdfMarkInformationDictionary::has_Marked() const {
|
| + return get("Marked", "") != NULL;
|
| +}
|
| +
|
|
|