THPDFObjectLifecycleState Type
Tracks where a PDF object stands in the loaded object graph lifecycle
Declaration
THPDFObjectLifecycleState= (olsClean, olsDirty, olsReleased,
olsMustWrite, olsRaw, olsParsed, olsFlushed);
Unit
HPDFObjs
Values
| Value | Meaning |
|---|---|
olsClean |
The object is stable and not scheduled to be written |
olsDirty |
The object was modified after it was last written; part of the IsDirty set |
olsReleased |
The object was released |
olsMustWrite |
The object is flagged so that it is always written regardless of dirty tracking; it also counts as dirty |
olsRaw |
An indexed but not yet materialised object-graph entry |
olsParsed |
An object materialised from source bytes with no modifications |
olsFlushed |
An object already serialised into the output document |
Usage notes
- The original four states keep their ordinals and the three newer states are appended, so persisted ordinals and set-based logic such as
IsDirty = [olsDirty, olsMustWrite]stay valid - The
THPDFObjectmethodsMarkClean,MarkDirty,MarkReleased,MarkMustWrite,MarkRaw,MarkParsedandMarkFlushedshift objects between states