Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Side by Side Diff: core/fpdfdoc/doc_utils.h

Issue 1805603002: core/include/fdpfapi cleanup Part I. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfdoc/doc_tagged.cpp ('k') | core/fpdfdoc/doc_utils.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_FPDFDOC_DOC_UTILS_H_ 7 #ifndef CORE_FPDFDOC_DOC_UTILS_H_
8 #define CORE_FPDFDOC_DOC_UTILS_H_ 8 #define CORE_FPDFDOC_DOC_UTILS_H_
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "core/include/fpdfapi/cpdf_parser.h" 12 #include "core/fpdfapi/fpdf_parser/include/cpdf_parser.h"
13 #include "core/include/fpdfapi/fpdf_resource.h" 13 #include "core/include/fpdfapi/fpdf_resource.h"
14 14
15 class CPDF_Dictionary; 15 class CPDF_Dictionary;
16 class CPDF_FormField; 16 class CPDF_FormField;
17 17
18 class CPDF_NumberTree { 18 class CPDF_NumberTree {
19 public: 19 public:
20 CPDF_NumberTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} 20 CPDF_NumberTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {}
21 CPDF_Object* LookupValue(int num) const; 21 CPDF_Object* LookupValue(int num) const;
22 22
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict, 71 void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict,
72 CPDF_Document* pDocument, 72 CPDF_Document* pDocument,
73 const CPDF_Font* pFont); 73 const CPDF_Font* pFont);
74 std::vector<bool> SaveCheckedFieldStatus(CPDF_FormField* pField); 74 std::vector<bool> SaveCheckedFieldStatus(CPDF_FormField* pField);
75 FX_BOOL NeedPDFEncodeForFieldFullName(const CFX_WideString& csFieldName); 75 FX_BOOL NeedPDFEncodeForFieldFullName(const CFX_WideString& csFieldName);
76 FX_BOOL NeedPDFEncodeForFieldTree(CPDF_Dictionary* pFieldDict, int nLevel = 0); 76 FX_BOOL NeedPDFEncodeForFieldTree(CPDF_Dictionary* pFieldDict, int nLevel = 0);
77 void EncodeFieldName(const CFX_WideString& csName, CFX_ByteString& csT); 77 void EncodeFieldName(const CFX_WideString& csName, CFX_ByteString& csT);
78 void UpdateEncodeFieldName(CPDF_Dictionary* pFieldDict, int nLevel = 0); 78 void UpdateEncodeFieldName(CPDF_Dictionary* pFieldDict, int nLevel = 0);
79 79
80 #endif // CORE_FPDFDOC_DOC_UTILS_H_ 80 #endif // CORE_FPDFDOC_DOC_UTILS_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/doc_tagged.cpp ('k') | core/fpdfdoc/doc_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698