OLD | NEW |
---|---|
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 CFX_WideString GetFullName(CPDF_Dictionary* pFieldDict); | 10 CFX_WideString GetFullName(CPDF_Dictionary* pFieldDict); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
47 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, | 47 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, |
48 CPDF_Document* pDocument, | 48 CPDF_Document* pDocument, |
49 CFX_ByteString& csNameTag); | 49 CFX_ByteString& csNameTag); |
50 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont); | 50 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont); |
51 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, CFX_ByteString csNameTag); | 51 void RemoveInterFormFont(CPDF_Dictionary* pFormDict, CFX_ByteString csNameTag); |
52 CPDF_Font* GetDefaultInterFormFont(CPDF_Dictionary* pFormDict, | 52 CPDF_Font* GetDefaultInterFormFont(CPDF_Dictionary* pFormDict, |
53 CPDF_Document* pDocument); | 53 CPDF_Document* pDocument); |
54 void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict, | 54 void SetDefaultInterFormFont(CPDF_Dictionary*& pFormDict, |
55 CPDF_Document* pDocument, | 55 CPDF_Document* pDocument, |
56 const CPDF_Font* pFont); | 56 const CPDF_Font* pFont); |
57 void SaveCheckedFieldStatus(CPDF_FormField* pField, CFX_ByteArray& statusArray); | 57 void SaveCheckedFieldStatus(CPDF_FormField* pField, |
Lei Zhang
2016/02/02 02:48:48
Do you want to do:
std::vector<uint8_t> SaveCheck
Tom Sepez
2016/02/02 17:20:53
m'kay
| |
58 std::vector<uint8_t>* statusArray); | |
58 FX_BOOL NeedPDFEncodeForFieldFullName(const CFX_WideString& csFieldName); | 59 FX_BOOL NeedPDFEncodeForFieldFullName(const CFX_WideString& csFieldName); |
59 FX_BOOL NeedPDFEncodeForFieldTree(CPDF_Dictionary* pFieldDict, int nLevel = 0); | 60 FX_BOOL NeedPDFEncodeForFieldTree(CPDF_Dictionary* pFieldDict, int nLevel = 0); |
60 void EncodeFieldName(const CFX_WideString& csName, CFX_ByteString& csT); | 61 void EncodeFieldName(const CFX_WideString& csName, CFX_ByteString& csT); |
61 void UpdateEncodeFieldName(CPDF_Dictionary* pFieldDict, int nLevel = 0); | 62 void UpdateEncodeFieldName(CPDF_Dictionary* pFieldDict, int nLevel = 0); |
62 | 63 |
63 #endif // CORE_SRC_FPDFDOC_DOC_UTILS_H_ | 64 #endif // CORE_SRC_FPDFDOC_DOC_UTILS_H_ |
OLD | NEW |