Move the getXfaHtmlForPrinting helper function to its own file (PR 13411 follow-up)

The `web/ui_utils.js` file should be usable from basically anywhere in the `web/`-folder, hence it should ideally not have any dependecies on its own and particularily *not* onces that pull in entire (large) factories.
This commit is contained in:
Jonas Jenwald 2021-06-18 11:48:29 +02:00
parent 9441245320
commit eb94d71b71
4 changed files with 44 additions and 28 deletions

View file

@ -14,7 +14,7 @@
*/
import { RenderingCancelledException, shadow } from "pdfjs-lib";
import { getXfaHtmlForPrinting } from "./ui_utils.js";
import { getXfaHtmlForPrinting } from "./print_utils.js";
import { PDFPrintServiceFactory } from "./app.js";
// Creates a placeholder with div and canvas with right size for the page.