Mailinglisten-Archive |
> > Kurze Frage: In der aktuellen iX behandelt ein Artikel die Generierung
> > von Exceltables unter Perl. Gibt es für PHP entsprechende Module ?
function xlsBOF() {
return pack("ssssss", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0);
}
// Excel end of file footer
function xlsEOF() {
return pack("ss", 0x0A, 0x00);
}
// Function to write a Number (double) into Row, Col
function xlsWriteNumber($Row, $Col, $Value) {
return pack("sssss", 0x203, 14, $Row, $Col, 0x0).pack("d", $Value);
}
// Function to write a label (text) into Row, Col
function xlsWriteLabel($Row, $Col, $Value ) {
$L = strlen($Value);
return pack("ssssss", 0x204, 8 + $L, $Row, $Col, 0x0, $L).$Value;
}
kiri
php::bar PHP Wiki - Listenarchive