$_addedFonts = array()
[line 185]
Added fonts.
Added fonts. Maps from font's hash => index in workbook
Tags:
$_addedNumberFormats = array()
[line 199]
Added number formats.
Added number formats. Maps from numberFormat's hash => index in workbook
Tags:
$_biffsize =
[line 130]
The BIFF file size for the workbook.
The BIFF file size for the workbook.
Tags:
$_codepage =
[line 148]
The codepage indicates the text encoding used for strings
The codepage indicates the text encoding used for strings
Tags:
$_colors = array()
[line 171]
Color cache
Color cache
Tags:
$_country_code =
[line 154]
The country code used for localization
The country code used for localization
Tags:
$_fontWriters = array()
[line 178]
Fonts writers
Fonts writers
Tags:
$_numberFormats = array()
[line 192]
Shared number formats
Shared number formats
Tags:
$_palette =
[line 142]
Array containing the colour palette
Array containing the colour palette
Tags:
$_parser =
[line 123]
Formula parser
Formula parser
Tags:
$_phpExcel =
[line 166]
Workbook
Workbook
Tags:
$_str_table =
[line 234]
Array of unique shared strings in workbook
Array of unique shared strings in workbook
Tags:
$_str_total =
[line 220]
Total number of shared strings in workbook
Total number of shared strings in workbook
Tags:
$_str_unique =
[line 227]
Number of unique shared strings in workbook
Number of unique shared strings in workbook
Tags:
$_tmp_dir =
[line 160]
The temporary dir for storing the OLE file
The temporary dir for storing the OLE file
Tags:
$_worksheetOffsets = array()
[line 213]
Offsets of the binary worksheet streams relative to the start of the global workbook stream
Offsets of the binary worksheet streams relative to the start of the global workbook stream
Tags:
$_worksheetSizes = array()
[line 206]
Sizes of the binary worksheet streams
Sizes of the binary worksheet streams
Tags:
$_xfWriters = array()
[line 136]
XF Writers
XF Writers
Tags:
constructor __construct [line 247]
PHPExcel_Writer_Excel5_Workbook __construct(
[
$phpExcel = null], [
$BIFF_version = 0x0600],
&$str_total,
&$str_unique,
&$str_table, mixed
$parser, [
$tempDir = ''], int
$BIFF_verions, int
$str_total, int
$str_unique, array
$str_table)
|
|
Class constructor
Class constructor
Tags:
Overrides
PHPExcel_Writer_Excel5_BIFFwriter::__construct() (Constructor)
Parameters:
method addXfWriter [line 299]
Add a new XF writer
Add a new XF writer
Tags:
Parameters:
method writeWorkbook [line 462]
string writeWorkbook(
[
$pWorksheetSizes = null], array
$worksheetSizes)
|
|
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:
Parameters:
method _addColor [line 363]
int _addColor(
string
$rgb)
|
|
Alter color palette adding a custom color
Alter color palette adding a custom color
Tags:
Parameters:
method _calcSheetOffsets [line 526]
void _calcSheetOffsets(
)
|
|
Calculate offsets for Worksheet BOF records.
Calculate offsets for Worksheet BOF records.
Tags:
method _setPaletteXl97 [line 393]
Sets the colour palette to the Excel 97+ default.
Sets the colour palette to the Excel 97+ default.
Tags:
method _storeAllFonts [line 560]
Store the Excel FONT records.
Store the Excel FONT records.
Tags:
method _storeAllNumFormats [line 572]
void _storeAllNumFormats(
)
|
|
Store user defined numerical formats i.
Store user defined numerical formats i.e. FORMAT records
Tags:
method _storeAllStyles [line 596]
Write all STYLE records.
Write all STYLE records.
Tags:
method _storeAllXfs [line 584]
Write all XF records.
Write all XF records.
Tags:
method _storeBoundsheet [line 893]
void _storeBoundsheet(
string
$sheetname, integer
$offset)
|
|
Writes Excel BIFF BOUNDSHEET record.
Writes Excel BIFF BOUNDSHEET record.
Tags:
Parameters:
method _storeCodepage [line 840]
Stores the CODEPAGE biff record.
Stores the CODEPAGE biff record.
Tags:
method _storeDatemode [line 1000]
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 1027]
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 607]
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 1048]
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 _storeNameLong [line 1140]
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 623]
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 1074]
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 972]
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 _storePalette [line 1250]
Stores the PALETTE biff record.
Stores the PALETTE biff record.
Tags:
method _storeStyle [line 950]
Write Excel BIFF STYLE records.
Write Excel BIFF STYLE records.
Tags:
method _storeWindow1 [line 857]
Write Excel BIFF WINDOW1 record.
Write Excel BIFF WINDOW1 record.
Tags:
method _writeAllDefinedNamesBiff8 [line 716]
void _writeAllDefinedNamesBiff8(
)
|
|
Writes all the DEFINEDNAME records (BIFF8).
Writes all the DEFINEDNAME records (BIFF8). So far this is only used for repeating rows/columns (print titles) and print areas
Tags:
method _writeCountry [line 1215]
Stores the COUNTRY record for localization
Stores the COUNTRY record for localization
Tags:
method _writeDefinedNameBiff8 [line 809]
string _writeDefinedNameBiff8(
string
$name, string
$formulaData, [string
$sheetIndex = 0], [boolean
$isBuiltIn = false])
|
|
Write a DEFINEDNAME record for BIFF8 using explicit binary formula data
Write a DEFINEDNAME record for BIFF8 using explicit binary formula data
Tags:
Parameters:
method _writeExternsheetBiff8 [line 930]
void _writeExternsheetBiff8(
)
|
|
Writes the Excel BIFF EXTERNSHEET record. formulas.
Writes the Excel BIFF EXTERNSHEET record. These references are used by formulas.
Tags:
method _writeMsoDrawingGroup [line 1406]
void _writeMsoDrawingGroup(
)
|
|
Writes the MSODRAWINGGROUP record if needed.
Writes the MSODRAWINGGROUP record if needed. Possibly split using CONTINUE records.
Tags:
method _writeRecalcId [line 1232]
Write the RECALCID record
Write the RECALCID record
Tags:
method _writeSharedStringsTable [line 1284]
string _writeSharedStringsTable(
)
|
|
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).
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).
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 _writeSupbookInternal [line 915]
void _writeSupbookInternal(
)
|
|
Write Internal SUPBOOK record
Write Internal SUPBOOK record
Tags: