From 2056fac754e679baea695390854fe7b0ce7acb28 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Tue, 16 Jan 2018 16:06:45 +0000 Subject: Add support for XFA specific FormField types This adds to form field types specific types for XFA form fields to be used instead of the generic XFA value when possible. BUG=pdfium:952,chromium:763129,chromium:592758 Change-Id: I8d1cff6a280d71db348b7c31a251cbe2e398ec79 Reviewed-on: https://pdfium-review.googlesource.com/22677 Reviewed-by: dsinclair Commit-Queue: Ryan Harrison --- xfa/fxfa/cxfa_fflistbox.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xfa/fxfa/cxfa_fflistbox.cpp') diff --git a/xfa/fxfa/cxfa_fflistbox.cpp b/xfa/fxfa/cxfa_fflistbox.cpp index 1a7b11bf64..ce9198a5d3 100644 --- a/xfa/fxfa/cxfa_fflistbox.cpp +++ b/xfa/fxfa/cxfa_fflistbox.cpp @@ -208,3 +208,7 @@ void CXFA_FFListBox::OnDrawWidget(CXFA_Graphics* pGraphics, const CFX_Matrix& matrix) { m_pOldDelegate->OnDrawWidget(pGraphics, matrix); } + +FormFieldType CXFA_FFListBox::GetFormFieldType() { + return FormFieldType::kXFA_ListBox; +} -- cgit v1.2.3