• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 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 #ifndef CORE_FPDFAPI_PARSER_CPDF_PAGE_OBJECT_AVAIL_H_
6 #define CORE_FPDFAPI_PARSER_CPDF_PAGE_OBJECT_AVAIL_H_
7 
8 #include "core/fpdfapi/parser/cpdf_object_avail.h"
9 
10 // Helper for check availability of page's object tree.
11 // Exclude references to pages.
12 class CPDF_PageObjectAvail final : public CPDF_ObjectAvail {
13  public:
14   using CPDF_ObjectAvail::CPDF_ObjectAvail;
15   ~CPDF_PageObjectAvail() override;
16 
17  private:
18   bool ExcludeObject(const CPDF_Object* object) const override;
19 };
20 
21 #endif  // CORE_FPDFAPI_PARSER_CPDF_PAGE_OBJECT_AVAIL_H_
22