OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARK_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARK_H_ |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARK_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARK_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h" | 12 #include "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h" |
13 #include "core/fxcrt/include/cfx_count_ref.h" | 13 #include "core/fxcrt/cfx_count_ref.h" |
14 #include "core/fxcrt/include/fx_basic.h" | 14 #include "core/fxcrt/fx_basic.h" |
15 #include "core/fxcrt/include/fx_system.h" | 15 #include "core/fxcrt/fx_system.h" |
16 | 16 |
17 class CPDF_Dictionary; | 17 class CPDF_Dictionary; |
18 | 18 |
19 class CPDF_ContentMark { | 19 class CPDF_ContentMark { |
20 public: | 20 public: |
21 CPDF_ContentMark(); | 21 CPDF_ContentMark(); |
22 CPDF_ContentMark(const CPDF_ContentMark& that); | 22 CPDF_ContentMark(const CPDF_ContentMark& that); |
23 ~CPDF_ContentMark(); | 23 ~CPDF_ContentMark(); |
24 | 24 |
25 void SetNull(); | 25 void SetNull(); |
(...skipping 29 matching lines...) Expand all Loading... |
55 void DeleteLastMark(); | 55 void DeleteLastMark(); |
56 | 56 |
57 private: | 57 private: |
58 std::vector<CPDF_ContentMarkItem> m_Marks; | 58 std::vector<CPDF_ContentMarkItem> m_Marks; |
59 }; | 59 }; |
60 | 60 |
61 CFX_CountRef<MarkData> m_Ref; | 61 CFX_CountRef<MarkData> m_Ref; |
62 }; | 62 }; |
63 | 63 |
64 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARK_H_ | 64 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARK_H_ |
OLD | NEW |