Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

Commit 7334751

Browse files
guss77adrilo
authored andcommitted
added comment with spec link, as requested
1 parent ad913f0 commit 7334751

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Spout/Writer/ODS/Manager/WorksheetManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private function getCellXML(Cell $cell, $styleIndex, $numTimesValueRepeated)
197197

198198
$data .= '</table:table-cell>';
199199
} elseif ($cell->isBoolean()) {
200-
$value = $cell->getValue() ? 'true' : 'false';
200+
$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
201201
$data .= ' office:value-type="boolean" calcext:value-type="boolean" office:boolean-value="' . $value . '">';
202202
$data .= '<text:p>' . $cell->getValue() . '</text:p>';
203203
$data .= '</table:table-cell>';

0 commit comments

Comments
 (0)