2007-07-19 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/pdf/ev-poppler.cc: (ev_form_field_from_poppler_field):
Get max length of text form fields.
svn path=/trunk/; revision=2575
+2007-07-19 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * configure.ac:
+ * backend/pdf/ev-poppler.cc: (ev_form_field_from_poppler_field):
+
+ Get max length of text form fields.
+
2007-07-19 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc: (ev_form_field_from_poppler_field):
field_text->do_scroll = poppler_form_field_text_do_scroll (poppler_field);
field_text->is_rich_text = poppler_form_field_text_is_rich_text (poppler_field);
field_text->is_password = poppler_form_field_text_is_password (poppler_field);
-
+
+#ifdef HAVE_POPPLER_FORM_FIELD_TEXT_GET_MAX_LEN
+ field_text->max_len = poppler_form_field_text_get_max_len (poppler_field);
+#endif
field_text->text = poppler_form_field_text_get_text (poppler_field);
}
dnl we need latest poppler cvs head,
dnl this function was the last to be added
AC_CHECK_FUNCS(poppler_form_field_button_get_button_type)
+ AC_CHECK_FUNCS(poppler_form_field_text_get_max_len)
LIBS=$evince_save_LIBS
PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)