@@ 789-798 (lines=10) @@ | ||
786 | * @param integer $col Zero indexed column |
|
787 | * @param mixed $xfIndex The XF format index |
|
788 | */ |
|
789 | public function writeBlank($row, $col, $xfIndex) |
|
790 | { |
|
791 | $record = 0x0201; // Record identifier |
|
792 | $length = 0x0006; // Number of bytes to follow |
|
793 | ||
794 | $header = pack("vv", $record, $length); |
|
795 | $data = pack("vvv", $row, $col, $xfIndex); |
|
796 | $this->append($header . $data); |
|
797 | return 0; |
|
798 | } |
|
799 | ||
800 | /** |
|
801 | * Write a boolean or an error type to the specified row and column (zero indexed) |
|
@@ 809-818 (lines=10) @@ | ||
806 | * @param boolean $isError Error or Boolean? |
|
807 | * @param int $xfIndex |
|
808 | */ |
|
809 | private function writeBoolErr($row, $col, $value, $isError, $xfIndex) |
|
810 | { |
|
811 | $record = 0x0205; |
|
812 | $length = 8; |
|
813 | ||
814 | $header = pack("vv", $record, $length); |
|
815 | $data = pack("vvvCC", $row, $col, $xfIndex, $value, $isError); |
|
816 | $this->append($header . $data); |
|
817 | return 0; |
|
818 | } |
|
819 | ||
820 | /** |
|
821 | * Write a formula to the specified row and column (zero indexed). |