| packageless

# Class: BiffBase Source Location: /lib/biff/biffbase.php
### Class Overview
| ### Variables $big_endian $eof $err_level $fonts $hpagebreaks $maxcolwidth $outfile $parse_order $picture $stream $vpagebreaks | ### Methods BiffBase assemblePageBreaks BOF EOF SetColWidth SetDefFormat swap_bytes xlsAddFormat xlsAddHPageBreak xlsAddVPageBreak xlsCellNote xlsDate xlsFooter xlsHeader xlsParse xlsPrintMargins xlsProtectSheet xlsSetBackup xlsSetColWidth xlsSetDefFonts xlsSetDefRowHeight xlsSetFont xlsSetPrintGridLines xlsSetPrintHeaders xlsWriteDateTime xlsWriteNumber xlsWriteText _adjcolwidth _encode_pw _rl_14
### Child classes: BiffWriter | ### Inherited Variables | ### Inherited Methods
### Class Details [line 85] [ Top ] ### Class Variables #### $big_endian = FALSE [line 95]
Type: | mixed
[ Top ] #### $eof = array(38,82,38,56,80,72,80,50,69,88,67,69,76,32,50,46,48,10,40,169,41,32,119,119,119,46,119,101,98,45,97,119,97,114,101,46,99,111,109,10,85,110,108,105,99,101,110,115,101,100,32,118,101,114,115,105,111,110) [line 87]
Type: | mixed
[ Top ] #### $err_level = 1 [line 93]
Type: | mixed
[ Top ] #### $fonts = 0 [line 94]
Type: | mixed
[ Top ] #### $hpagebreaks = array() [line 91]
Type: | mixed
[ Top ] #### $maxcolwidth = array() [line 90]
Type: | mixed
[ Top ] #### $outfile = 'sample.xls' [line 89]
Type: | mixed
[ Top ] #### $parse_order = array ( 'ID_BOF_REC' => 9, 'ID_BACKUP_REC' => 64, 'ID_PRINTROWHEADERS_REC' => 42, 'ID_PRINTGRIDLINES_REC' => 43, 'ID_HPAGEBREAKS' => 27, 'ID_VPAGEBREAKS' => 26, 'ID_DEFROWHEIGHT' => 37, 'ID_FONT_REC' => 49, 'ID_HEADER_REC' => 20, 'ID_FOOTER_REC' => 21, 'ID_LEFT_MARGIN_REC' => 38, 'ID_RIGHT_MARGIN_REC' => 39, 'ID_TOP_MARGIN_REC' => 40, 'ID_BOTTOM_MARGIN_REC' => 41, 'ID_COL_WIDTH' => 36, 'ID_FORMAT_COUNT' => 0x1F, 'ID_FORMAT_REC' => 30, 'ID_CELL_TEXT' => 4, 'ID_CELL_NUMBER' => 3, 'ID_IS_PROTECT_REC' => 18, 'ID_IS_PASSWORD_REC' => 19, 'ID_NOTE_REC' => 28, 'ID_EOF_REC' => 0xA) [line 96]
Type: | mixed
[ Top ] #### $picture = array ('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '' ) [line 86]
Type: | mixed
[ Top ] #### $stream = array() [line 88]
Type: | mixed
[ Top ] #### $vpagebreaks = array() [line 92]
Type: | mixed
[ Top ] ### Class Methods ### constructor BiffBase [line 122]
`BiffBase BiffBase( )`
[ Top ] ### method assemblePageBreaks [line 170]
`void assemblePageBreaks( )`
[ Top ] ### method BOF [line 299]
`void BOF( )`
[ Top ] ### method EOF [line 305]
`void EOF( )`
[ Top ] ### method SetColWidth [line 292]
`void SetColWidth( mixed $firstrow, mixed $lastrow, mixed $width)`
[ Top ] ### method SetDefFormat [line 388]
`void SetDefFormat( )`
[ Top ] ### method swap_bytes [line 136]
`void swap_bytes( mixed $str)`
[ Top ] ### method xlsAddFormat [line 194]
`void xlsAddFormat( mixed $picstring)`
[ Top ] ### method xlsAddHPageBreak [line 160]
`void xlsAddHPageBreak( mixed $row)`
Overridden in child classes as: BiffWriter::xlsAddHPageBreak() [ Top ] ### method xlsAddVPageBreak [line 165]
`void xlsAddVPageBreak( mixed $col)`
Overridden in child classes as: BiffWriter::xlsAddVPageBreak() [ Top ] ### method xlsCellNote [line 153]
`void xlsCellNote( mixed $row, mixed $col, mixed $value)`
Overridden in child classes as: BiffWriter::xlsCellNote() [ Top ] ### method xlsDate [line 441]
`void xlsDate( mixed $month, mixed $day, mixed $year)`
[ Top ] ### method xlsFooter [line 228]
`void xlsFooter( mixed $foot)`
[ Top ] ### method xlsHeader [line 238]
`void xlsHeader( mixed $head)`
[ Top ] ### method xlsParse [line 311]
`void xlsParse( [mixed $fname = ''])`
Overridden in child classes as: BiffWriter::xlsParse() [ Top ] ### method xlsPrintMargins [line 200]
`void xlsPrintMargins( [mixed $left = .5], [mixed $right = .5], [mixed $top = .5], [mixed $bottom = .5])`
[ Top ] ### method xlsProtectSheet [line 264]
`void xlsProtectSheet( [mixed $fpass = ''], [mixed $fprot = TRUE])`
[ Top ] ### method xlsSetBackup [line 257]
`void xlsSetBackup( )`
[ Top ] ### method xlsSetColWidth [line 285]
`void xlsSetColWidth( mixed $col_start, mixed $col_end, mixed $width)`
Overridden in child classes as: BiffWriter::xlsSetColWidth() [ Top ] ### method xlsSetDefFonts [line 277]
`void xlsSetDefFonts( )`
[ Top ] ### method xlsSetDefRowHeight [line 146]
`void xlsSetDefRowHeight( mixed $value)`
[ Top ] ### method xlsSetFont [line 400]
`void xlsSetFont( mixed $font_name, [mixed $font_size = 10], [mixed $font_format = FONT_NORMAL])`
[ Top ] ### method xlsSetPrintGridLines [line 245]
`void xlsSetPrintGridLines( )`
[ Top ] ### method xlsSetPrintHeaders [line 251]
`void xlsSetPrintHeaders( )`
[ Top ] ### method xlsWriteDateTime [line 363]
`void xlsWriteDateTime( mixed $row, mixed $col, mixed $value, mixed $col_width, mixed $cell_picture, mixed $cell_font, mixed $cell_alignment, mixed $cell_status)`
Overridden in child classes as: BiffWriter::xlsWriteDateTime() [ Top ] ### method xlsWriteNumber [line 376]
`void xlsWriteNumber( mixed $row, mixed $col, mixed $value, mixed $col_width, mixed $cell_picture, mixed $cell_font, mixed $cell_alignment, mixed $cell_status)`
Overridden in child classes as: BiffWriter::xlsWriteNumber() [ Top ] ### method xlsWriteText [line 355]
`void xlsWriteText( mixed $row, mixed $col, mixed $value, mixed $col_width, mixed $cell_picture, mixed $cell_font, mixed $cell_alignment, mixed $cell_status)`
Overridden in child classes as: BiffWriter::xlsWriteText() [ Top ] ### method _adjcolwidth [line 446]
`void _adjcolwidth( mixed $col, mixed $col_width, mixed $len)`
[ Top ] ### method _encode_pw [line 411]
`void _encode_pw( mixed $pws)`
[ Top ] ### method _rl_14 [line 426]
`void _rl_14( mixed $value, mixed $num)`
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:07:55 +0100 by phpDocumentor 1.2.3