How to always show dialog box to fill text in form fields on Android?

56 views
Skip to first unread message

Shirley Gong

unread,
Jun 27, 2014, 7:44:45 PM6/27/14
to pdfne...@googlegroups.com
Q: Can I configure to always have a dialog box to fill text in form fields?

A: In Tools source code, FormFill.java, you can decide whether to use inline edit or pop up dialog:

                        else if (field_type == pdftron.PDF.Field.e_text) {
                            mIsMultiLine = mField.getFlag(Field.e_multiline);
                            boolean inline_edit = canUseInlineEditing();
                            if (!inline_edit) {
                                // Pop up a dialog for inputting text
                                final DialogFormFillText d = new DialogFormFillText(mPDFView, mAnnot, mAnnotPageNum);
                                d.show();
                            } else {
                                // Inline editing
                                handleTextInline();
                            }
                        }

raffaele ruffolo

unread,
Nov 3, 2014, 11:30:36 AM11/3/14
to pdfne...@googlegroups.com
Where do i find FormFill.java o DialogFormFillText?

Shirley Gong

unread,
Nov 3, 2014, 4:59:48 PM11/3/14
to pdfne...@googlegroups.com
FormFill.java is located in the Tools source code in the distribution package:
lib\src\PDFViewCtrlTools\src\pdftron\PDF\Tools

raffaele ruffolo

unread,
Nov 5, 2014, 10:44:20 AM11/5/14
to pdfne...@googlegroups.com
field is not saved when I change the value typed in DialogBox .how can I do?



Il giorno sabato 28 giugno 2014 01:44:45 UTC+2, Shirley Gong ha scritto:

Shirley Gong

unread,
Nov 6, 2014, 12:35:42 PM11/6/14
to pdfne...@googlegroups.com
Can you describe in detail what you are trying to achieve and how it is done right now?
Any code snippet? Thanks.
Reply all
Reply to author
Forward
0 new messages