• 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 PUBLIC_FPDF_CATALOG_H_
6 #define PUBLIC_FPDF_CATALOG_H_
7 
8 // NOLINTNEXTLINE(build/include)
9 #include "fpdfview.h"
10 
11 #ifdef __cplusplus
12 extern "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  */
27 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
28 FPDFCatalog_IsTagged(FPDF_DOCUMENT document);
29 
30 #ifdef __cplusplus
31 }  // extern "C"
32 #endif  // __cplusplus
33 
34 #endif  // PUBLIC_FPDF_CATALOG_H_
35