PoDoFo  1.0.0-dev
PdfExtension.h
1 
6 #ifndef PDF_EXTENSION_H
7 #define PDF_EXTENSION_H
8 
9 #include "PdfDeclarations.h"
10 
11 namespace PoDoFo {
12 
16  class PODOFO_API PdfExtension final
17  {
18  friend class PdfMemDocument;
19 
20  private:
21  PdfExtension(const std::string_view& ns, PdfVersion baseVersion, int64_t level);
22 
23  public:
24  inline const std::string& GetNamespace() const { return m_Ns; }
25  PdfVersion GetBaseVersion() const { return m_BaseVersion; }
26  int64_t GetLevel() const { return m_Level; }
27 
28  private:
29  std::string m_Ns;
30  PdfVersion m_BaseVersion;
31  int64_t m_Level;
32  };
33 }
34 
35 #endif // PDF_EXTENSION_H
SPDX-FileCopyrightText: (C) 2005 Dominik Seichter domseichter@web.de SPDX-FileCopyrightText: (C) 2020...
PdfExtension is a simple class that describes a vendor-specific extension to the official specificati...
Definition: PdfExtension.h:17
PdfMemDocument is the core class for reading and manipulating PDF files and writing them back to disk...
Definition: PdfMemDocument.h:39
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