diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-03-09 17:00:09 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-03-09 17:00:09 -0800 |
commit | c7c2115d33c5e6cee5e3d5215e3357b859f5990e (patch) | |
tree | 3238db19814a04da55de12e66773bf966edc5aff /core/src/fpdfdoc/doc_utils.h | |
parent | 70d54be5ab45d26a7ec6b125ea09f8b6a89a3b6f (diff) | |
download | pdfium-c7c2115d33c5e6cee5e3d5215e3357b859f5990e.tar.xz |
Move CPDF_NumberTree to fpdfdoc.
It's not used anywhere in fpdfapi, and can become restricted
to fpdfoc/.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1776713004 .
Diffstat (limited to 'core/src/fpdfdoc/doc_utils.h')
-rw-r--r-- | core/src/fpdfdoc/doc_utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/src/fpdfdoc/doc_utils.h b/core/src/fpdfdoc/doc_utils.h index 58eee84380..d69652fedc 100644 --- a/core/src/fpdfdoc/doc_utils.h +++ b/core/src/fpdfdoc/doc_utils.h @@ -9,6 +9,18 @@ #include <vector> +class CPDF_Dictionary; +class CPDF_FormField; + +class CPDF_NumberTree { + public: + CPDF_NumberTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} + CPDF_Object* LookupValue(int num) const; + + protected: + CPDF_Dictionary* const m_pRoot; +}; + CFX_WideString GetFullName(CPDF_Dictionary* pFieldDict); void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument); FX_DWORD CountInterFormFonts(CPDF_Dictionary* pFormDict); |