Skip to content

Checkbox

Checkbox elements can be added to sections or table cells by using addCheckBox.

<?php

$section->addCheckBox($name, $text, [$fontStyle], [$paragraphStyle]);

When written with the ODText writer, the checkbox is represented by a native ODF form control and retains its name and visible label.