IHPDFDocumentHandler 인터페이스

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부터 100까지의 점수를 반환하여, 강력한 검사 콘텐츠 증거가 약한 확장자 또는 MIME 힌트보다 우위에 서게 합니다

Open은 제공된 옵션을 준수하고, 소스 스트림에 대한 호출자 소유권을 유지하며, 성공적인 변환 후에만 변경 불가능한 처리 문서를 게시해야 합니다

THPDFDocumentHandlerRegistry 클래스