This project is no longer maintained and no further public releases are planned.

No further support will be given.

Feel free to fork the git repository.

Generator\WebkitPdf

Generates PDF files using the extension webkitpdf.
The configuration only needs the ID of the page where a webkitpdf plugin record was inserted.

The only configuration option for Generator\WebkitPdf is 'pid', which has to be the ID of a page with a webkitpdf plugin record.

Version added

1.0.0

Example code

... {
  class = Generator\WebkitPdf
  config {
    pid = 23
  }
}

Properties

.pid

ID of the page containing the webkitpdf plugin.

Data type

Integer - cObj

Version added

1.0.0

.linkText

Configure a custom link text.
You can also configure this text in a translation file using the key “print”.

Data type

String | cObj

Default value

Print

Version added

1.0.0

.linkTarget

.linkTarget

Data type

String | cObj

Default value

_self

Version added

2.4.0

.additionalParams

Array of additional parameters to be set in the generation link URL.

Data type

Array

Version added

1.4.0

Example code

additionalParams {
  param1 = TEXT
  param1.value = myValue
}