TPDFlibRevisionOperation
Data types, security and signatures
Description
Selects which query on the incremental revisions of a PDF file a dispatched call stands for. The value travels with the Operation parameter of the TPDFlibRevisionRead callback; the public methods take no parameter of this type.
TPDFlib declares the public methods and a protected dispatch method for reading the incremental revision history of a PDF file. The edition class supplies the implementation as a callback, and this value tells the callback which public method is calling. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_SMALLBUSINESS_REQUIRED. Application code never passes a value of this type.
When no callback is supplied, the public method returns the documented default of the operation: 0, except 7 for roKind, which means the kind could not be determined, and -1 for roSignatureIndex.
Syntax
Delphi
type TPDFlibRevisionOperation = (roCount, roComplete, roStart, roEnd, roKind, roChanges, roSignatureIndex, roExtract);Values
| roCount | Number of incremental revisions stored in the file; the operation behind GetDocumentRevisionCount |
|---|---|
| roComplete | Whether the whole revision history was recoverable; the operation behind GetDocumentRevisionsComplete |
| roStart | Byte offset at which one revision begins; the operation behind GetDocumentRevisionStart |
| roEnd | Byte offset at which one revision ends; the operation behind GetDocumentRevisionEnd |
| roKind | Most far-reaching kind of change a revision contains; the operation behind GetDocumentRevisionKind |
| roChanges | Per-object detail of the changes a revision contains; the operation behind GetDocumentRevisionChanges |
| roSignatureIndex | Revision at which a signature ByteRange ends; the operation behind GetSignatureRevisionIndex |
| roExtract | Writing of one earlier revision to a new file; the operation behind ExtractDocumentRevision |
See also
TPDFlibRevisionRead, GetDocumentRevisionCount, ExtractDocumentRevision