THPDFObjectLifecycleState Type
Tracks where a PDF object sits 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 for writing |
olsDirty |
The object was modified since it was last written; part of the IsDirty set |
olsReleased |
The object was released |
olsMustWrite |
The object is flagged to always be written regardless of dirty tracking; also counts as dirty |
olsRaw |
An indexed but not yet materialized object-graph entry |
olsParsed |
An object materialized from source bytes without modifications |
olsFlushed |
An object already serialized to the output document |
Usage notes
- The original four states keep their ordinals and the three newer states append, so persisted ordinals and set-based logic such as
IsDirty = [olsDirty, olsMustWrite]stay valid - The
THPDFObjectmethodsMarkClean,MarkDirty,MarkReleased,MarkMustWrite,MarkRaw,MarkParsedandMarkFlushedmove objects between states