PoDoFo 1.0.0-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
PdfExtension.h
1
6#ifndef PDF_EXTENSION_H
7#define PDF_EXTENSION_H
8
9#include "PdfName.h"
10#include "PdfString.h"
11
12namespace PoDoFo
13{
17 class PODOFO_API PdfExtension final
18 {
19 public:
20 PdfExtension(const PdfName& ns, int64_t level, PdfVersion baseVersion = PdfVersion::Unknown,
22
23 public:
24 PdfVersion GetBaseVersion() const { return m_BaseVersion; }
25 const PdfName& GetNamespace() const { return m_Namespace; }
26 int64_t GetLevel() const { return m_Level; }
29 const nullable<PdfString>& GetUrl() const { return m_Url; }
33 const nullable<PdfString>& GetExtensionRevision() const { return m_ExtensionRevision; }
34
35 private:
36 PdfVersion m_BaseVersion;
37 PdfName m_Namespace;
38 int64_t m_Level;
40 nullable<PdfString> m_ExtensionRevision;
41 };
42}
43
44#endif // PDF_EXTENSION_H
PdfExtension is a simple class that describes a vendor-specific extension to the official specificati...
Definition PdfExtension.h:18
const nullable< PdfString > & GetUrl() const
A URL that refers to the documentation for this extension (PDF2.0)
Definition PdfExtension.h:29
const nullable< PdfString > & GetExtensionRevision() const
An optional text string that provides additional revision information on the extension level being us...
Definition PdfExtension.h:33
This class represents a PdfName.
Definition PdfName.h:24
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:38
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition basetypes.h:16
PdfVersion
Enum to identify different versions of the PDF file format.
Definition PdfDeclarations.h:71