initial commit of SVN release repo
This commit is contained in:
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/26template.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/26template.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/27template.xls
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/27template.xls
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/28iterators.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/28iterators.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/30template.xls
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/30template.xls
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/31docproperties.xls
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/31docproperties.xls
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/31docproperties.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/31docproperties.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32chartreadwrite.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32chartreadwrite.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32complexChartreadwrite.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32complexChartreadwrite.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaPercentageChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaPercentageChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaPercentageChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaPercentageChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaPercentageChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaPercentageChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaStackedChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaStackedChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaStackedChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaStackedChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaStackedChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteAreaStackedChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarPercentageChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarPercentageChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarPercentageChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarPercentageChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarPercentageChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarPercentageChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarStackedChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarStackedChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarStackedChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarStackedChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarStackedChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBarStackedChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBubbleChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBubbleChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBubbleChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteBubbleChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteChartWithImages1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteChartWithImages1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart4.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnChart4.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnPercentageChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnPercentageChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnPercentageChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnPercentageChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnPercentageChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnPercentageChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnStackedChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnStackedChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnStackedChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnStackedChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnStackedChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteColumnStackedChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChart4.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChart4.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChartExploded1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChartExploded1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChartMultiseries1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteDonutChartMultiseries1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChartNoPointMarkers1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineChartNoPointMarkers1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLinePercentageChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLinePercentageChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLinePercentageChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLinePercentageChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineStackedChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineStackedChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineStackedChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteLineStackedChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart4.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChart4.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChartExploded1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChartExploded1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChartExploded3D1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwritePieChartExploded3D1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteRadarChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteRadarChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteRadarChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteRadarChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteRadarChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteRadarChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart4.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart4.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart5.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteScatterChart5.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteStockChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteStockChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteStockChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteStockChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteStockChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteStockChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteStockChart4.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteStockChart4.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteSurfaceChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteSurfaceChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteSurfaceChart2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteSurfaceChart2.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteSurfaceChart3.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteSurfaceChart3.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteSurfaceChart4.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/32readwriteSurfaceChart4.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/36writeLineChart1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/36writeLineChart1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/43mergeBook1.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/43mergeBook1.xlsx
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/43mergeBook2.xlsx
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/43mergeBook2.xlsx
vendored
Normal file
Binary file not shown.
130
inc/vendor/phpoffice/phpspreadsheet/samples/templates/46readHtml.html
vendored
Normal file
130
inc/vendor/phpoffice/phpspreadsheet/samples/templates/46readHtml.html
vendored
Normal file
@ -0,0 +1,130 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Competency List</title>
|
||||
</head>
|
||||
<body>
|
||||
<table class="w3-table-all notranslate">
|
||||
<tr>
|
||||
<th style="background-color: #0000FF;color:#FFFFFF">Color Name</th>
|
||||
<th style="background-color: #FF0000">HEX</th>
|
||||
<th style="background-color: #008000">Color</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#000000">Black</td>
|
||||
<td>#000000</td>
|
||||
<td style="background-color:#000000"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#0000FF">Blue</td>
|
||||
<td>#0000FF</td>
|
||||
<td style="background-color:#0000FF"> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="color:#008000">Green</td>
|
||||
<td>#008000</td>
|
||||
<td style="background-color:#008000"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#00FFFF">Cyan</td>
|
||||
<td>#00FFFF</td>
|
||||
<td style="background-color:#00FFFF"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#800080">Purple</td>
|
||||
<td>#800080</td>
|
||||
<td style="background-color:#800080"> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="color:#800080">Grey</td>
|
||||
<td>#808080</td>
|
||||
<td style="background-color:#808080"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#87CEEB">SkyBlue</td>
|
||||
<td>#87CEEB</td>
|
||||
<td style="background-color:#87CEEB"> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="color:#A52A2A">Brown</td>
|
||||
<td>#A52A2A</td>
|
||||
<td style="background-color:#A52A2A"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#C0C0C0;background-color: #000000">Silver</td>
|
||||
<td>#C0C0C0</td>
|
||||
<td style="background-color:#C0C0C0"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#D2691E">Chocolate</td>
|
||||
<td>#D2691E</td>
|
||||
<td style="background-color:#D2691E"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#D2B48C;background-color: #000000">Tan</td>
|
||||
<td>#D2B48C</td>
|
||||
<td style="background-color:#D2B48C"> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="color:#EE82EE;background-color: #000000">Violet</td>
|
||||
<td>#EE82EE</td>
|
||||
<td style="background-color:#EE82EE"> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="color:#FF0000;background-color: #000000">Red</td>
|
||||
<td>#FF0000</td>
|
||||
<td style="background-color:#FF0000"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#FFC0CB;background-color: #000000">Pink</td>
|
||||
<td>#FFC0CB</td>
|
||||
<td style="background-color:#FFC0CB"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#FFD700;background-color: #000000">Gold</td>
|
||||
<td>#FFD700</td>
|
||||
<td style="background-color:#FFD700"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#FFFF00;background-color: #000000">Yellow</td>
|
||||
<td>#FFFF00</td>
|
||||
<td style="background-color:#FFFF00"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#FFFFE0;background-color: #000000">LightYellow</td>
|
||||
<td>#FFFFE0</td>
|
||||
<td style="background-color:#FFFFE0"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="color:#FFFFFF;background-color: #000000">White</td>
|
||||
<td>#FFFFFF</td>
|
||||
<td style="background-color:#FFFFFF"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
39531
inc/vendor/phpoffice/phpspreadsheet/samples/templates/Excel2003XMLTest.xml
vendored
Normal file
39531
inc/vendor/phpoffice/phpspreadsheet/samples/templates/Excel2003XMLTest.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/GnumericTest.gnumeric
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/GnumericTest.gnumeric
vendored
Normal file
Binary file not shown.
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/OOCalcTest.ods
vendored
Normal file
BIN
inc/vendor/phpoffice/phpspreadsheet/samples/templates/OOCalcTest.ods
vendored
Normal file
Binary file not shown.
152
inc/vendor/phpoffice/phpspreadsheet/samples/templates/SylkTest.slk
vendored
Normal file
152
inc/vendor/phpoffice/phpspreadsheet/samples/templates/SylkTest.slk
vendored
Normal file
@ -0,0 +1,152 @@
|
||||
ID;PWXL;N;E
|
||||
P;PGeneral
|
||||
P;P0
|
||||
P;P0.00
|
||||
P;P#,##0
|
||||
P;P#,##0.00
|
||||
P;P#,##0;;\-#,##0
|
||||
P;P#,##0;;[Red]\-#,##0
|
||||
P;P#,##0.00;;\-#,##0.00
|
||||
P;P#,##0.00;;[Red]\-#,##0.00
|
||||
P;P"$"#,##0;;\-"$"#,##0
|
||||
P;P"$"#,##0;;[Red]\-"$"#,##0
|
||||
P;P"$"#,##0.00;;\-"$"#,##0.00
|
||||
P;P"$"#,##0.00;;[Red]\-"$"#,##0.00
|
||||
P;P0%
|
||||
P;P0.00%
|
||||
P;P0.00E+00
|
||||
P;P##0.0E+0
|
||||
P;P#\ ?/?
|
||||
P;P#\ ??/??
|
||||
P;Pdd/mm/yyyy
|
||||
P;Pdd\-mmm\-yy
|
||||
P;Pdd\-mmm
|
||||
P;Pmmm\-yy
|
||||
P;Ph:mm\ AM/PM
|
||||
P;Ph:mm:ss\ AM/PM
|
||||
P;Phh:mm
|
||||
P;Phh:mm:ss
|
||||
P;Pdd/mm/yyyy\ hh:mm
|
||||
P;Pmm:ss
|
||||
P;Pmm:ss.0
|
||||
P;P@
|
||||
P;P[h]:mm:ss
|
||||
P;P_-"$"* #,##0_-;;\-"$"* #,##0_-;;_-"$"* "-"_-;;_-@_-
|
||||
P;P_-* #,##0_-;;\-* #,##0_-;;_-* "-"_-;;_-@_-
|
||||
P;P_-"$"* #,##0.00_-;;\-"$"* #,##0.00_-;;_-"$"* "-"??_-;;_-@_-
|
||||
P;P_-* #,##0.00_-;;\-* #,##0.00_-;;_-* "-"??_-;;_-@_-
|
||||
P;FArial;M200
|
||||
P;FArial;M200
|
||||
P;FArial;M200
|
||||
P;FArial;M200
|
||||
P;EArial;M200
|
||||
P;EArial;M200
|
||||
P;EArial;M200
|
||||
P;EArial;M200;SB
|
||||
P;EArial;M200;SBI
|
||||
P;EArial;M200;SI
|
||||
P;EArial;M200;SU
|
||||
P;EArial;M200;L11
|
||||
P;EArial;M200;SB
|
||||
P;EArial;M200
|
||||
P;EArial;M200;SI
|
||||
P;EArial;M200;SBI
|
||||
P;EArial;M200;SBU
|
||||
P;EArial;M200;SBIU
|
||||
P;EArial;M200
|
||||
P;EArial;M200;SI
|
||||
F;P0;DG0G8;M255
|
||||
B;Y18;X10;D0 0 17 9
|
||||
O;L;D;V0;K47;G100 0.001
|
||||
F;W1 1 17
|
||||
F;W4 6 6
|
||||
F;M270;R9
|
||||
F;M270;R12
|
||||
F;M270;R17
|
||||
F;M270;R18
|
||||
F;SM12;Y1;X1
|
||||
C;K"Test String 1"
|
||||
F;SM19;X2
|
||||
C;K1
|
||||
F;SM19;X3
|
||||
C;K5
|
||||
F;SIDM18;X5
|
||||
C;K"A"
|
||||
F;SDM17;X6
|
||||
C;K"E"
|
||||
C;X8;K6;ERC[-6]+RC[-5]
|
||||
C;X10;K"AE";ERC[-5]&RC[-4]
|
||||
F;SSM0;Y2;X1
|
||||
C;K"Test - String 2"
|
||||
C;X2;K2
|
||||
F;SM19;X3
|
||||
C;K6
|
||||
C;X5;K"B"
|
||||
C;X6;K"F"
|
||||
C;X8;K8;ERC[-6]+RC[-5]
|
||||
C;X10;K"BF";ERC[-5]&RC[-4]
|
||||
C;Y3;X1;K"Test #3"
|
||||
F;SM19;X2
|
||||
C;K3
|
||||
F;SM19;X3
|
||||
C;K7
|
||||
F;SDM13;X5
|
||||
C;K"C"
|
||||
F;SIDM16;X6
|
||||
C;K"G"
|
||||
C;X8;K10;ERC[-6]+RC[-5]
|
||||
C;X10;K"CG";ERC[-5]&RC[-4]
|
||||
F;SM11;Y4;X1
|
||||
C;K"Test with (;;) in string"
|
||||
C;X2;K4
|
||||
F;SM19;X3
|
||||
C;K8
|
||||
F;SIM15;X5
|
||||
C;K"D"
|
||||
C;X6;K"H"
|
||||
C;X8;K12;ERC[-6]+RC[-5]
|
||||
C;X10;K"DH";ERC[-5]&RC[-4]
|
||||
C;Y5;X8;K10;ESUM(R[-4]C[-6]:R[-1]C[-6])
|
||||
C;X9;K26;ESUM(R[-4]C[-6]:R[-1]C[-6])
|
||||
C;X10;K36;ESUM(R[-4]C[-8]:R[-1]C[-7])
|
||||
C;Y6;X2;K1.23
|
||||
C;X3;KTRUE
|
||||
F;P19;FG0G;X4
|
||||
C;Y7;X2;K2.34
|
||||
C;X3;KFALSE
|
||||
C;Y8;X2;K3.45
|
||||
F;Y9;X1
|
||||
F;X2
|
||||
F;X3
|
||||
F;X4
|
||||
F;X5
|
||||
F;X6
|
||||
F;X7
|
||||
F;X8
|
||||
F;X9
|
||||
F;X10
|
||||
F;P19;FG0G;Y10;X1
|
||||
C;K22269
|
||||
F;STM0;X3
|
||||
C;K"TOP"
|
||||
F;P17;FG0G;Y11;X1
|
||||
C;K1.5
|
||||
F;Y12
|
||||
F;X2
|
||||
F;SBM0;X3
|
||||
C;K"BOTTOM"
|
||||
F;X4
|
||||
F;X5
|
||||
F;X6
|
||||
F;X7
|
||||
F;X8
|
||||
F;X9
|
||||
F;X10
|
||||
F;SLM0;Y14;X3
|
||||
C;K"LEFT"
|
||||
F;SRM0;Y16
|
||||
C;K"RIGHT"
|
||||
F;Y17
|
||||
F;SLRTBM0;Y18
|
||||
C;K"BOX"
|
||||
E
|
98
inc/vendor/phpoffice/phpspreadsheet/samples/templates/chartSpreadsheet.php
vendored
Normal file
98
inc/vendor/phpoffice/phpspreadsheet/samples/templates/chartSpreadsheet.php
vendored
Normal file
@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Chart\Chart;
|
||||
use PhpOffice\PhpSpreadsheet\Chart\DataSeries;
|
||||
use PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues;
|
||||
use PhpOffice\PhpSpreadsheet\Chart\Legend;
|
||||
use PhpOffice\PhpSpreadsheet\Chart\PlotArea;
|
||||
use PhpOffice\PhpSpreadsheet\Chart\Title;
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
|
||||
$spreadsheet = new Spreadsheet();
|
||||
$worksheet = $spreadsheet->getActiveSheet();
|
||||
$worksheet->fromArray(
|
||||
[
|
||||
['', 2010, 2011, 2012],
|
||||
['Q1', 12, 15, 21],
|
||||
['Q2', 56, 73, 86],
|
||||
['Q3', 52, 61, 69],
|
||||
['Q4', 30, 32, 0],
|
||||
]
|
||||
);
|
||||
|
||||
// Set the Labels for each data series we want to plot
|
||||
// Datatype
|
||||
// Cell reference for data
|
||||
// Format Code
|
||||
// Number of datapoints in series
|
||||
// Data values
|
||||
// Data Marker
|
||||
$dataSeriesLabels = [
|
||||
new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_STRING, 'Worksheet!$B$1', null, 1), // 2010
|
||||
new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_STRING, 'Worksheet!$C$1', null, 1), // 2011
|
||||
new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_STRING, 'Worksheet!$D$1', null, 1), // 2012
|
||||
];
|
||||
// Set the X-Axis Labels
|
||||
// Datatype
|
||||
// Cell reference for data
|
||||
// Format Code
|
||||
// Number of datapoints in series
|
||||
// Data values
|
||||
// Data Marker
|
||||
$xAxisTickValues = [
|
||||
new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_STRING, 'Worksheet!$A$2:$A$5', null, 4), // Q1 to Q4
|
||||
];
|
||||
// Set the Data values for each data series we want to plot
|
||||
// Datatype
|
||||
// Cell reference for data
|
||||
// Format Code
|
||||
// Number of datapoints in series
|
||||
// Data values
|
||||
// Data Marker
|
||||
$dataSeriesValues = [
|
||||
new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_NUMBER, 'Worksheet!$B$2:$B$5', null, 4),
|
||||
new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_NUMBER, 'Worksheet!$C$2:$C$5', null, 4),
|
||||
new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_NUMBER, 'Worksheet!$D$2:$D$5', null, 4),
|
||||
];
|
||||
|
||||
// Build the dataseries
|
||||
$series = new DataSeries(
|
||||
DataSeries::TYPE_BARCHART, // plotType
|
||||
DataSeries::GROUPING_CLUSTERED, // plotGrouping
|
||||
range(0, count($dataSeriesValues) - 1), // plotOrder
|
||||
$dataSeriesLabels, // plotLabel
|
||||
$xAxisTickValues, // plotCategory
|
||||
$dataSeriesValues // plotValues
|
||||
);
|
||||
// Set additional dataseries parameters
|
||||
// Make it a horizontal bar rather than a vertical column graph
|
||||
$series->setPlotDirection(DataSeries::DIRECTION_BAR);
|
||||
|
||||
// Set the series in the plot area
|
||||
$plotArea = new PlotArea(null, [$series]);
|
||||
// Set the chart legend
|
||||
$legend = new Legend(Legend::POSITION_RIGHT, null, false);
|
||||
|
||||
$title = new Title('Test Bar Chart');
|
||||
$yAxisLabel = new Title('Value ($k)');
|
||||
|
||||
// Create the chart
|
||||
$chart = new Chart(
|
||||
'chart1', // name
|
||||
$title, // title
|
||||
$legend, // legend
|
||||
$plotArea, // plotArea
|
||||
true, // plotVisibleOnly
|
||||
0, // displayBlanksAs
|
||||
null, // xAxisLabel
|
||||
$yAxisLabel // yAxisLabel
|
||||
);
|
||||
|
||||
// Set the position where the chart should appear in the worksheet
|
||||
$chart->setTopLeftPosition('A7');
|
||||
$chart->setBottomRightPosition('H20');
|
||||
|
||||
// Add the chart to the worksheet
|
||||
$worksheet->addChart($chart);
|
||||
|
||||
return $spreadsheet;
|
56
inc/vendor/phpoffice/phpspreadsheet/samples/templates/largeSpreadsheet.php
vendored
Normal file
56
inc/vendor/phpoffice/phpspreadsheet/samples/templates/largeSpreadsheet.php
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
// Create new Spreadsheet object
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
|
||||
$helper->log('Create new Spreadsheet object');
|
||||
$spreadsheet = new Spreadsheet();
|
||||
|
||||
// Set document properties
|
||||
$helper->log('Set properties');
|
||||
$spreadsheet->getProperties()->setCreator('Maarten Balliauw')
|
||||
->setLastModifiedBy('Maarten Balliauw')
|
||||
->setTitle('Office 2007 XLSX Test Document')
|
||||
->setSubject('Office 2007 XLSX Test Document')
|
||||
->setDescription('Test document for Office 2007 XLSX, generated using PHP classes.')
|
||||
->setKeywords('office 2007 openxml php')
|
||||
->setCategory('Test result file');
|
||||
|
||||
// Create a first sheet
|
||||
$helper->log('Add data');
|
||||
$spreadsheet->setActiveSheetIndex(0);
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A1', 'Firstname');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('B1', 'Lastname');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('C1', 'Phone');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('D1', 'Fax');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E1', 'Is Client ?');
|
||||
|
||||
// Hide "Phone" and "fax" column
|
||||
$helper->log("Hide 'Phone' and 'fax' columns");
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('C')->setVisible(false);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('D')->setVisible(false);
|
||||
|
||||
// Set outline levels
|
||||
$helper->log('Set outline levels');
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('E')->setOutlineLevel(1)
|
||||
->setVisible(false)
|
||||
->setCollapsed(true);
|
||||
|
||||
// Freeze panes
|
||||
$helper->log('Freeze panes');
|
||||
$spreadsheet->getActiveSheet()->freezePane('A2');
|
||||
|
||||
// Rows to repeat at top
|
||||
$helper->log('Rows to repeat at top');
|
||||
$spreadsheet->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1, 1);
|
||||
|
||||
// Add data
|
||||
for ($i = 2; $i <= 5000; ++$i) {
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A' . $i, "FName $i")
|
||||
->setCellValue('B' . $i, "LName $i")
|
||||
->setCellValue('C' . $i, "PhoneNo $i")
|
||||
->setCellValue('D' . $i, "FaxNo $i")
|
||||
->setCellValue('E' . $i, true);
|
||||
}
|
||||
|
||||
return $spreadsheet;
|
371
inc/vendor/phpoffice/phpspreadsheet/samples/templates/sampleSpreadsheet.php
vendored
Normal file
371
inc/vendor/phpoffice/phpspreadsheet/samples/templates/sampleSpreadsheet.php
vendored
Normal file
@ -0,0 +1,371 @@
|
||||
<?php
|
||||
|
||||
// Create new Spreadsheet object
|
||||
use PhpOffice\PhpSpreadsheet\RichText\RichText;
|
||||
use PhpOffice\PhpSpreadsheet\Shared\Date;
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
use PhpOffice\PhpSpreadsheet\Style\Alignment;
|
||||
use PhpOffice\PhpSpreadsheet\Style\Border;
|
||||
use PhpOffice\PhpSpreadsheet\Style\Color;
|
||||
use PhpOffice\PhpSpreadsheet\Style\Fill;
|
||||
use PhpOffice\PhpSpreadsheet\Style\Font;
|
||||
use PhpOffice\PhpSpreadsheet\Style\NumberFormat;
|
||||
use PhpOffice\PhpSpreadsheet\Style\Protection;
|
||||
use PhpOffice\PhpSpreadsheet\Worksheet\Drawing;
|
||||
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
||||
|
||||
$helper->log('Create new Spreadsheet object');
|
||||
$spreadsheet = new Spreadsheet();
|
||||
|
||||
// Set document properties
|
||||
$helper->log('Set document properties');
|
||||
$spreadsheet->getProperties()->setCreator('Maarten Balliauw')
|
||||
->setLastModifiedBy('Maarten Balliauw')
|
||||
->setTitle('Office 2007 XLSX Test Document')
|
||||
->setSubject('Office 2007 XLSX Test Document')
|
||||
->setDescription('Test document for Office 2007 XLSX, generated using PHP classes.')
|
||||
->setKeywords('office 2007 openxml php')
|
||||
->setCategory('Test result file');
|
||||
|
||||
// Create a first sheet, representing sales data
|
||||
$helper->log('Add some data');
|
||||
$spreadsheet->setActiveSheetIndex(0);
|
||||
$spreadsheet->getActiveSheet()->setCellValue('B1', 'Invoice');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('D1', Date::PHPToExcel(gmmktime(0, 0, 0, date('m'), date('d'), date('Y'))));
|
||||
$spreadsheet->getActiveSheet()->getStyle('D1')->getNumberFormat()->setFormatCode(NumberFormat::FORMAT_DATE_XLSX15);
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E1', '#12566');
|
||||
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A3', 'Product Id');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('B3', 'Description');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('C3', 'Price');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('D3', 'Amount');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E3', 'Total');
|
||||
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A4', '1001');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('B4', 'PHP for dummies');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('C4', '20');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('D4', '1');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E4', '=IF(D4<>"",C4*D4,"")');
|
||||
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A5', '1012');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('B5', 'OpenXML for dummies');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('C5', '22');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('D5', '2');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E5', '=IF(D5<>"",C5*D5,"")');
|
||||
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E6', '=IF(D6<>"",C6*D6,"")');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E7', '=IF(D7<>"",C7*D7,"")');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E8', '=IF(D8<>"",C8*D8,"")');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E9', '=IF(D9<>"",C9*D9,"")');
|
||||
|
||||
$spreadsheet->getActiveSheet()->setCellValue('D11', 'Total excl.:');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E11', '=SUM(E4:E9)');
|
||||
|
||||
$spreadsheet->getActiveSheet()->setCellValue('D12', 'VAT:');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E12', '=E11*0.21');
|
||||
|
||||
$spreadsheet->getActiveSheet()->setCellValue('D13', 'Total incl.:');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E13', '=E11+E12');
|
||||
|
||||
// Add comment
|
||||
$helper->log('Add comments');
|
||||
|
||||
$spreadsheet->getActiveSheet()->getComment('E11')->setAuthor('PhpSpreadsheet');
|
||||
$commentRichText = $spreadsheet->getActiveSheet()->getComment('E11')->getText()->createTextRun('PhpSpreadsheet:');
|
||||
$commentRichText->getFont()->setBold(true);
|
||||
$spreadsheet->getActiveSheet()->getComment('E11')->getText()->createTextRun("\r\n");
|
||||
$spreadsheet->getActiveSheet()->getComment('E11')->getText()->createTextRun('Total amount on the current invoice, excluding VAT.');
|
||||
|
||||
$spreadsheet->getActiveSheet()->getComment('E12')->setAuthor('PhpSpreadsheet');
|
||||
$commentRichText = $spreadsheet->getActiveSheet()->getComment('E12')->getText()->createTextRun('PhpSpreadsheet:');
|
||||
$commentRichText->getFont()->setBold(true);
|
||||
$spreadsheet->getActiveSheet()->getComment('E12')->getText()->createTextRun("\r\n");
|
||||
$spreadsheet->getActiveSheet()->getComment('E12')->getText()->createTextRun('Total amount of VAT on the current invoice.');
|
||||
|
||||
$spreadsheet->getActiveSheet()->getComment('E13')->setAuthor('PhpSpreadsheet');
|
||||
$commentRichText = $spreadsheet->getActiveSheet()->getComment('E13')->getText()->createTextRun('PhpSpreadsheet:');
|
||||
$commentRichText->getFont()->setBold(true);
|
||||
$spreadsheet->getActiveSheet()->getComment('E13')->getText()->createTextRun("\r\n");
|
||||
$spreadsheet->getActiveSheet()->getComment('E13')->getText()->createTextRun('Total amount on the current invoice, including VAT.');
|
||||
$spreadsheet->getActiveSheet()->getComment('E13')->setWidth('100pt');
|
||||
$spreadsheet->getActiveSheet()->getComment('E13')->setHeight('100pt');
|
||||
$spreadsheet->getActiveSheet()->getComment('E13')->setMarginLeft('150pt');
|
||||
$spreadsheet->getActiveSheet()->getComment('E13')->getFillColor()->setRGB('EEEEEE');
|
||||
|
||||
// Add rich-text string
|
||||
$helper->log('Add rich-text string');
|
||||
$richText = new RichText();
|
||||
$richText->createText('This invoice is ');
|
||||
|
||||
$payable = $richText->createTextRun('payable within thirty days after the end of the month');
|
||||
$payable->getFont()->setBold(true);
|
||||
$payable->getFont()->setItalic(true);
|
||||
$payable->getFont()->setColor(new Color(Color::COLOR_DARKGREEN));
|
||||
|
||||
$richText->createText(', unless specified otherwise on the invoice.');
|
||||
|
||||
$spreadsheet->getActiveSheet()->getCell('A18')->setValue($richText);
|
||||
|
||||
// Merge cells
|
||||
$helper->log('Merge cells');
|
||||
$spreadsheet->getActiveSheet()->mergeCells('A18:E22');
|
||||
$spreadsheet->getActiveSheet()->mergeCells('A28:B28'); // Just to test...
|
||||
$spreadsheet->getActiveSheet()->unmergeCells('A28:B28'); // Just to test...
|
||||
// Protect cells
|
||||
$helper->log('Protect cells');
|
||||
$spreadsheet->getActiveSheet()->getProtection()->setSheet(true); // Needs to be set to true in order to enable any worksheet protection!
|
||||
$spreadsheet->getActiveSheet()->protectCells('A3:E13', 'PhpSpreadsheet');
|
||||
|
||||
// Set cell number formats
|
||||
$helper->log('Set cell number formats');
|
||||
$spreadsheet->getActiveSheet()->getStyle('E4:E13')->getNumberFormat()->setFormatCode(NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE);
|
||||
|
||||
// Set column widths
|
||||
$helper->log('Set column widths');
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('B')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('D')->setWidth(12);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('E')->setWidth(12);
|
||||
|
||||
// Set fonts
|
||||
$helper->log('Set fonts');
|
||||
$spreadsheet->getActiveSheet()->getStyle('B1')->getFont()->setName('Candara');
|
||||
$spreadsheet->getActiveSheet()->getStyle('B1')->getFont()->setSize(20);
|
||||
$spreadsheet->getActiveSheet()->getStyle('B1')->getFont()->setBold(true);
|
||||
$spreadsheet->getActiveSheet()->getStyle('B1')->getFont()->setUnderline(Font::UNDERLINE_SINGLE);
|
||||
$spreadsheet->getActiveSheet()->getStyle('B1')->getFont()->getColor()->setARGB(Color::COLOR_WHITE);
|
||||
|
||||
$spreadsheet->getActiveSheet()->getStyle('D1')->getFont()->getColor()->setARGB(Color::COLOR_WHITE);
|
||||
$spreadsheet->getActiveSheet()->getStyle('E1')->getFont()->getColor()->setARGB(Color::COLOR_WHITE);
|
||||
|
||||
$spreadsheet->getActiveSheet()->getStyle('D13')->getFont()->setBold(true);
|
||||
$spreadsheet->getActiveSheet()->getStyle('E13')->getFont()->setBold(true);
|
||||
|
||||
// Set alignments
|
||||
$helper->log('Set alignments');
|
||||
$spreadsheet->getActiveSheet()->getStyle('D11')->getAlignment()->setHorizontal(Alignment::HORIZONTAL_RIGHT);
|
||||
$spreadsheet->getActiveSheet()->getStyle('D12')->getAlignment()->setHorizontal(Alignment::HORIZONTAL_RIGHT);
|
||||
$spreadsheet->getActiveSheet()->getStyle('D13')->getAlignment()->setHorizontal(Alignment::HORIZONTAL_RIGHT);
|
||||
|
||||
$spreadsheet->getActiveSheet()->getStyle('A18')->getAlignment()->setHorizontal(Alignment::HORIZONTAL_JUSTIFY);
|
||||
$spreadsheet->getActiveSheet()->getStyle('A18')->getAlignment()->setVertical(Alignment::VERTICAL_CENTER);
|
||||
|
||||
$spreadsheet->getActiveSheet()->getStyle('B5')->getAlignment()->setShrinkToFit(true);
|
||||
|
||||
// Set thin black border outline around column
|
||||
$helper->log('Set thin black border outline around column');
|
||||
$styleThinBlackBorderOutline = [
|
||||
'borders' => [
|
||||
'outline' => [
|
||||
'borderStyle' => Border::BORDER_THIN,
|
||||
'color' => ['argb' => 'FF000000'],
|
||||
],
|
||||
],
|
||||
];
|
||||
$spreadsheet->getActiveSheet()->getStyle('A4:E10')->applyFromArray($styleThinBlackBorderOutline);
|
||||
|
||||
// Set thick brown border outline around "Total"
|
||||
$helper->log('Set thick brown border outline around Total');
|
||||
$styleThickBrownBorderOutline = [
|
||||
'borders' => [
|
||||
'outline' => [
|
||||
'borderStyle' => Border::BORDER_THICK,
|
||||
'color' => ['argb' => 'FF993300'],
|
||||
],
|
||||
],
|
||||
];
|
||||
$spreadsheet->getActiveSheet()->getStyle('D13:E13')->applyFromArray($styleThickBrownBorderOutline);
|
||||
|
||||
// Set fills
|
||||
$helper->log('Set fills');
|
||||
$spreadsheet->getActiveSheet()->getStyle('A1:E1')->getFill()->setFillType(Fill::FILL_SOLID);
|
||||
$spreadsheet->getActiveSheet()->getStyle('A1:E1')->getFill()->getStartColor()->setARGB('FF808080');
|
||||
|
||||
// Set style for header row using alternative method
|
||||
$helper->log('Set style for header row using alternative method');
|
||||
$spreadsheet->getActiveSheet()->getStyle('A3:E3')->applyFromArray(
|
||||
[
|
||||
'font' => [
|
||||
'bold' => true,
|
||||
],
|
||||
'alignment' => [
|
||||
'horizontal' => Alignment::HORIZONTAL_RIGHT,
|
||||
],
|
||||
'borders' => [
|
||||
'top' => [
|
||||
'borderStyle' => Border::BORDER_THIN,
|
||||
],
|
||||
],
|
||||
'fill' => [
|
||||
'fillType' => Fill::FILL_GRADIENT_LINEAR,
|
||||
'rotation' => 90,
|
||||
'startColor' => [
|
||||
'argb' => 'FFA0A0A0',
|
||||
],
|
||||
'endColor' => [
|
||||
'argb' => 'FFFFFFFF',
|
||||
],
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
$spreadsheet->getActiveSheet()->getStyle('A3')->applyFromArray(
|
||||
[
|
||||
'alignment' => [
|
||||
'horizontal' => Alignment::HORIZONTAL_LEFT,
|
||||
],
|
||||
'borders' => [
|
||||
'left' => [
|
||||
'borderStyle' => Border::BORDER_THIN,
|
||||
],
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
$spreadsheet->getActiveSheet()->getStyle('B3')->applyFromArray(
|
||||
[
|
||||
'alignment' => [
|
||||
'horizontal' => Alignment::HORIZONTAL_LEFT,
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
$spreadsheet->getActiveSheet()->getStyle('E3')->applyFromArray(
|
||||
[
|
||||
'borders' => [
|
||||
'right' => [
|
||||
'borderStyle' => Border::BORDER_THIN,
|
||||
],
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
// Unprotect a cell
|
||||
$helper->log('Unprotect a cell');
|
||||
$spreadsheet->getActiveSheet()->getStyle('B1')->getProtection()->setLocked(Protection::PROTECTION_UNPROTECTED);
|
||||
|
||||
// Add a hyperlink to the sheet
|
||||
$helper->log('Add a hyperlink to an external website');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E26', 'www.phpexcel.net');
|
||||
$spreadsheet->getActiveSheet()->getCell('E26')->getHyperlink()->setUrl('https://www.example.com');
|
||||
$spreadsheet->getActiveSheet()->getCell('E26')->getHyperlink()->setTooltip('Navigate to website');
|
||||
$spreadsheet->getActiveSheet()->getStyle('E26')->getAlignment()->setHorizontal(Alignment::HORIZONTAL_RIGHT);
|
||||
|
||||
$helper->log('Add a hyperlink to another cell on a different worksheet within the workbook');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('E27', 'Terms and conditions');
|
||||
$spreadsheet->getActiveSheet()->getCell('E27')->getHyperlink()->setUrl("sheet://'Terms and conditions'!A1");
|
||||
$spreadsheet->getActiveSheet()->getCell('E27')->getHyperlink()->setTooltip('Review terms and conditions');
|
||||
$spreadsheet->getActiveSheet()->getStyle('E27')->getAlignment()->setHorizontal(Alignment::HORIZONTAL_RIGHT);
|
||||
|
||||
// Add a drawing to the worksheet
|
||||
$helper->log('Add a drawing to the worksheet');
|
||||
$drawing = new Drawing();
|
||||
$drawing->setName('Logo');
|
||||
$drawing->setDescription('Logo');
|
||||
$drawing->setPath(__DIR__ . '/../images/officelogo.jpg');
|
||||
$drawing->setHeight(36);
|
||||
$drawing->setWorksheet($spreadsheet->getActiveSheet());
|
||||
|
||||
// Add a drawing to the worksheet
|
||||
$helper->log('Add a drawing to the worksheet');
|
||||
$drawing = new Drawing();
|
||||
$drawing->setName('Paid');
|
||||
$drawing->setDescription('Paid');
|
||||
$drawing->setPath(__DIR__ . '/../images/paid.png');
|
||||
$drawing->setCoordinates('B15');
|
||||
$drawing->setOffsetX(110);
|
||||
$drawing->setRotation(25);
|
||||
$drawing->getShadow()->setVisible(true);
|
||||
$drawing->getShadow()->setDirection(45);
|
||||
$drawing->setWorksheet($spreadsheet->getActiveSheet());
|
||||
|
||||
// Add a drawing to the worksheet
|
||||
$helper->log('Add a drawing to the worksheet');
|
||||
$drawing = new Drawing();
|
||||
$drawing->setName('PhpSpreadsheet logo');
|
||||
$drawing->setDescription('PhpSpreadsheet logo');
|
||||
$drawing->setPath(__DIR__ . '/../images/PhpSpreadsheet_logo.png');
|
||||
$drawing->setHeight(36);
|
||||
$drawing->setCoordinates('D24');
|
||||
$drawing->setOffsetX(10);
|
||||
$drawing->setWorksheet($spreadsheet->getActiveSheet());
|
||||
|
||||
// Play around with inserting and removing rows and columns
|
||||
$helper->log('Play around with inserting and removing rows and columns');
|
||||
$spreadsheet->getActiveSheet()->insertNewRowBefore(6, 10);
|
||||
$spreadsheet->getActiveSheet()->removeRow(6, 10);
|
||||
$spreadsheet->getActiveSheet()->insertNewColumnBefore('E', 5);
|
||||
$spreadsheet->getActiveSheet()->removeColumn('E', 5);
|
||||
|
||||
// Set header and footer. When no different headers for odd/even are used, odd header is assumed.
|
||||
$helper->log('Set header/footer');
|
||||
$spreadsheet->getActiveSheet()->getHeaderFooter()->setOddHeader('&L&BInvoice&RPrinted on &D');
|
||||
$spreadsheet->getActiveSheet()->getHeaderFooter()->setOddFooter('&L&B' . $spreadsheet->getProperties()->getTitle() . '&RPage &P of &N');
|
||||
|
||||
// Set page orientation and size
|
||||
$helper->log('Set page orientation and size');
|
||||
$spreadsheet->getActiveSheet()->getPageSetup()->setOrientation(PageSetup::ORIENTATION_PORTRAIT);
|
||||
$spreadsheet->getActiveSheet()->getPageSetup()->setPaperSize(PageSetup::PAPERSIZE_A4);
|
||||
|
||||
// Rename first worksheet
|
||||
$helper->log('Rename first worksheet');
|
||||
$spreadsheet->getActiveSheet()->setTitle('Invoice');
|
||||
|
||||
// Create a new worksheet, after the default sheet
|
||||
$helper->log('Create a second Worksheet object');
|
||||
$spreadsheet->createSheet();
|
||||
|
||||
// Llorem ipsum...
|
||||
$sLloremIpsum = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus eget ante. Sed cursus nunc semper tortor. Aliquam luctus purus non elit. Fusce vel elit commodo sapien dignissim dignissim. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur accumsan magna sed massa. Nullam bibendum quam ac ipsum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin augue. Praesent malesuada justo sed orci. Pellentesque lacus ligula, sodales quis, ultricies a, ultricies vitae, elit. Sed luctus consectetuer dolor. Vivamus vel sem ut nisi sodales accumsan. Nunc et felis. Suspendisse semper viverra odio. Morbi at odio. Integer a orci a purus venenatis molestie. Nam mattis. Praesent rhoncus, nisi vel mattis auctor, neque nisi faucibus sem, non dapibus elit pede ac nisl. Cras turpis.';
|
||||
|
||||
// Add some data to the second sheet, resembling some different data types
|
||||
$helper->log('Add some data');
|
||||
$spreadsheet->setActiveSheetIndex(1);
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A1', 'Terms and conditions');
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A3', $sLloremIpsum);
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A4', $sLloremIpsum);
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A5', $sLloremIpsum);
|
||||
$spreadsheet->getActiveSheet()->setCellValue('A6', $sLloremIpsum);
|
||||
|
||||
// Set the worksheet tab color
|
||||
$helper->log('Set the worksheet tab color');
|
||||
$spreadsheet->getActiveSheet()->getTabColor()->setARGB('FF0094FF');
|
||||
|
||||
// Set alignments
|
||||
$helper->log('Set alignments');
|
||||
$spreadsheet->getActiveSheet()->getStyle('A3:A6')->getAlignment()->setWrapText(true);
|
||||
|
||||
// Set column widths
|
||||
$helper->log('Set column widths');
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('A')->setWidth(80);
|
||||
|
||||
// Set fonts
|
||||
$helper->log('Set fonts');
|
||||
$spreadsheet->getActiveSheet()->getStyle('A1')->getFont()->setName('Candara');
|
||||
$spreadsheet->getActiveSheet()->getStyle('A1')->getFont()->setSize(20);
|
||||
$spreadsheet->getActiveSheet()->getStyle('A1')->getFont()->setBold(true);
|
||||
$spreadsheet->getActiveSheet()->getStyle('A1')->getFont()->setUnderline(Font::UNDERLINE_SINGLE);
|
||||
|
||||
$spreadsheet->getActiveSheet()->getStyle('A3:A6')->getFont()->setSize(8);
|
||||
|
||||
// Add a drawing to the worksheet
|
||||
$helper->log('Add a drawing to the worksheet');
|
||||
$drawing = new Drawing();
|
||||
$drawing->setName('Terms and conditions');
|
||||
$drawing->setDescription('Terms and conditions');
|
||||
$drawing->setPath(__DIR__ . '/../images/termsconditions.jpg');
|
||||
$drawing->setCoordinates('B14');
|
||||
$drawing->setWorksheet($spreadsheet->getActiveSheet());
|
||||
|
||||
// Set page orientation and size
|
||||
$helper->log('Set page orientation and size');
|
||||
$spreadsheet->getActiveSheet()->getPageSetup()->setOrientation(PageSetup::ORIENTATION_LANDSCAPE);
|
||||
$spreadsheet->getActiveSheet()->getPageSetup()->setPaperSize(PageSetup::PAPERSIZE_A4);
|
||||
|
||||
// Rename second worksheet
|
||||
$helper->log('Rename second worksheet');
|
||||
$spreadsheet->getActiveSheet()->setTitle('Terms and conditions');
|
||||
|
||||
// Set active sheet index to the first sheet, so Excel opens this as the first sheet
|
||||
$spreadsheet->setActiveSheetIndex(0);
|
||||
|
||||
return $spreadsheet;
|
Reference in New Issue
Block a user