$_1904 =
[line 68]
Flag for 1904 date system (0 => base date is 1900, 1 => base date is 1904)
Flag for 1904 date system (0 => base date is 1900, 1 => base date is 1904)
Tags:
$_activesheet =
[line 74]
The active worksheet of the workbook (0 indexed)
The active worksheet of the workbook (0 indexed)
Tags:
$_biff8_input_encoding = 'UTF-16LE'
[line 307]
Tags:
$_biffsize =
[line 106]
The BIFF file size for the workbook.
The BIFF file size for the workbook.
Tags:
$_codepage =
[line 154]
The codepage indicates the text encoding used for strings
The codepage indicates the text encoding used for strings
Tags:
$_country_code =
[line 160]
The country code used for localization
The country code used for localization
Tags:
$_fileclosed =
[line 99]
Flag for preventing close from being called twice.
Flag for preventing close from being called twice.
Tags:
$_filename =
[line 56]
Filename for the Workbook
Filename for the Workbook
Tags:
$_firstsheet =
[line 80]
1st displayed worksheet in the workbook (0 indexed)
1st displayed worksheet in the workbook (0 indexed)
Tags:
$_formats =
[line 136]
Array containing references to all of this workbook's formats
Array containing references to all of this workbook's formats
Tags:
$_palette =
[line 142]
Array containing the colour palette
Array containing the colour palette
Tags:
$_parser =
[line 62]
Formula parser
Formula parser
Tags:
$_selected =
[line 86]
Number of workbook tabs selected
Number of workbook tabs selected
Tags:
$_sheetname =
[line 112]
The default sheetname for all sheets created.
The default sheetname for all sheets created.
Tags:
$_sheetnames =
[line 130]
Array of sheetnames for creating the EXTERNSHEET records
Array of sheetnames for creating the EXTERNSHEET records
Tags:
$_string_sizeinfo_size =
[line 172]
number of bytes for sizeinfo of strings
number of bytes for sizeinfo of strings
Tags:
$_tmp_dir =
[line 166]
The temporary dir for storing the OLE file
The temporary dir for storing the OLE file
Tags:
$_tmp_format =
[line 118]
The default XF format.
The default XF format.
Tags:
$_url_format =
[line 148]
The default format for URLs.
The default format for URLs.
Tags:
$_worksheets =
[line 124]
Array containing references to all of this workbook's worksheets
Array containing references to all of this workbook's worksheets
Tags:
$_xf_index =
[line 92]
Index for creating adding new formats to the workbook
Index for creating adding new formats to the workbook
Tags:
constructor PHPExcel_Writer_Excel5_Workbook [line 180]
PHPExcel_Writer_Excel5_Workbook PHPExcel_Writer_Excel5_Workbook(
string
$filename)
|
|
Class constructor
Class constructor
Tags:
Parameters:
method addFormat [line 368]
&PHPExcel_Writer_Excel5_Format &addFormat(
[array
$properties = array()])
|
|
Add a new format to the Excel workbook.
Add a new format to the Excel workbook. Also, pass any properties to the Format constructor.
Tags:
Parameters:
method addWorksheet [line 321]
mixed &addWorksheet(
[string
$name = ''])
|
|
Add a new worksheet to the Excel workbook.
Add a new worksheet to the Excel workbook. If no name is given the name of the worksheet will be Sheeti$i, with $i in [1..].
Tags:
Parameters:
method close [line 220]
Calls finalization methods.
Calls finalization methods. This method should always be the last one to be called on every workbook
Tags:
method setBIFF8InputEncoding [line 308]
void setBIFF8InputEncoding(
$encoding)
|
|
Parameters:
method setCountry [line 302]
void setCountry(
integer
$code)
|
|
Set the country identifier for the workbook
Set the country identifier for the workbook
Tags:
Parameters:
method setCustomColor [line 386]
integer setCustomColor(
integer
$index, integer
$red, integer
$green, integer
$blue)
|
|
Change the RGB components of the elements in the colour palette.
Change the RGB components of the elements in the colour palette.
Tags:
Parameters:
method setTempDir [line 562]
true setTempDir(
string
$dir)
|
|
Sets the temp dir used for storing the OLE file
Sets the temp dir used for storing the OLE file
Tags:
Parameters:
method setVersion [line 269]
void setVersion(
integer
$version)
|
|
Sets the BIFF version.
Sets the BIFF version. This method exists just to access experimental functionality from BIFF8. It will be deprecated ! Only possible value is 8 (Excel 97/2000). For any other value it fails silently.
Tags:
Parameters:
method sheets [line 242]
An accessor for the _worksheets[] array
An accessor for the _worksheets[] array Returns an array of the worksheet objects in a workbook It actually calls to worksheets()
Tags:
method worksheets [line 254]
An accessor for the _worksheets[] array.
An accessor for the _worksheets[] array. Returns an array of the worksheet objects in a workbook
Tags:
method _calcSheetOffsets [line 607]
void _calcSheetOffsets(
)
|
|
Calculate offsets for Worksheet BOF records.
Calculate offsets for Worksheet BOF records.
Tags:
method _calculateSharedStringsSizes [line 1294]
void _calculateSharedStringsSizes(
)
|
|
Calculate Handling of the SST continue blocks is complicated by the need to include an additional continuation byte depending on whether the string is split between blocks or whether it starts at the beginning of the block. additional complications that will arise later when/if Rich Strings are supported).
Calculate Handling of the SST continue blocks is complicated by the need to include an additional continuation byte depending on whether the string is split between blocks or whether it starts at the beginning of the block. (There are also additional complications that will arise later when/if Rich Strings are supported).
Tags:
method _setPaletteXl97 [line 419]
Sets the colour palette to the Excel 97+ default.
Sets the colour palette to the Excel 97+ default.
Tags:
method _storeAllFonts [line 646]
Store the Excel FONT records.
Store the Excel FONT records.
Tags:
method _storeAllNumFormats [line 690]
void _storeAllNumFormats(
)
|
|
Store user defined numerical formats i.
Store user defined numerical formats i.e. FORMAT records
Tags:
method _storeAllStyles [line 765]
Write all STYLE records.
Write all STYLE records.
Tags:
method _storeAllXfs [line 738]
Write all XF records.
Write all XF records.
Tags:
method _storeBoundsheet [line 922]
void _storeBoundsheet(
string
$sheetname, integer
$offset)
|
|
Writes Excel BIFF BOUNDSHEET record.
Writes Excel BIFF BOUNDSHEET record. FIXME: inconsistent with BIFF documentation
Tags:
Parameters:
method _storeCodepage [line 872]
Stores the CODEPAGE biff record.
Stores the CODEPAGE biff record.
Tags:
method _storeCountry [line 1248]
Stores the COUNTRY record for localization
Stores the COUNTRY record for localization
Tags:
method _storeDatemode [line 1034]
Write DATEMODE record to indicate the date system in use (1904 or 1900).
Write DATEMODE record to indicate the date system in use (1904 or 1900).
Tags:
method _storeExterncount [line 1060]
void _storeExterncount(
integer
$cxals)
|
|
Write BIFF record EXTERNCOUNT to indicate the number of external sheet references in the workbook.
Write BIFF record EXTERNCOUNT to indicate the number of external sheet references in the workbook.
Excel only stores references to external sheets that are used in NAME. The workbook NAME record is required to define the print area and the repeat rows and columns.
A similar method is used in Worksheet.php for a slightly different purpose.
Tags:
Parameters:
method _storeExterns [line 776]
Write the EXTERNCOUNT and EXTERNSHEET records. the NAME records.
Write the EXTERNCOUNT and EXTERNSHEET records. These are used as indexes for the NAME records.
Tags:
method _storeExternsheet [line 1081]
void _storeExternsheet(
string
$sheetname)
|
|
Writes the Excel BIFF EXTERNSHEET record. formulas. rows and columns.
Writes the Excel BIFF EXTERNSHEET record. These references are used by formulas. NAME record is required to define the print area and the repeat rows and columns.
A similar method is used in Worksheet.php for a slightly different purpose.
Tags:
Parameters:
method _storeExternsheetBiff8 [line 965]
void _storeExternsheetBiff8(
string
$sheetname)
|
|
Writes the Excel BIFF EXTERNSHEET record. formulas.
Writes the Excel BIFF EXTERNSHEET record. These references are used by formulas.
Tags:
Parameters:
method _storeNameLong [line 1173]
void _storeNameLong(
integer
$index, integer
$type, integer
$rowmin, integer
$rowmax, integer
$colmin, integer
$colmax)
|
|
Store the NAME record in the long format that is used for storing the repeat rows and columns when both are specified. _storeNameShort() but we use a separate method to keep the code clean.
Store the NAME record in the long format that is used for storing the repeat rows and columns when both are specified. This shares a lot of code with _storeNameShort() but we use a separate method to keep the code clean. Code abstraction for reuse can be carried too far, and I should know. ;-)
Tags:
Parameters:
method _storeNames [line 792]
Write the NAME record to define the print area and the repeat rows and cols.
Write the NAME record to define the print area and the repeat rows and cols.
Tags:
method _storeNameShort [line 1107]
void _storeNameShort(
integer
$index, integer
$type, integer
$rowmin, integer
$rowmax, integer
$colmin, integer
$colmax)
|
|
Store the NAME record in the short format that is used for storing the print area, repeat rows only and repeat columns only.
Store the NAME record in the short format that is used for storing the print area, repeat rows only and repeat columns only.
Tags:
Parameters:
method _storeNumFormat [line 1007]
void _storeNumFormat(
string
$format, integer
$ifmt)
|
|
Writes Excel FORMAT record for non "built-in" numerical formats.
Writes Excel FORMAT record for non "built-in" numerical formats.
Tags:
Parameters:
method _storeOLEFile [line 577]
Store the workbook in an OLE container
Store the workbook in an OLE container
Tags:
method _storePalette [line 1264]
Stores the PALETTE biff record.
Stores the PALETTE biff record.
Tags:
method _storeSharedStringsTable [line 1439]
void _storeSharedStringsTable(
)
|
|
Write all of the workbooks strings into an indexed array.
Write all of the workbooks strings into an indexed array. See the comments in _calculate_shared_string_sizes() for more information.
The Excel documentation says that the SST record should be followed by an EXTSST record. The EXTSST record is a hash table that is used to optimise access to SST. However, despite the documentation it doesn't seem to be required so we will ignore it.
Tags:
method _storeStyle [line 985]
Write Excel BIFF STYLE records.
Write Excel BIFF STYLE records.
Tags:
method _storeSupbookInternal [line 948]
void _storeSupbookInternal(
)
|
|
Write Internal SUPBOOK record
Write Internal SUPBOOK record
Tags:
method _storeWindow1 [line 889]
Write Excel BIFF WINDOW1 record.
Write Excel BIFF WINDOW1 record.
Tags:
method _storeWorkbook [line 488]
Assemble worksheets into a workbook and send the BIFF data to an OLE storage.
Assemble worksheets into a workbook and send the BIFF data to an OLE storage.
Tags: