Renders a single help page to a PDF file via QPdfWriter. More...
| Header: | #include <HelpPdfExporter> |
Pure utility — takes pre-rendered HTML and writes a PDF. The host activity is responsible for prompting the user for a filename via QFileDialog and for composing the page's HTML.
Implementation uses QPdfWriter (Qt Gui, available on every platform Qt itself supports including Android), rather than QPrinter (Qt PrintSupport, not built for Android). Both inherit from QPagedPaintDevice, so the layout / paint loop is largely the same.