Index: core/src/fpdfdoc/doc_form.cpp |
diff --git a/core/src/fpdfdoc/doc_form.cpp b/core/src/fpdfdoc/doc_form.cpp |
index 87887d73302006aaaabf380f63cb4baacdc7c43d..dff6039bc8e74ee21d52403b7fdef5e94527fddf 100644 |
--- a/core/src/fpdfdoc/doc_form.cpp |
+++ b/core/src/fpdfdoc/doc_form.cpp |
@@ -6,29 +6,10 @@ |
#include "../../include/fpdfdoc/fpdf_doc.h" |
#include "../../include/fxcrt/fx_xml.h" |
-CFX_WideString GetFullName(CPDF_Dictionary* pFieldDict); |
-void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument); |
-FX_DWORD CountInterFormFonts(CPDF_Dictionary* pFormDict); |
-CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, FX_DWORD index, CFX_ByteString& csNameTag); |
-CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csNameTag); |
-CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csFontName, CFX_ByteString& csNameTag); |
-CPDF_Font* GetNativeInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, FX_BYTE charSet, CFX_ByteString& csNameTag); |
-CPDF_Font* GetNativeInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString& csNameTag); |
-FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont, CFX_ByteString& csNameTag); |
-FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csFontName, CPDF_Font*& pFont, CFX_ByteString& csNameTag); |
-void AddInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont, CFX_ByteString& csNameTag); |
-CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, FX_BYTE charSet, CFX_ByteString& csNameTag); |
-CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, CFX_ByteString& csNameTag); |
-void RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont); |
-void RemoveInterFormFont(CPDF_Dictionary* pFormDict, CFX_ByteString csNameTag); |
-CPDF_Font* GetDefaultInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument); |
-void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont); |
-void SaveCheckedFieldStatus(CPDF_FormField* pField, CFX_ByteArray& statusArray); |
-FX_BOOL NeedPDFEncodeForFieldFullName(const CFX_WideString& csFieldName); |
-FX_BOOL NeedPDFEncodeForFieldTree(CPDF_Dictionary* pFieldDict, int nLevel = 0); |
-void EncodeFieldName(const CFX_WideString& csName, CFX_ByteString& csT); |
-void UpdateEncodeFieldName(CPDF_Dictionary* pFieldDict, int nLevel = 0); |
+#include "doc_utils.h" |
+ |
const int nMaxRecursion = 32; |
+ |
class _CFieldNameExtractor |
{ |
public: |