Background IBatchWorker that renders multi-page help PDFs. More...
| Header: | #include <HelpPdfWorker> |
| Inherits: | QObject and batch::IBatchWorker |
Submitted as job type "help/pdf-export" with this payload in job.data:
outputPath (QString) — absolute file path to write.rootTitle (QString) — section title used on the cover and as the PDF metadata title.bodyFontPt (int) — body font size for the rendered text.pages (QVariantList) — ordered list of QVariantMap{ path, title, depth } entries.The worker is Pooled (BO-05 … BO-08 in the batch-orchestration parity matrix): libbatch owns the thread, and this body runs on it. Progress and logs go through JobContext, which marshals them home from any thread, and the final state is a JobOutcome the dispatcher applies.
On success job.result["output_path"] holds the written file path.