Index: experimental/PdfViewer/autogen/SkPdfTextFieldDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfTextFieldDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfTextFieldDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,9 @@ |
+#include "SkPdfTextFieldDictionary_autogen.h" |
+ |
+long SkPdfTextFieldDictionary::MaxLen() const { |
+ long ret; |
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "MaxLen", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |