|
@@ 781-790 (lines=10) @@
|
| 778 |
|
* @param integer $col Zero indexed column |
| 779 |
|
* @param mixed $xfIndex The XF format index |
| 780 |
|
*/ |
| 781 |
|
function _writeBlank($row, $col, $xfIndex) |
| 782 |
|
{ |
| 783 |
|
$record = 0x0201; // Record identifier |
| 784 |
|
$length = 0x0006; // Number of bytes to follow |
| 785 |
|
|
| 786 |
|
$header = pack("vv", $record, $length); |
| 787 |
|
$data = pack("vvv", $row, $col, $xfIndex); |
| 788 |
|
$this->_append($header . $data); |
| 789 |
|
return 0; |
| 790 |
|
} |
| 791 |
|
|
| 792 |
|
/** |
| 793 |
|
* Write a boolean or an error type to the specified row and column (zero indexed) |
|
@@ 801-810 (lines=10) @@
|
| 798 |
|
* @param boolean $isError Error or Boolean? |
| 799 |
|
* @param int $xfIndex |
| 800 |
|
*/ |
| 801 |
|
private function _writeBoolErr($row, $col, $value, $isError, $xfIndex) |
| 802 |
|
{ |
| 803 |
|
$record = 0x0205; |
| 804 |
|
$length = 8; |
| 805 |
|
|
| 806 |
|
$header = pack("vv", $record, $length); |
| 807 |
|
$data = pack("vvvCC", $row, $col, $xfIndex, $value, $isError); |
| 808 |
|
$this->_append($header . $data); |
| 809 |
|
return 0; |
| 810 |
|
} |
| 811 |
|
|
| 812 |
|
/** |
| 813 |
|
* Write a formula to the specified row and column (zero indexed). |