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_PARSER_IPDF_OCCONTEXT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_IPDF_OCCONTEXT_H_ |
8 #define CORE_FPDFAPI_FPDF_PARSER_IPDF_OCCONTEXT_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_IPDF_OCCONTEXT_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_system.h" | 10 #include "core/fxcrt/include/fx_system.h" |
11 | 11 |
12 class CPDF_Dictionary; | 12 class CPDF_Dictionary; |
13 class CPDF_PageObject; | 13 class CPDF_PageObject; |
14 | 14 |
15 class IPDF_OCContext { | 15 class IPDF_OCContext { |
16 public: | 16 public: |
17 virtual ~IPDF_OCContext(); | 17 virtual ~IPDF_OCContext(); |
18 | 18 |
19 virtual FX_BOOL CheckOCGVisible(const CPDF_Dictionary* pOCG) = 0; | 19 virtual FX_BOOL CheckOCGVisible(const CPDF_Dictionary* pOCG) = 0; |
20 FX_BOOL CheckObjectVisible(const CPDF_PageObject* pObj); | 20 FX_BOOL CheckObjectVisible(const CPDF_PageObject* pObj); |
21 }; | 21 }; |
22 | 22 |
23 #endif // CORE_FPDFAPI_FPDF_PARSER_IPDF_OCCONTEXT_H_ | 23 #endif // CORE_FPDFAPI_FPDF_PARSER_IPDF_OCCONTEXT_H_ |
OLD | NEW |