THPDFContentOperatorVisitPhase Type
Tells a visitor which stage of the content-stream walk raised the callback
Declaration
THPDFContentOperatorVisitPhase= (
covpBeginStream,
covpOperator,
covpEndStream
);
Unit
HPDFContentStream
Values
| Value | Purpose |
|---|---|
covpBeginStream | Delivered once before the first operator, with the span covering the whole of the source stream |
covpOperator | Delivered for every operation node in stream order, with its operands, indexes and byte spans |
covpEndStream | Delivered once after the last operator has been handled |
Usage notes
- Read
THPDFContentOperatorEventData.Phasefirst in the callback; onlycovpOperatorevents carry a meaningful operator name and operand view - Use
covpBeginStreamto set up per-walk state andcovpEndStreamto flush or summarise it - An action assigned on a
covpOperatorevent controls that operator; the bracketing phases are there for observation only