Index: fpdfsdk/fpdfxfa/fpdfxfa_app.cpp |
diff --git a/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp b/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp |
index ffc4e5363ad4f022f39152500b1c685b37dd6926..5fe114a64cca6bd6e33f050deaccfbdc8b02488f 100644 |
--- a/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp |
+++ b/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp |
@@ -5,11 +5,10 @@ |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
#include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" |
-#include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" |
+ |
#include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" |
#include "fpdfsdk/include/fsdk_define.h" |
#include "fpdfsdk/include/fsdk_mgr.h" |
-#include "public/fpdf_formfill.h" |
#include "xfa/fxbarcode/include/BC_Library.h" |
#include "xfa/fxfa/include/xfa_ffapp.h" |
#include "xfa/fxfa/include/xfa_fontmgr.h" |
@@ -94,10 +93,20 @@ void CPDFXFA_App::GetAppName(CFX_WideString& wsName) { |
} |
} |
+void CPDFXFA_App::GetFoxitAppName(CFX_WideString& wsFoxitName) { |
+ wsFoxitName = L"Foxit"; |
+} |
+ |
void CPDFXFA_App::SetAppType(const CFX_WideStringC& wsAppType) { |
m_csAppType = wsAppType; |
} |
+void CPDFXFA_App::SetFoxitAppType(const CFX_WideStringC& wsFoxitAppType) {} |
+ |
+void CPDFXFA_App::GetFoxitAppType(CFX_WideString& wsFoxitAppType) { |
+ wsFoxitAppType.clear(); |
+} |
+ |
void CPDFXFA_App::GetLanguage(CFX_WideString& wsLanguage) { |
CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); |
if (pEnv) { |
@@ -120,6 +129,10 @@ void CPDFXFA_App::GetVersion(CFX_WideString& wsVersion) { |
wsVersion = JS_STR_VIEWERVERSION_XFA; |
} |
+void CPDFXFA_App::GetFoxitVersion(CFX_WideString& wsFoxitVersion) { |
+ wsFoxitVersion = L"7.0"; |
+} |
+ |
void CPDFXFA_App::Beep(uint32_t dwType) { |
CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); |
if (pEnv) { |