write boolean value according to http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#datatype-boolean instead of just "1" for true or "" for false;
This commit is contained in:
parent
c29d1877b8
commit
ad913f0100
@ -197,7 +197,8 @@ class WorksheetManager implements WorksheetManagerInterface
|
||||
|
||||
$data .= '</table:table-cell>';
|
||||
} elseif ($cell->isBoolean()) {
|
||||
$data .= ' office:value-type="boolean" calcext:value-type="boolean" office:boolean-value="' . $cell->getValue() . '">';
|
||||
$value = $cell->getValue() ? 'true' : 'false';
|
||||
$data .= ' office:value-type="boolean" calcext:value-type="boolean" office:boolean-value="' . $value . '">';
|
||||
$data .= '<text:p>' . $cell->getValue() . '</text:p>';
|
||||
$data .= '</table:table-cell>';
|
||||
} elseif ($cell->isNumeric()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user