summaryrefslogtreecommitdiff
path: root/include/mupdf/pdf/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mupdf/pdf/widget.h')
-rw-r--r--include/mupdf/pdf/widget.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mupdf/pdf/widget.h b/include/mupdf/pdf/widget.h
index 45441e55..a4b5bd5e 100644
--- a/include/mupdf/pdf/widget.h
+++ b/include/mupdf/pdf/widget.h
@@ -96,9 +96,11 @@ int pdf_text_widget_set_text(fz_context *ctx, pdf_document *doc, pdf_widget *tw,
pdf_choice_widget_options: get the list of options for a list
box or combo box. Returns the number of options and fills in their
names within the supplied array. Should first be called with a
- NULL array to find out how big the array should be.
+ NULL array to find out how big the array should be. If exportval
+ is true, then the export values will be returned and not the list
+ values if there are export values present.
*/
-int pdf_choice_widget_options(fz_context *ctx, pdf_document *doc, pdf_widget *tw, char *opts[]);
+int pdf_choice_widget_options(fz_context *ctx, pdf_document *doc, pdf_widget *tw, int exportval, char *opts[]);
/*
pdf_choice_widget_is_multiselect: returns whether a list box or