Re-factor PDFPrintServiceFactory to use import maps

This is very old code, which can (ever so slightly) be simplified now that import maps are available.
This commit is contained in:
Jonas Jenwald 2024-02-07 13:53:29 +01:00
parent 60fd9d583d
commit 898172e9d2
6 changed files with 48 additions and 35 deletions

View file

@ -217,4 +217,23 @@ class IL10n {
resume() {}
}
export { IDownloadManager, IL10n, IPDFLinkService, IRenderableView };
/**
* @interface
*/
class IPDFPrintServiceFactory {
static get supportsPrinting() {
return false;
}
static createPrintService() {
throw new Error("Not implemented: createPrintService");
}
}
export {
IDownloadManager,
IL10n,
IPDFLinkService,
IPDFPrintServiceFactory,
IRenderableView,
};