ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct () | |
ilWkhtmlToPdfConfigFormGUI constructor. More... | |
addConfigForm ($form) | |
validateForm () | |
getConfigFromForm (ilPropertyFormGUI $form) | |
populateForm ($form, $config) | |
Protected Member Functions | |
setLanguage ($lng) | |
translate ($txt) | |
appendOutputOptionsForm (ilPropertyFormGUI $form) | |
buildExternalLinksForm () | |
buildEnableFormsForm () | |
buildLowQualityForm () | |
buildGreyScaleForm () | |
buildPrintMediaTypeForm () | |
buildJavascriptDelayForm () | |
buildOverwriteDefaultFont () | |
appendPageSettingsForm (ilPropertyFormGUI $form) | |
buildZoomForm () | |
buildOrientationsForm () | |
buildPageSizesForm () | |
buildMarginLeftForm () | |
buildMarginRightForm () | |
buildMarginTopForm () | |
buildMarginBottomForm () | |
buildHeaderForm () | |
buildHeaderTextForm () | |
buildHeaderHtmlForm () | |
buildFooterForm () | |
buildFooterTextForm () | |
buildFooterHtmlForm () | |
buildCheckboxSvgForm () | |
buildCheckedCheckboxSvgForm () | |
buildRadiobuttonSvgForm () | |
buildCheckedRadiobuttonSvgForm () | |
saveNewDefaultBinaryPath ($path) | |
Protected Attributes | |
$lng | |
Private Member Functions | |
isNotValidSize (array $sizes) | |
isNotValidText (array $texts) | |
Definition at line 3 of file class.ilWkhtmlToPdfConfigFormGUI.php.
ilWkhtmlToPdfConfigFormGUI::__construct | ( | ) |
ilWkhtmlToPdfConfigFormGUI constructor.
Definition at line 13 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References $DIC, and setLanguage().
ilWkhtmlToPdfConfigFormGUI::addConfigForm | ( | $form | ) |
ilPropertyFormGUI | $form |
Definition at line 30 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References appendOutputOptionsForm(), appendPageSettingsForm(), and translate().
|
protected |
ilPropertyFormGUI | $form |
Definition at line 51 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPropertyFormGUI\addItem(), buildCheckboxSvgForm(), buildCheckedCheckboxSvgForm(), buildCheckedRadiobuttonSvgForm(), buildEnableFormsForm(), buildExternalLinksForm(), buildGreyScaleForm(), buildJavascriptDelayForm(), buildLowQualityForm(), buildOverwriteDefaultFont(), buildPrintMediaTypeForm(), buildRadiobuttonSvgForm(), and translate().
Referenced by addConfigForm().
|
protected |
ilPropertyFormGUI | $form |
Definition at line 144 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPropertyFormGUI\addItem(), buildFooterForm(), buildHeaderForm(), buildMarginBottomForm(), buildMarginLeftForm(), buildMarginRightForm(), buildMarginTopForm(), buildOrientationsForm(), buildPageSizesForm(), buildZoomForm(), and translate().
Referenced by addConfigForm().
|
protected |
Definition at line 345 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 350 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 360 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 83 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 73 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 292 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References buildFooterHtmlForm(), buildFooterTextForm(), ilPDFGenerationConstants\FOOTER_NONE, and translate().
Referenced by appendPageSettingsForm().
|
protected |
Definition at line 330 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPDFGenerationConstants\FOOTER_HTML, and translate().
Referenced by buildFooterForm().
|
protected |
Definition at line 305 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPDFGenerationConstants\FOOTER_TEXT, and translate().
Referenced by buildFooterForm().
|
protected |
Definition at line 103 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 236 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References buildHeaderHtmlForm(), buildHeaderTextForm(), ilPDFGenerationConstants\HEADER_NONE, and translate().
Referenced by appendPageSettingsForm().
|
protected |
Definition at line 274 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPDFGenerationConstants\HEADER_HTML, and translate().
Referenced by buildHeaderForm().
|
protected |
Definition at line 249 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPDFGenerationConstants\HEADER_TEXT, and translate().
Referenced by buildHeaderForm().
|
protected |
Definition at line 123 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 93 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 225 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendPageSettingsForm().
|
protected |
Definition at line 192 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendPageSettingsForm().
|
protected |
Definition at line 203 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendPageSettingsForm().
|
protected |
Definition at line 214 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendPageSettingsForm().
|
protected |
Definition at line 172 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPDFGenerationConstants\getOrientations(), and translate().
Referenced by appendPageSettingsForm().
|
protected |
Definition at line 134 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPDFGenerationConstants\getFontStyles(), and translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 182 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPDFGenerationConstants\getPageSizesNames(), and translate().
Referenced by appendPageSettingsForm().
|
protected |
Definition at line 113 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 355 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendOutputOptionsForm().
|
protected |
Definition at line 164 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References translate().
Referenced by appendPageSettingsForm().
ilWkhtmlToPdfConfigFormGUI::getConfigFromForm | ( | ilPropertyFormGUI | $form | ) |
ilPropertyFormGUI | $form |
Definition at line 486 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), ilPDFGenerationConstants\getOrientations(), and ilUtil\stripSlashes().
|
private |
Definition at line 451 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References $size.
Referenced by validateForm().
|
private |
Definition at line 463 of file class.ilWkhtmlToPdfConfigFormGUI.php.
Referenced by validateForm().
ilWkhtmlToPdfConfigFormGUI::populateForm | ( | $form, | |
$config | |||
) |
ilPropertyFormGUI | $form | |
ilWkhtmlToPdfConfig | $config |
Definition at line 537 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References $config, and ilPDFGeneratorUtils\setCheckedIfTrue().
|
protected |
$path |
Definition at line 477 of file class.ilWkhtmlToPdfConfigFormGUI.php.
Referenced by validateForm().
|
protected |
$lng |
Definition at line 22 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References $lng.
Referenced by __construct().
|
protected |
$txt |
Definition at line 43 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References $txt.
Referenced by addConfigForm(), appendOutputOptionsForm(), appendPageSettingsForm(), buildCheckboxSvgForm(), buildCheckedCheckboxSvgForm(), buildCheckedRadiobuttonSvgForm(), buildEnableFormsForm(), buildExternalLinksForm(), buildFooterForm(), buildFooterHtmlForm(), buildFooterTextForm(), buildGreyScaleForm(), buildHeaderForm(), buildHeaderHtmlForm(), buildHeaderTextForm(), buildJavascriptDelayForm(), buildLowQualityForm(), buildMarginBottomForm(), buildMarginLeftForm(), buildMarginRightForm(), buildMarginTopForm(), buildOrientationsForm(), buildOverwriteDefaultFont(), buildPageSizesForm(), buildPrintMediaTypeForm(), buildRadiobuttonSvgForm(), and buildZoomForm().
ilWkhtmlToPdfConfigFormGUI::validateForm | ( | ) |
Definition at line 368 of file class.ilWkhtmlToPdfConfigFormGUI.php.
References $_POST, $config, ilUtil\escapeShellCmd(), ilPDFGenerationConstants\getOrientations(), isNotValidSize(), isNotValidText(), saveNewDefaultBinaryPath(), ilUtil\sendFailure(), and ilUtil\stripSlashes().
|
protected |
Definition at line 8 of file class.ilWkhtmlToPdfConfigFormGUI.php.
Referenced by setLanguage().