6 #ifndef PDF_FILE_SPEC_H
7 #define PDF_FILE_SPEC_H
11 #include "PdfElement.h"
12 #include "PdfString.h"
23 class PODOFO_API
PdfFileSpec final :
public PdfDictionaryElement
26 friend class PdfAnnotationFileAttachment;
27 friend class PdfNameTreeBase;
37 bool TryCreateFromObject(
PdfObject& obj, std::unique_ptr<PdfFileSpec>& filespec);
48 void SetEmbeddedDataFromFile(
const std::string_view& filepath);
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 file specification is used in the PDF file to refer to another file.
Definition: PdfFileSpec.h:24
This class represents a PDF indirect Object in memory.
Definition: PdfObject.h:35
Alternative to std::optional that supports reference (but not pointer) types.
Definition: nullable.h:29
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16