Třída THPDFDocumentHandlerRegistry
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;
Registrace, náhrada, odebrání, snímky a vyhledávání jsou bezpečné vůči vláknům, s nejvýše 32 obslužnými programy a jedním slotem bez rozlišení velikosti písmen pro každý název obslužného programu
Rozpoznání běží mimo zámek registru proti stabilnímu snímku rozhraní a shodné skóre zachovávají pořadí registrace
RegisterStandardHandlers se přihlašuje k podpoře XPS, EPUB a CBZ, aniž by měnil API specifické pro načítání PDF