Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cpdf_page_object_avail.cpp
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "core/fpdfapi/parser/cpdf_page_object_avail.h"
6
7#include "core/fpdfapi/parser/cpdf_dictionary.h"
8#include "core/fpdfapi/parser/fpdf_parser_utility.h"
9
10CPDF_PageObjectAvail::~CPDF_PageObjectAvail() = default;
11
12bool CPDF_PageObjectAvail::ExcludeObject(const CPDF_Object* object) const {
14 return true;
15
16 // See ISO 32000-1:2008 spec, table 30.
17 return ValidateDictType(ToDictionary(object), "Page");
18}
virtual bool ExcludeObject(const CPDF_Object *object) const
~CPDF_PageObjectAvail() override
bool ExcludeObject(const CPDF_Object *object) const override
const CPDF_Dictionary * ToDictionary(const CPDF_Object *obj)