#include <PdfDataContainer.h>
A PdfDataProvider object with a PdfObject owner, specialized in holding objects
◆ PdfDataContainer()
| PdfDataContainer::PdfDataContainer |
( |
| ) |
|
|
protected |
Create a new PdfDataOwnedType. Can only be called by subclasses
◆ GetOwner()
| const PdfObject * mm::PdfDataContainer::GetOwner |
( |
| ) |
const |
|
inline |
- Returns
- a pointer to a PdfObject that is the owner of this data type. Might be nullptr if the data type has no owner.
◆ IsImmutable()
| bool mm::PdfDataContainer::IsImmutable |
( |
| ) |
const |
|
inline |
Retrieve if an object is immutable.
This is used by PdfImmediateWriter and PdfStreamedDocument so that no keys can be added to an object after setting stream data on it.
- Returns
- true if the object is immutable
◆ SetImmutable()
| void mm::PdfDataContainer::SetImmutable |
( |
bool |
immutable | ) |
|
|
inline |
Sets this object to immutable, so that no keys can be edited or changed.
- Parameters
-
| bImmutable | if true set the object to be immutable |
This is used by PdfImmediateWriter and PdfStreamedDocument so that no keys can be added to an object after setting stream data on it.