GetDocumentRevisionsComplete

Digital signatures

Description

Reports whether the whole revision history of a document was recoverable.

Syntax

Delphi

Function TPDFlib.GetDocumentRevisionsComplete(Const InputFile, Password: WideString): Integer;

Parameters

InputFileThe document to inspect.
PasswordThe password to open it, or an empty string.

Return values

1The cross-reference chain was followed all the way back, so the revision list is the whole history.
0It was not, or the file could not be read.

Remarks

A chain that is broken, cyclic, or longer than the reader will follow leaves the oldest updates unseen. Every figure from GetDocumentRevisionCount and the indices used by the other revision functions are then a lower bound rather than an answer, and a conclusion drawn from them about what a signature covers is not safe. Check this before treating a revision analysis as final.

See also

GetDocumentRevisionCount, GetDocumentRevisionKind, GetSignatureRevisionIndex