| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
| 8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 | 546 |
| 547 static CPDF_Font* AddStandardFont(CPDF_Document* pDocument, | 547 static CPDF_Font* AddStandardFont(CPDF_Document* pDocument, |
| 548 CFX_ByteString csFontName); | 548 CFX_ByteString csFontName); |
| 549 | 549 |
| 550 static CFX_ByteString GetNativeFont(uint8_t iCharSet, void* pLogFont = NULL); | 550 static CFX_ByteString GetNativeFont(uint8_t iCharSet, void* pLogFont = NULL); |
| 551 | 551 |
| 552 static CFX_ByteString GetNativeFont(void* pLogFont = NULL); | 552 static CFX_ByteString GetNativeFont(void* pLogFont = NULL); |
| 553 | 553 |
| 554 static uint8_t GetNativeCharSet(); | 554 static uint8_t GetNativeCharSet(); |
| 555 | 555 |
| 556 static CPDF_Font* AddNativeFont(uint8_t iCharSet, | 556 static CPDF_Font* AddNativeFont(uint8_t iCharSet, CPDF_Document* pDocument); |
| 557 const CPDF_Document* pDocument); | |
| 558 | 557 |
| 559 static CPDF_Font* AddNativeFont(const CPDF_Document* pDocument); | 558 static CPDF_Font* AddNativeFont(CPDF_Document* pDocument); |
| 560 | 559 |
| 561 FX_BOOL ValidateFieldName(CFX_WideString& csNewFieldName, int iType); | 560 FX_BOOL ValidateFieldName(CFX_WideString& csNewFieldName, int iType); |
| 562 | 561 |
| 563 FX_BOOL ValidateFieldName(const CPDF_FormField* pField, | 562 FX_BOOL ValidateFieldName(const CPDF_FormField* pField, |
| 564 CFX_WideString& csNewFieldName); | 563 CFX_WideString& csNewFieldName); |
| 565 | 564 |
| 566 FX_BOOL ValidateFieldName(const CPDF_FormControl* pControl, | 565 FX_BOOL ValidateFieldName(const CPDF_FormControl* pControl, |
| 567 CFX_WideString& csNewFieldName); | 566 CFX_WideString& csNewFieldName); |
| 568 | 567 |
| 569 FX_DWORD CountFields(const CFX_WideString& csFieldName = L""); | 568 FX_DWORD CountFields(const CFX_WideString& csFieldName = L""); |
| (...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; | 1157 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; |
| 1159 | 1158 |
| 1160 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; | 1159 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; |
| 1161 | 1160 |
| 1162 CPDF_Dictionary* const m_pDict; | 1161 CPDF_Dictionary* const m_pDict; |
| 1163 }; | 1162 }; |
| 1164 | 1163 |
| 1165 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); | 1164 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); |
| 1166 | 1165 |
| 1167 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 1166 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
| OLD | NEW |