7 #ifndef PDF_BASE_DATA_TYPES_H
8 #define PDF_BASE_DATA_TYPES_H
11 #include <podofo/auxiliary/StreamDevice.h>
16 class PdfStatefulEncrypt;
28 inline PdfDataType GetDataType()
const {
return m_DataType; }
65 StringStreamDevice device(str);
67 static_cast<const T&
>(*this).Write(device, flags,
nullptr, buffer);
SPDX-FileCopyrightText: (C) 2005 Dominik Seichter domseichter@web.de SPDX-FileCopyrightText: (C) 2020...
A PdfDataProvider object with a PdfObject owner, specialized in holding objects.
Definition: PdfDataContainer.h:22
A class to inherit for classes that are stored as union members in a PdfVariant.
Definition: PdfBaseDataTypes.h:21
An helper class to inherit to provide common serialization methods.
Definition: PdfBaseDataTypes.h:40
std::string ToString(PdfWriteFlags flags=PdfWriteFlags::None) const
Converts the current object into a string representation which can be written directly to a PDF file ...
Definition: PdfBaseDataTypes.h:55
A datatype that allows to write arbitrary data to a PDF file.
Definition: PdfData.h:23
This class represents a PdfName.
Definition: PdfName.h:24
A reference is a pointer to a object in the PDF file of the form "4 0 R", where 4 is the object numbe...
Definition: PdfReference.h:24
A string that can be written to a PDF document.
Definition: PdfString.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
PdfDataType
Every PDF datatype that can occur in a PDF file is referenced by an own enum (e.g.
Definition: PdfDeclarations.h:155
PdfWriteFlags
Specify additional options for writing the PDF.
Definition: PdfDeclarations.h:137