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

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

Issue 1653253002: Kill CFX_ByteArray in master. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: ... and its gone. Created 4 years, 10 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/src/fpdfdoc/doc_formfield.cpp ('k') | core/src/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_SRC_FPDFDOC_DOC_UTILS_H_ 7 #ifndef CORE_SRC_FPDFDOC_DOC_UTILS_H_
8 #define CORE_SRC_FPDFDOC_DOC_UTILS_H_ 8 #define CORE_SRC_FPDFDOC_DOC_UTILS_H_
9 9
10 #include <vector>
11
10 CFX_WideString GetFullName(CPDF_Dictionary* pFieldDict); 12 CFX_WideString GetFullName(CPDF_Dictionary* pFieldDict);
11 void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument); 13 void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument);
12 FX_DWORD CountInterFormFonts(CPDF_Dictionary* pFormDict); 14 FX_DWORD CountInterFormFonts(CPDF_Dictionary* pFormDict);
13 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, 15 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict,
14 CPDF_Document* pDocument, 16 CPDF_Document* pDocument,
15 FX_DWORD index, 17 FX_DWORD index,
16 CFX_ByteString& csNameTag); 18 CFX_ByteString& csNameTag);
17 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, 19 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict,
18 CPDF_Document* pDocument, 20 CPDF_Document* pDocument,
19 CFX_ByteString csNameTag); 21 CFX_ByteString csNameTag);
(...skipping 27 matching lines...) Expand all
47 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, 49 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict,
48 CPDF_Document* pDocument, 50 CPDF_Document* pDocument,
49 CFX_ByteString& csNameTag); 51 CFX_ByteString& csNameTag);
50 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont); 52 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont);
51 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, CFX_ByteString csNameTag); 53 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, CFX_ByteString csNameTag);
52 CPDF_Font* GetDefaultInterFormFont(CPDF_Dictionary* pFormDict, 54 CPDF_Font* GetDefaultInterFormFont(CPDF_Dictionary* pFormDict,
53 CPDF_Document* pDocument); 55 CPDF_Document* pDocument);
54 void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict, 56 void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict,
55 CPDF_Document* pDocument, 57 CPDF_Document* pDocument,
56 const CPDF_Font* pFont); 58 const CPDF_Font* pFont);
57 void SaveCheckedFieldStatus(CPDF_FormField* pField, CFX_ByteArray& statusArray); 59 std::vector<bool> SaveCheckedFieldStatus(CPDF_FormField* pField);
58 FX_BOOL NeedPDFEncodeForFieldFullName(const CFX_WideString& csFieldName); 60 FX_BOOL NeedPDFEncodeForFieldFullName(const CFX_WideString& csFieldName);
59 FX_BOOL NeedPDFEncodeForFieldTree(CPDF_Dictionary* pFieldDict, int nLevel = 0); 61 FX_BOOL NeedPDFEncodeForFieldTree(CPDF_Dictionary* pFieldDict, int nLevel = 0);
60 void EncodeFieldName(const CFX_WideString& csName, CFX_ByteString& csT); 62 void EncodeFieldName(const CFX_WideString& csName, CFX_ByteString& csT);
61 void UpdateEncodeFieldName(CPDF_Dictionary* pFieldDict, int nLevel = 0); 63 void UpdateEncodeFieldName(CPDF_Dictionary* pFieldDict, int nLevel = 0);
62 64
63 #endif // CORE_SRC_FPDFDOC_DOC_UTILS_H_ 65 #endif // CORE_SRC_FPDFDOC_DOC_UTILS_H_
OLDNEW
« no previous file with comments | « core/src/fpdfdoc/doc_formfield.cpp ('k') | core/src/fpdfdoc/doc_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698