示例#1
0
 function xlsCellNote($row, $col, $value)
 {
     $this->check_bounds($row, $col, 'line ' . __LINE__ . ' xlsCellNotes');
     if (strlen($value) > MAX_NOTE_CHARS) {
         trigger_error($ref . MAX_NOTE_CHARS . ' chars max', E_USER_ERROR);
     }
     parent::xlsCellNote($row, $col, $value);
 }
示例#2
0
function BigFile($iter)
{
    global $fname;
    $myxls = new BiffBase();
    $myxls->outfile = 'big.xls';
    set_time_limit(600);
    $x = 1;
    for ($r = 0; $r < $iter; $r++) {
        for ($c = 0; $c <= MAX_COLS; $c++) {
            $myxls->xlsWriteNumber($r, $c, $x++, 10, 0, FONT_0, ALIGN_RIGHT, 0);
        }
    }
    $myxls->xlsParse($fname);
    return;
}