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 <stddef.h> | |
11 | |
12 #include <vector> | |
13 | |
14 class CPDF_Action; | |
15 class CPDF_Object; | |
16 | |
17 class CPDF_ActionFields { | |
18 public: | |
19 explicit CPDF_ActionFields(const CPDF_Action* pAction) : m_pAction(pAction) {} | |
20 | |
21 size_t GetFieldsCount() const; | |
22 std::vector<CPDF_Object*> GetAllFields() const; | |
23 CPDF_Object* GetField(size_t iIndex) const; | |
24 | |
25 private: | |
26 const CPDF_Action* const m_pAction; | |
27 }; | |
28 | |
29 #endif // CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_ | |
OLD | NEW |