Constructor
Constructor
Some basic initialisation
Spreadsheet_Excel_Reader
Spreadsheet_Excel_Reader
([ $file = ''], [ $store_extended_info = true], [ $outputEncoding = ''])
-
$file
-
$store_extended_info
-
$outputEncoding
void
addcell
( $row, $col, $string, [ $info = null])
void
align
( $row, $col, [ $sheet = 0])
void
bgColor
( $row, $col, [ $sheet = 0])
void
bold
( $row, $col, [ $sheet = 0])
void
borderBottom
( $row, $col, [ $sheet = 0])
void
borderBottomColor
( $row, $col, [ $sheet = 0])
void
borderLeft
( $row, $col, [ $sheet = 0])
void
borderLeftColor
( $row, $col, [ $sheet = 0])
void
borderRight
( $row, $col, [ $sheet = 0])
void
borderRightColor
( $row, $col, [ $sheet = 0])
void
borderTop
( $row, $col, [ $sheet = 0])
void
borderTopColor
( $row, $col, [ $sheet = 0])
void
colcount
([ $sheet = 0])
void
colhidden
( $col, [ $sheet = 0])
void
color
( $row, $col, [ $sheet = 0])
void
colspan
( $row, $col, [ $sheet = 0])
void
colwidth
( $col, [ $sheet = 0])
void
createNumber
( $spos)
void
dump
([ $row_numbers = false], [ $col_letters = false], [ $sheet = 0], [ $table_class = 'excel'])
-
$row_numbers
-
$col_letters
-
$sheet
-
$table_class
void
dumpHexData
( $data, $pos, $length)
void
dump_xls2txt
([ $separetor = ' '])
void
font
( $row, $col, [ $sheet = 0])
void
fontIndex
( $row, $col, [ $sheet = 0])
void
fontProperty
( $row, $col, [ $sheet = 0], $prop)
void
fontRecord
( $row, $col, [ $sheet = 0])
void
format
( $row, $col, [ $sheet = 0])
void
formatColor
( $row, $col, [ $sheet = 0])
void
formatIndex
( $row, $col, [ $sheet = 0])
void
height
( $row, $col, [ $sheet = 0])
void
hyperlink
( $row, $col, [ $sheet = 0])
void
info
( $row, $col, [ $type = ''], [ $sheet = 0])
void
italic
( $row, $col, [ $sheet = 0])
void
raw
( $row, $col, [ $sheet = 0])
Read the spreadsheet file using OLE, then parse
Read the spreadsheet file using OLE, then parse
void
read
( $sFileName)
void
read16bitstring
( $data, $start)
void
rowcount
([ $sheet = 0])
void
rowheight
( $row, [ $sheet = 0])
void
rowhidden
( $row, [ $sheet = 0])
void
rowspan
( $row, $col, [ $sheet = 0])
Force a column to use a certain format
Force a column to use a certain format
void
setColumnFormat
( $column, $sFormat)
Set the default number format
Set the default number format
void
setDefaultFormat
( $sFormat)
Set the encoding method
Set the encoding method
void
setOutputEncoding
( $encoding)
void
setRowColOffset
( $iOffset)
$encoder = 'iconv' or 'mb'
$encoder = 'iconv' or 'mb' set iconv if you would like use 'iconv' for encode UTF-16LE to your encoding set mb if you would like use 'mb_convert_encoding' for encode UTF-16LE to your encoding
void
setUTFEncoder
([ $encoder = 'iconv'])
void
style
( $row, $col, [ $sheet = 0], [ $properties = ''])
-
$row
-
$col
-
$sheet
-
$properties
void
type
( $row, $col, [ $sheet = 0])
void
underline
( $row, $col, [ $sheet = 0])
void
val
( $row, $col, [ $sheet = 0])
void
value
( $row, $col, [ $sheet = 0])
void
xfProperty
( $row, $col, $sheet, $prop)
void
xfRecord
( $row, $col, [ $sheet = 0])
void
_encodeUTF16
( $string)
void
_format_value
( $format, $num, $f)
void
_getCellDetails
( $spos, $numValue, $column)
void
_GetIEEE754
( $rknum)
void
_GetInt4d
( $data, $pos)
Parse a workbook
Parse a workbook
bool
_parse
()
Parse a worksheet
Parse a worksheet
void
_parsesheet
( $spos)