added comment with spec link, as requested

This commit is contained in:
Oded Arbel 2021-02-08 15:52:13 +02:00 committed by Adrien Loison
parent ad913f0100
commit 73347517f0

View File

@ -197,7 +197,7 @@ class WorksheetManager implements WorksheetManagerInterface
$data .= '</table:table-cell>';
} elseif ($cell->isBoolean()) {
$value = $cell->getValue() ? 'true' : 'false';
$value = $cell->getValue() ? 'true' : 'false'; // boolean-value spec: http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#datatype-boolean
$data .= ' office:value-type="boolean" calcext:value-type="boolean" office:boolean-value="' . $value . '">';
$data .= '<text:p>' . $cell->getValue() . '</text:p>';
$data .= '</table:table-cell>';