An open API service indexing awesome lists of open source software.

https://github.com/raudius/files_scripts_deprecated

Keeps deprecated and removed functions for the `files_scripts` Nextcloud app
https://github.com/raudius/files_scripts_deprecated

Last synced: 10 months ago
JSON representation

Keeps deprecated and removed functions for the `files_scripts` Nextcloud app

Awesome Lists containing this project

README

          

This app packages the deprecated and removed functions from the `files_scripts` Nextcloud app.

## Functions

### html_to_pdf

`html_to_pdf(String html, [Table config]={}, [Table position]={}): string|nil`

Renders the HTML onto a PDF file.

A configuration table can be passed to configure various aspects of PDF generation. For more information see the [MPDF documentation](https://mpdf.github.io/reference/mpdf-variables/overview.html).
The position (x, y, w, h) of where to render the HTML onto the page can also be provided. For more information see the [MPDF documentation](https://mpdf.github.io/reference/mpdf-functions/writefixedposhtml.html)

Returns the PDF as a string (or `nil` if PDF generation failed).