| Index: fpdfsdk/src/fpdf_ext.cpp
|
| diff --git a/fpdfsdk/src/fpdf_ext.cpp b/fpdfsdk/src/fpdf_ext.cpp
|
| index d9f8624249107887176c5240d4a8e793bba66263..910c2c771777bd8ef0b7a453b3c0a56b2656025c 100644
|
| --- a/fpdfsdk/src/fpdf_ext.cpp
|
| +++ b/fpdfsdk/src/fpdf_ext.cpp
|
| @@ -6,6 +6,9 @@
|
|
|
| #include "public/fpdf_ext.h"
|
|
|
| +#ifdef PDF_ENABLE_XFA
|
| +#include "../include/fpdfxfa/fpdfxfa_doc.h"
|
| +#endif
|
| #include "core/include/fxcrt/fx_xml.h"
|
| #include "fpdfsdk/include/fsdk_define.h"
|
|
|
| @@ -174,6 +177,7 @@ void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code) {
|
| const CXML_Element* pElement = metaData.GetRoot();
|
| if (pElement)
|
| CheckSharedForm(pElement, "workflowType");
|
| +#ifndef PDF_ENABLE_XFA
|
|
|
| // XFA Forms
|
| CPDF_InterForm* pInterForm = new CPDF_InterForm(pDoc, FALSE);
|
| @@ -181,6 +185,7 @@ void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code) {
|
| FPDF_UnSupportError(FPDF_UNSP_DOC_XFAFORM);
|
| }
|
| delete pInterForm;
|
| +#endif
|
| }
|
|
|
| DLLEXPORT int FPDFDoc_GetPageMode(FPDF_DOCUMENT document) {
|
|
|