10 #include "PdfObject.h"
73 class PODOFO_API PdfDictionaryElement :
public PdfElement
81 PdfDictionaryElement(PdfDocument& parent,
91 PdfDictionaryElement(PdfObject& obj);
93 PdfDictionaryElement(
const PdfDictionaryElement& element) =
default;
96 PdfDictionary& GetDictionary();
97 const PdfDictionary& GetDictionary()
const;
100 class 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:108
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
static const PdfName Null
Null name, corresponds to "/".
Definition: PdfName.h:30
This class represents a PDF indirect Object in memory.
Definition: PdfObject.h:35
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:155