OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_ |
| 8 #define CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_ |
| 9 |
| 10 #include <vector> |
| 11 |
| 12 class CPDF_Action; |
| 13 class CPDF_Object; |
| 14 |
| 15 class CPDF_ActionFields { |
| 16 public: |
| 17 explicit CPDF_ActionFields(const CPDF_Action* pAction) : m_pAction(pAction) {} |
| 18 |
| 19 size_t GetFieldsCount() const; |
| 20 std::vector<CPDF_Object*> GetAllFields() const; |
| 21 CPDF_Object* GetField(size_t iIndex) const; |
| 22 |
| 23 private: |
| 24 const CPDF_Action* const m_pAction; |
| 25 }; |
| 26 |
| 27 #endif // CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_ |
OLD | NEW |