73class PODOFO_API PdfDictionaryElement :
public PdfElement
81 PdfDictionaryElement(PdfDocument& parent,
82 const PdfName& type = PdfName::Null,
83 const PdfName& subtype = PdfName::Null);
91 PdfDictionaryElement(PdfObject& obj);
93 PdfDictionaryElement(
const PdfDictionaryElement& element) =
default;
96 PdfDictionary& GetDictionary();
97 const PdfDictionary& GetDictionary()
const;
100class PODOFO_API PdfArrayElement :
public PdfElement
106 PdfArrayElement(PdfDocument& parent);
114 PdfArrayElement(PdfObject& obj);
116 PdfArrayElement(
const PdfArrayElement& element) =
default;
119 PdfArray& GetArray();
120 const PdfArray& GetArray()
const;
PdfDocument is the core interface for working with PDF documents.
Definition PdfDocument.h:111
PdfElement is a common base class for all elements in a PDF file.
Definition PdfElement.h:30
PdfObject & GetObject()
Get access to the internal object.
Definition PdfElement.h:38
const PdfObject & GetObject() const
Get access to the internal object This is an overloaded member function.
Definition PdfElement.h:45
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:35
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
PdfDataType
Every PDF datatype that can occur in a PDF file is referenced by an own enum (e.g.
Definition PdfDeclarations.h:167