7 #ifndef PDF_STREAMED_DOCUMENT_H
8 #define PDF_STREAMED_DOCUMENT_H
12 #include "PdfDocument.h"
13 #include <podofo/auxiliary/OutputDevice.h>
17 class PdfImmediateWriter;
68 const std::shared_ptr<PdfEncrypt>& encrypt =
nullptr,
PdfSaveOptions opts = PdfSaveOptions::None);
83 const std::shared_ptr<PdfEncrypt>& encrypt =
nullptr,
PdfSaveOptions opts = PdfSaveOptions::None);
93 void SetPdfVersion(
PdfVersion version)
override;
109 std::shared_ptr<OutputStreamDevice> m_Device;
110 std::unique_ptr<PdfImmediateWriter> m_Writer;
111 std::shared_ptr<PdfEncrypt> m_Encrypt;
SPDX-FileCopyrightText: (C) 2005 Dominik Seichter domseichter@web.de SPDX-FileCopyrightText: (C) 2020...
PdfDocument is the core interface for working with PDF documents.
Definition: PdfDocument.h:108
A class that is used to encrypt a PDF file and set document permissions on the PDF file.
Definition: PdfEncrypt.h:122
A PdfImage object is needed when ever you want to embed an image file into a PDF document.
Definition: PdfImage.h:44
PdfStreamedDocument is the preferred class for creating new PDF documents.
Definition: PdfStreamedDocument.h:50
PdfStreamedDocument(const std::shared_ptr< OutputStreamDevice > &device, PdfVersion version=PdfVersionDefault, const std::shared_ptr< PdfEncrypt > &encrypt=nullptr, PdfSaveOptions opts=PdfSaveOptions::None)
Create a new PdfStreamedDocument.
PdfStreamedDocument(const std::string_view &filename, PdfVersion version=PdfVersionDefault, const std::shared_ptr< PdfEncrypt > &encrypt=nullptr, PdfSaveOptions opts=PdfSaveOptions::None)
Create a new PdfStreamedDocument.
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16
PdfSaveOptions
Definition: PdfDeclarations.h:440
constexpr PdfVersion PdfVersionDefault
The default PDF Version used by new PDF documents in PoDoFo.
Definition: PdfDeclarations.h:87
PdfVersion
Enum to identify different versions of the PDF file format.
Definition: PdfDeclarations.h:71