IHPDFDocumentHandler Arayüzü
IHPDFDocumentHandler = interface(IInterface)
function GetHandlerName: string;
function GetFormat: THPDFHandledDocumentFormat;
function GetExtensions: string;
function GetMIMETypes: string;
function Recognize(const Probe: THPDFDocumentProbe): Integer;
function Open(Source: TStream; const Probe: THPDFDocumentProbe;
const Options: THPDFDocumentHandlerOptions;
out Document: IHPDFHandledDocument;
out Info: THPDFDocumentHandlerInfo): boolean;
end;
Recognize, 0 ile 100 arasında bir puan döndürür; böylece incelenen içeriğe dayalı güçlü kanıt, zayıf uzantı veya MIME ipuçlarını geride bırakabilir
Open verilen seçeneklere uymalı, kaynak stream'in çağıran sahipliğini korumalı ve değişmez handled document'i yalnızca başarılı dönüştürmenin ardından yayımlamalıdır