| 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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 CFX_WideString& csNewFieldName); | 556 CFX_WideString& csNewFieldName); |
| 557 | 557 |
| 558 FX_BOOL ValidateFieldName(const CPDF_FormControl* pControl, | 558 FX_BOOL ValidateFieldName(const CPDF_FormControl* pControl, |
| 559 CFX_WideString& csNewFieldName); | 559 CFX_WideString& csNewFieldName); |
| 560 | 560 |
| 561 FX_DWORD CountFields(const CFX_WideString& csFieldName = L""); | 561 FX_DWORD CountFields(const CFX_WideString& csFieldName = L""); |
| 562 | 562 |
| 563 CPDF_FormField* GetField(FX_DWORD index, | 563 CPDF_FormField* GetField(FX_DWORD index, |
| 564 const CFX_WideString& csFieldName = L""); | 564 const CFX_WideString& csFieldName = L""); |
| 565 | 565 |
| 566 void GetAllFieldNames(CFX_WideStringArray& allFieldNames); | |
| 567 | |
| 568 CPDF_FormField* GetFieldByDict(CPDF_Dictionary* pFieldDict) const; | 566 CPDF_FormField* GetFieldByDict(CPDF_Dictionary* pFieldDict) const; |
| 569 | 567 |
| 570 CPDF_FormControl* GetControlAtPoint(CPDF_Page* pPage, | 568 CPDF_FormControl* GetControlAtPoint(CPDF_Page* pPage, |
| 571 FX_FLOAT pdf_x, | 569 FX_FLOAT pdf_x, |
| 572 FX_FLOAT pdf_y, | 570 FX_FLOAT pdf_y, |
| 573 int* z_order) const; | 571 int* z_order) const; |
| 574 | 572 |
| 575 CPDF_FormControl* GetControlByDict(const CPDF_Dictionary* pWidgetDict) const; | 573 CPDF_FormControl* GetControlByDict(const CPDF_Dictionary* pWidgetDict) const; |
| 576 | 574 |
| 577 CPDF_Document* GetDocument() const { return m_pDocument; } | 575 CPDF_Document* GetDocument() const { return m_pDocument; } |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; | 1127 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; |
| 1130 | 1128 |
| 1131 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; | 1129 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; |
| 1132 | 1130 |
| 1133 CPDF_Dictionary* const m_pDict; | 1131 CPDF_Dictionary* const m_pDict; |
| 1134 }; | 1132 }; |
| 1135 | 1133 |
| 1136 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); | 1134 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); |
| 1137 | 1135 |
| 1138 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 1136 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
| OLD | NEW |