| Index: fpdfsdk/formfiller/cffl_formfiller.cpp
|
| diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp
|
| index 889f3b46a1a80990ebf8f4621e8f8c85f82f10ba..6ee08ed880c0d7b0d330612791d72dde8b666238 100644
|
| --- a/fpdfsdk/formfiller/cffl_formfiller.cpp
|
| +++ b/fpdfsdk/formfiller/cffl_formfiller.cpp
|
| @@ -94,7 +94,7 @@ void CFFL_FormFiller::OnDraw(CPDFSDK_PageView* pPageView,
|
| pWnd->DrawAppearance(pDevice, &mt);
|
| } else {
|
| CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot;
|
| - if (CFFL_IFormFiller::IsVisible(pWidget))
|
| + if (CFFL_InteractiveFormFiller::IsVisible(pWidget))
|
| pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal,
|
| nullptr);
|
| }
|
| @@ -525,8 +525,10 @@ FX_BOOL CFFL_FormFiller::CommitData(CPDFSDK_PageView* pPageView,
|
| if (IsDataChanged(pPageView)) {
|
| FX_BOOL bRC = TRUE;
|
| FX_BOOL bExit = FALSE;
|
| - CFFL_IFormFiller* pIFormFiller = m_pEnv->GetIFormFiller();
|
| - pIFormFiller->OnKeyStrokeCommit(m_pWidget, pPageView, bRC, bExit, nFlag);
|
| + CFFL_InteractiveFormFiller* pInteractiveFormFiller =
|
| + m_pEnv->GetInteractiveFormFiller();
|
| + pInteractiveFormFiller->OnKeyStrokeCommit(m_pWidget, pPageView, bRC, bExit,
|
| + nFlag);
|
| if (bExit)
|
| return TRUE;
|
| if (!bRC) {
|
| @@ -534,7 +536,7 @@ FX_BOOL CFFL_FormFiller::CommitData(CPDFSDK_PageView* pPageView,
|
| return TRUE;
|
| }
|
|
|
| - pIFormFiller->OnValidate(m_pWidget, pPageView, bRC, bExit, nFlag);
|
| + pInteractiveFormFiller->OnValidate(m_pWidget, pPageView, bRC, bExit, nFlag);
|
| if (bExit)
|
| return TRUE;
|
| if (!bRC) {
|
| @@ -543,11 +545,11 @@ FX_BOOL CFFL_FormFiller::CommitData(CPDFSDK_PageView* pPageView,
|
| }
|
|
|
| SaveData(pPageView);
|
| - pIFormFiller->OnCalculate(m_pWidget, pPageView, bExit, nFlag);
|
| + pInteractiveFormFiller->OnCalculate(m_pWidget, pPageView, bExit, nFlag);
|
| if (bExit)
|
| return TRUE;
|
|
|
| - pIFormFiller->OnFormat(m_pWidget, pPageView, bExit, nFlag);
|
| + pInteractiveFormFiller->OnFormat(m_pWidget, pPageView, bExit, nFlag);
|
| }
|
| return TRUE;
|
| }
|
|
|