blob: 1a48411a42df598d4a8c1187a4767588dd1df0be [file] [log] [blame]
K. Moon832a6942022-10-31 20:11:31 +00001// Copyright 2017 The PDFium Authors
Henrique Nakashima077f6432017-10-16 13:32:01 -04002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef PUBLIC_FPDF_CATALOG_H_
6#define PUBLIC_FPDF_CATALOG_H_
7
8// NOLINTNEXTLINE(build/include)
9#include "fpdfview.h"
10
11#ifdef __cplusplus
12extern "C" {
13#endif // __cplusplus
14
15/**
16 * Experimental API.
17 *
18 * Determine if |document| represents a tagged PDF.
19 *
20 * For the definition of tagged PDF, See (see 10.7 "Tagged PDF" in PDF
21 * Reference 1.7).
22 *
23 * document - handle to a document.
24 *
25 * Returns |true| iff |document| is a tagged PDF.
26 */
27FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
28FPDFCatalog_IsTagged(FPDF_DOCUMENT document);
29
30#ifdef __cplusplus
31} // extern "C"
32#endif // __cplusplus
33
34#endif // PUBLIC_FPDF_CATALOG_H_