THPDFDocumentHandlerRegistry Sınıfı

THPDFDocumentHandlerRegistry = class
  function RegisterHandler(const Handler: IHPDFDocumentHandler;
    ReplaceExisting: boolean = false): boolean;
  function UnregisterHandler(const HandlerName: string): boolean;
  procedure Clear;
  function GetHandlerCount: Integer;
  function GetHandlerName(Index: Integer): string;
  procedure RegisterStandardHandlers(ReplaceExisting: boolean = false);
  function OpenFromStream(Source: TStream; const SourceName,
    MIMEType: string; const Options: THPDFDocumentHandlerOptions;
    out Document: IHPDFHandledDocument;
    out Info: THPDFDocumentHandlerInfo): boolean;
  function OpenFromFile(const FileName, MIMEType: string;
    const Options: THPDFDocumentHandlerOptions;
    out Document: IHPDFHandledDocument;
    out Info: THPDFDocumentHandlerInfo): boolean;
end;

Kayıt etme, değiştirme, kaldırma, snapshot alma ve arama thread-safe'dir; en fazla 32 handler desteklenir ve her handler adı için büyük/küçük harfe duyarsız tek bir slot bulunur

Tanıma, kayıt defteri kilidi dışında kararlı bir interface snapshot'ına karşı çalışır ve eşit skorlar kayıt sırasını korur

RegisterStandardHandlers, PDF'e özgü yükleme API'lerini değiştirmeden XPS, EPUB ve CBZ desteğini devreye alır

İsteğe Bağlı Document Handler'lar