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
fpdf_catalog.h
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#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// Experimental API.
16//
17// Determine if |document| represents a tagged PDF.
18//
19// For the definition of tagged PDF, See (see 10.7 "Tagged PDF" in PDF
20// Reference 1.7).
21//
22// document - handle to a document.
23//
24// Returns |true| iff |document| is a tagged PDF.
26FPDFCatalog_IsTagged(FPDF_DOCUMENT document);
27
28// Experimental API.
29// Sets the language of |document| to |language|.
30//
31// document - handle to a document.
32// language - the language to set to.
33//
34// Returns TRUE on success.
36FPDFCatalog_SetLanguage(FPDF_DOCUMENT document, FPDF_BYTESTRING language);
37
38#ifdef __cplusplus
39} // extern "C"
40#endif // __cplusplus
41
42#endif // PUBLIC_FPDF_CATALOG_H_
std::map< ByteString, RetainPtr< CPDF_Object >, std::less<> > DictMap
const CPDF_Dictionary * GetRoot() const
CPDF_Document * CPDFDocumentFromFPDFDocument(FPDF_DOCUMENT doc)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFCatalog_SetLanguage(FPDF_DOCUMENT document, FPDF_BYTESTRING language)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFCatalog_IsTagged(FPDF_DOCUMENT document)
#define FPDF_CALLCONV
Definition fpdfview.h:229
#define FPDF_EXPORT
Definition fpdfview.h:223