7 #ifndef PDF_REFERENCE_H
8 #define PDF_REFERENCE_H
10 #include "PdfBaseDataTypes.h"
38 PdfReference(
const uint32_t objectNo,
const uint16_t generationNo);
83 bool IsIndirect()
const;
107 uint16_t m_GenerationNo;
An interface for writing blocks of data to a data source.
Definition: OutputStream.h:18
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
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
PdfReference & operator=(const PdfReference &rhs)=default
Assign the value of another object to this PdfReference.
PdfReference(const PdfReference &rhs)=default
Create a copy of an existing PdfReference.
void SetObjectNumber(uint32_t o)
Set the object number of this object.
Definition: PdfReference.h:89
void SetGenerationNumber(const uint16_t g)
Set the generation number of this object.
Definition: PdfReference.h:99
uint16_t GenerationNumber() const
Get the generation number.
Definition: PdfReference.h:104
uint32_t ObjectNumber() const
Get the object number.
Definition: PdfReference.h:94
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
PdfWriteFlags
Specify additional options for writing the PDF.
Definition: PdfDeclarations.h:137