Framework
3.9
|
Minimum base interface that must be provided by an ExcelFile implementation. More...
Public Member Functions | |
writeNumber ($row, $col, $value) | |
Write a number to the cell at the specified row and column. More... | |
writeText ($row, $col, $value, $wrap=false) | |
Write text to the cell at the specified row and column. More... | |
writePercentage ($row, $col, $value) | |
Write a number to the cell at the specified row and column and format as a percentage. More... | |
writeCurrency ($row, $col, $value) | |
Write a number to the cell at the specified row and column with currency formatting. More... | |
writeHeading ($row, $col, $value) | |
Write text with column heading styles. More... | |
writeSubheading ($row, $col, $value) | |
Write text with column sub-heading styles. More... | |
writeFooter ($row, $col, $value) | |
Write text with column footer styles. More... | |
writeFooterNumber ($row, $col, $value) | |
Write number with column footer styles. More... | |
setWorksheetTitle ($title) | |
Set the title of the currently active worksheet. More... | |
addWorksheet ($title) | |
Adds a new worksheet to the Excel file. More... | |
abort ($error) | |
Abort processing, output the specified error string. More... | |
close () | |
Prevent further output to the spreadsheet. More... | |
send () | |
Transmit the spreadsheet to the client. More... | |
Minimum base interface that must be provided by an ExcelFile implementation.
IExcelFile::abort | ( | $error | ) |
Abort processing, output the specified error string.
string | $error |
Implemented in ExcelFile.
IExcelFile::addWorksheet | ( | $title | ) |
Adds a new worksheet to the Excel file.
string | $title | the title of the new worksheet |
Implemented in ExcelFile.
IExcelFile::close | ( | ) |
Prevent further output to the spreadsheet.
Implemented in ExcelFile.
IExcelFile::send | ( | ) |
Transmit the spreadsheet to the client.
Implemented in ExcelFile.
IExcelFile::setWorksheetTitle | ( | $title | ) |
Set the title of the currently active worksheet.
string | $title | the title text. |
Implemented in ExcelFile.
IExcelFile::writeCurrency | ( | $row, | |
$col, | |||
$value | |||
) |
Write a number to the cell at the specified row and column with currency formatting.
integer | $row | |
integer | $col | |
number | $value |
Implemented in ExcelFile.
IExcelFile::writeFooter | ( | $row, | |
$col, | |||
$value | |||
) |
Write text with column footer styles.
integer | $row | |
integer | $col | |
string | $value |
Implemented in ExcelFile.
IExcelFile::writeFooterNumber | ( | $row, | |
$col, | |||
$value | |||
) |
Write number with column footer styles.
integer | $row | |
integer | $col | |
string | $value |
Implemented in ExcelFile.
IExcelFile::writeHeading | ( | $row, | |
$col, | |||
$value | |||
) |
Write text with column heading styles.
integer | $row | |
integer | $col | |
string | $value |
Implemented in ExcelFile.
IExcelFile::writeNumber | ( | $row, | |
$col, | |||
$value | |||
) |
Write a number to the cell at the specified row and column.
integer | $row | |
integer | $col | |
number | $value |
Implemented in ExcelFile.
IExcelFile::writePercentage | ( | $row, | |
$col, | |||
$value | |||
) |
Write a number to the cell at the specified row and column and format as a percentage.
integer | $row | |
integer | $col | |
number | $value |
Implemented in ExcelFile.
IExcelFile::writeSubheading | ( | $row, | |
$col, | |||
$value | |||
) |
Write text with column sub-heading styles.
integer | $row | |
integer | $col | |
string | $value |
Implemented in ExcelFile.
IExcelFile::writeText | ( | $row, | |
$col, | |||
$value, | |||
$wrap = false |
|||
) |
Write text to the cell at the specified row and column.
integer | $row | the cell row number |
integer | $col | the cell column number |
string | $value | the string to insert |
boolean | $wrap | whether to allow text wrapping |
Implemented in ExcelFile.