THPDFDocumentHandlerRegistry Class
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;
Registracija, zamena, uklanjanje, snimci i pretraga su bezbedni za više niti, sa najviše 32 upravljača i po jednim slotom koji ne razlikuje velika i mala slova za ime svakog upravljača
Prepoznavanje se izvršava van zaključavanja registra, nad stabilnim snimkom interfejsa, a jednaki rezultati zadržavaju redosled registracije
RegisterStandardHandlers uključuje podršku za XPS, EPUB i CBZ bez izmene API-ja za učitavanje specifičnih za PDF