ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (Spreadsheet $spreadsheet) | |
Create a new Xls Writer. More... | |
save ($pFilename) | |
Save Spreadsheet to file. More... | |
Public Member Functions inherited from PhpOffice\PhpSpreadsheet\Writer\BaseWriter | |
getIncludeCharts () | |
Write charts in workbook? If this is true, then the Writer will write definitions for any charts that exist in the PhpSpreadsheet object. More... | |
setIncludeCharts ($pValue) | |
Set write charts in workbook Set to true, to advise the Writer to include any charts that exist in the PhpSpreadsheet object. More... | |
getPreCalculateFormulas () | |
Get Pre-Calculate Formulas flag If this is true (the default), then the writer will recalculate all formulae in a workbook when saving, so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet viewer when opening the file If false, then formulae are not calculated on save. More... | |
setPreCalculateFormulas ($pValue) | |
Set Pre-Calculate Formulas Set to true (the default) to advise the Writer to calculate all formulae on save Set to false to prevent precalculation of formulae on save. More... | |
getUseDiskCaching () | |
Get use disk caching where possible? More... | |
setUseDiskCaching ($pValue, $pDirectory=null) | |
Set use disk caching where possible? More... | |
getDiskCachingDirectory () | |
Get disk caching directory. More... | |
openFileHandle ($filename) | |
Open file handle. More... | |
Private Member Functions | |
buildWorksheetEschers () | |
Build the Worksheet Escher objects. More... | |
processMemoryDrawing (BstoreContainer &$bstoreContainer, MemoryDrawing $drawing, string $renderingFunctionx) | |
processDrawing (BstoreContainer &$bstoreContainer, Drawing $drawing) | |
processBaseDrawing (BstoreContainer &$bstoreContainer, BaseDrawing $drawing) | |
checkForDrawings () | |
buildWorkbookEscher () | |
Build the Escher object corresponding to the MSODRAWINGGROUP record. More... | |
writeDocumentSummaryInformation () | |
Build the OLE Part for DocumentSummary Information. More... | |
writeSummaryPropOle ($dataProp, int &$dataSection_NumProps, array &$dataSection, int $sumdata, int $typdata) | |
writeSummaryProp (string $dataProp, int &$dataSection_NumProps, array &$dataSection, int $sumdata, int $typdata) | |
writeSummaryInformation () | |
Build the OLE Part for Summary Information. More... | |
Private Attributes | |
$spreadsheet | |
$strTotal = 0 | |
$strUnique = 0 | |
$strTable = [] | |
$colors | |
$parser | |
$IDCLs | |
$summaryInformation | |
$documentSummaryInformation | |
$writerWorkbook | |
$writerWorksheets | |
Additional Inherited Members | |
Protected Member Functions inherited from PhpOffice\PhpSpreadsheet\Writer\BaseWriter | |
maybeCloseFileHandle () | |
Close file handle only if we opened it ourselves. More... | |
Protected Attributes inherited from PhpOffice\PhpSpreadsheet\Writer\BaseWriter | |
$includeCharts = false | |
$preCalculateFormulas = true | |
$fileHandle | |
PhpOffice\PhpSpreadsheet\Writer\Xls::__construct | ( | Spreadsheet | $spreadsheet | ) |
Spreadsheet | $spreadsheet | PhpSpreadsheet object |
Implements PhpOffice\PhpSpreadsheet\Writer\IWriter.
Definition at line 110 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Writer\Xls\$spreadsheet.
|
private |
Build the Escher object corresponding to the MSODRAWINGGROUP record.
Definition at line 500 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Writer\Xls\checkForDrawings(), and PhpOffice\PhpSpreadsheet\Writer\Xls\processBaseDrawing().
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\save().
|
private |
Build the Worksheet Escher objects.
Definition at line 236 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Shared\Xls\oneAnchor2twoAnchor(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\rangeBoundaries(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\save().
|
private |
Definition at line 482 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\buildWorkbookEscher().
|
private |
Definition at line 473 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Writer\Xls\processDrawing(), and PhpOffice\PhpSpreadsheet\Writer\Xls\processMemoryDrawing().
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\buildWorkbookEscher().
|
private |
Definition at line 425 of file Xls.php.
References $filename, PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\addBSE(), PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE\BLIPTYPE_JPEG, PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE\BLIPTYPE_PNG, and PhpOffice\PhpSpreadsheet\Worksheet\Drawing\getPath().
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\processBaseDrawing().
|
private |
Definition at line 395 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\addBSE(), PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE\BLIPTYPE_JPEG, PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE\BLIPTYPE_PNG, PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\getImageResource(), and PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\RENDERING_JPEG.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\processBaseDrawing().
PhpOffice\PhpSpreadsheet\Writer\Xls::save | ( | $pFilename | ) |
Save Spreadsheet to file.
resource | string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Writer\IWriter.
Definition at line 122 of file Xls.php.
References $i, $root, $style, $time, PhpOffice\PhpSpreadsheet\Shared\OLE\ascToUcs(), PhpOffice\PhpSpreadsheet\Writer\Xls\buildWorkbookEscher(), PhpOffice\PhpSpreadsheet\Writer\Xls\buildWorksheetEschers(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\getInstance(), PhpOffice\PhpSpreadsheet\Calculation\Functions\getReturnDateType(), PhpOffice\PhpSpreadsheet\Writer\BaseWriter\maybeCloseFileHandle(), PhpOffice\PhpSpreadsheet\Writer\BaseWriter\openFileHandle(), PhpOffice\PhpSpreadsheet\Calculation\Functions\RETURNDATE_EXCEL, PhpOffice\PhpSpreadsheet\Calculation\Functions\setReturnDateType(), PhpOffice\PhpSpreadsheet\Writer\Xls\writeDocumentSummaryInformation(), and PhpOffice\PhpSpreadsheet\Writer\Xls\writeSummaryInformation().
|
private |
Build the OLE Part for DocumentSummary Information.
Definition at line 561 of file Xls.php.
References $data.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\save().
|
private |
Build the OLE Part for Summary Information.
Definition at line 803 of file Xls.php.
References $data, PhpOffice\PhpSpreadsheet\Writer\Xls\writeSummaryProp(), and PhpOffice\PhpSpreadsheet\Writer\Xls\writeSummaryPropOle().
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\save().
|
private |
Definition at line 785 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\writeSummaryInformation().
|
private |
float | int | $dataProp |
Definition at line 772 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Shared\OLE\localDateToOLE().
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\writeSummaryInformation().
|
private |
|
private |
Definition at line 79 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Escher\close().
|
private |
Definition at line 37 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\__construct().
|
private |
|
private |