Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
@ -38,8 +38,8 @@ Copy the "Examples" folder next to your "Classes" folder from above so you end u
|
||||
|
||||
Start running the tests by pointing your browser to the test scripts:
|
||||
|
||||
http://example.com/Tests/01simple.php
|
||||
http://example.com/Tests/02types.php
|
||||
https://example.com/Tests/01simple.php
|
||||
https://example.com/Tests/02types.php
|
||||
...
|
||||
|
||||
**Note:** It may be necessary to modify the include/require statements at the beginning of each of the test scripts if your "Classes" folder from above is named differently.
|
||||
@ -52,18 +52,18 @@ There are some links and tools which are very useful when developing using PHPEx
|
||||
#### OpenXML / SpreadsheetML
|
||||
|
||||
- __File format documentation__
|
||||
[http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm][3]
|
||||
[https://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm][3]
|
||||
- __OpenXML Explained e-book__
|
||||
[http://openxmldeveloper.org/articles/1970.aspx][4]
|
||||
[https://openxmldeveloper.org/articles/1970.aspx][4]
|
||||
- __Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats__
|
||||
[http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en][5]
|
||||
[https://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en][5]
|
||||
- __OpenXML Package Explorer__
|
||||
[http://www.codeplex.com/PackageExplorer/][6]
|
||||
[https://www.codeplex.com/PackageExplorer/][6]
|
||||
|
||||
|
||||
### Frequently asked questions
|
||||
|
||||
The up-to-date F.A.Q. page for PHPExcel can be found on [http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements][7].
|
||||
The up-to-date F.A.Q. page for PHPExcel can be found on [https://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements][7].
|
||||
|
||||
##### There seems to be a problem with character encoding...
|
||||
|
||||
@ -91,7 +91,7 @@ At present, this only allows you to write Excel2007 files without the need for Z
|
||||
|
||||
"Excel found unreadable content in '*.xlsx'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes."
|
||||
|
||||
Some older versions of the 5.2.x php_zip extension on Windows contain an error when creating ZIP files. The version that can be found on [http://snaps.php.net/win32/php5.2-win32-latest.zip][8] should work at all times.
|
||||
Some older versions of the 5.2.x php_zip extension on Windows contain an error when creating ZIP files. The version that can be found on [https://snaps.php.net/win32/php5.2-win32-latest.zip][8] should work at all times.
|
||||
|
||||
Alternatively, upgrading to at least PHP 5.2.9 should solve the problem.
|
||||
|
||||
@ -146,33 +146,33 @@ Thanks to peterrlynch for the following advice on resolving issues between the [
|
||||
#### Tutorials
|
||||
|
||||
- __English PHPExcel tutorial__
|
||||
[http://openxmldeveloper.org][18]
|
||||
[https://openxmldeveloper.org][18]
|
||||
- __French PHPExcel tutorial__
|
||||
[http://g-ernaelsten.developpez.com/tutoriels/excel2007/][19]
|
||||
[https://g-ernaelsten.developpez.com/tutoriels/excel2007/][19]
|
||||
- __A Japanese-language introduction to PHPExcel__
|
||||
[http://journal.mycom.co.jp/articles/2009/03/06/phpexcel/index.html][21]
|
||||
[https://journal.mycom.co.jp/articles/2009/03/06/phpexcel/index.html][21]
|
||||
|
||||
|
||||
[2]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Documents&referringTitle=Home
|
||||
[3]: http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm
|
||||
[4]: http://openxmldeveloper.org/articles/1970.aspx
|
||||
[5]: http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en
|
||||
[6]: http://www.codeplex.com/PackageExplorer/
|
||||
[7]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements
|
||||
[8]: http://snaps.php.net/win32/php5.2-win32-latest.zip
|
||||
[9]: http://phpexcel.codeplex.com/Thread/View.aspx?ThreadId=234150
|
||||
[10]: http://phpexcel.codeplex.com/Thread/View.aspx?ThreadId=242712
|
||||
[11]: http://http:/forum.joomla.org/viewtopic.php?f=304&t=433060
|
||||
[12]: http://www.yiiframework.com/wiki/101/how-to-use-phpexcel-external-library-with-yii/
|
||||
[13]: http://bakery.cakephp.org/articles/melgior/2010/01/26/simple-excel-spreadsheet-helper
|
||||
[14]: http://www.flynsarmy.com/2010/07/phpexcel-module-for-kohana-3/
|
||||
[15]: http://szpargalki.blogspot.com/2011/02/phpexcel-kohana-framework.html
|
||||
[16]: http://typo3.org/documentation/document-library/extension-manuals/phpexcel_library/1.1.1/view/toc/0/
|
||||
[17]: http://phpexcel.codeplex.com/discussions/211925
|
||||
[18]: http://openxmldeveloper.org
|
||||
[19]: http://g-ernaelsten.developpez.com/tutoriels/excel2007/
|
||||
[20]: http://www.web-junior.net/sozdanie-excel-fajjlov-s-pomoshhyu-phpexcel/
|
||||
[21]: http://journal.mycom.co.jp/articles/2009/03/06/phpexcel/index.html
|
||||
[2]: https://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Documents&referringTitle=Home
|
||||
[3]: https://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm
|
||||
[4]: https://openxmldeveloper.org/articles/1970.aspx
|
||||
[5]: https://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en
|
||||
[6]: https://www.codeplex.com/PackageExplorer/
|
||||
[7]: https://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements
|
||||
[8]: https://snaps.php.net/win32/php5.2-win32-latest.zip
|
||||
[9]: https://phpexcel.codeplex.com/Thread/View.aspx?ThreadId=234150
|
||||
[10]: https://phpexcel.codeplex.com/Thread/View.aspx?ThreadId=242712
|
||||
[11]: https://https:/forum.joomla.org/viewtopic.php?f=304&t=433060
|
||||
[12]: https://www.yiiframework.com/wiki/101/how-to-use-phpexcel-external-library-with-yii/
|
||||
[13]: https://bakery.cakephp.org/articles/melgior/2010/01/26/simple-excel-spreadsheet-helper
|
||||
[14]: https://www.flynsarmy.com/2010/07/phpexcel-module-for-kohana-3/
|
||||
[15]: https://szpargalki.blogspot.com/2011/02/phpexcel-kohana-framework.html
|
||||
[16]: https://typo3.org/documentation/document-library/extension-manuals/phpexcel_library/1.1.1/view/toc/0/
|
||||
[17]: https://phpexcel.codeplex.com/discussions/211925
|
||||
[18]: https://openxmldeveloper.org
|
||||
[19]: https://g-ernaelsten.developpez.com/tutoriels/excel2007/
|
||||
[20]: https://www.web-junior.net/sozdanie-excel-fajjlov-s-pomoshhyu-phpexcel/
|
||||
[21]: https://journal.mycom.co.jp/articles/2009/03/06/phpexcel/index.html
|
||||
|
||||
|
||||
[^phpzip_footnote]: __php_zip__ is only needed by __PHPExcel_Reader_Excel2007__, __PHPExcel_Writer_Excel2007__ and __PHPExcel_Reader_OOCalc__. In other words, if you need PHPExcel to handle .xlsx or .ods files you will need the zip extension, but otherwise not.<br />You can remove this dependency for writing Excel2007 files (though not yet for reading) by using the PCLZip library that is bundled with PHPExcel. See the FAQ section of this document for details about this. PCLZip does have a dependency on PHP's zlib extension being enabled.
|
||||
|
@ -230,7 +230,7 @@ You can make a cell a clickable URL by setting its hyperlink property:
|
||||
|
||||
```php
|
||||
$objPHPExcel->getActiveSheet()->setCellValue('E26', 'www.phpexcel.net');
|
||||
$objPHPExcel->getActiveSheet()->getCell('E26')->getHyperlink()->setUrl('http://www.phpexcel.net');
|
||||
$objPHPExcel->getActiveSheet()->getCell('E26')->getHyperlink()->setUrl('https://www.phpexcel.net');
|
||||
```
|
||||
|
||||
If you want to make a hyperlink to another worksheet/cell, use the following code:
|
||||
|
@ -37,16 +37,16 @@ There are some known limitations to the PHPExcel calculation engine. Most of the
|
||||
|
||||
In Excel '+' wins over '&', just like '*' wins over '+' in ordinary algebra. The former rule is not what one finds using the calculation engine shipped with PHPExcel.
|
||||
|
||||
Reference for operator precedence in Excel: [http://support.microsoft.com/kb/25189][18]
|
||||
Reference for operator precedence in Excel: [https://support.microsoft.com/kb/25189][18]
|
||||
|
||||
Reference for operator precedence in PHP: [http://www.php.net/operators][19]
|
||||
Reference for operator precedence in PHP: [https://www.php.net/operators][19]
|
||||
|
||||
#### Formulas involving numbers and text
|
||||
|
||||
Formulas involving numbers and text may produce unexpected results or even unreadable file contents. For example, the formula '=3+"Hello "' is expected to produce an error in Excel (#VALUE!). Due to the fact that PHP converts “Hello” to a numeric value (zero), the result of this formula is evaluated as 3 instead of evaluating as an error. This also causes the Excel document being generated as containing unreadable content.
|
||||
|
||||
Reference for this behaviour in PHP: [http://be.php.net/manual/en/language.types.string.php#language.types.string.conversion][20]
|
||||
Reference for this behaviour in PHP: [https://be.php.net/manual/en/language.types.string.php#language.types.string.conversion][20]
|
||||
|
||||
[18]: http://support.microsoft.com/kb/25189
|
||||
[19]: http://www.php.net/operators
|
||||
[20]: http://be.php.net/manual/en/language.types.string.php#language.types.string.conversion
|
||||
[18]: https://support.microsoft.com/kb/25189
|
||||
[19]: https://www.php.net/operators
|
||||
[20]: https://be.php.net/manual/en/language.types.string.php#language.types.string.conversion
|
||||
|
@ -527,7 +527,7 @@ $objWriter->setSheetIndex(0);
|
||||
|
||||
There might be situations where you want to explicitly set the included images root. For example, one might want to see
|
||||
```html
|
||||
<img style="position: relative; left: 0px; top: 0px; width: 140px; height: 78px;" src="http://www.domain.com/*images/logo.jpg" border="0">
|
||||
<img style="position: relative; left: 0px; top: 0px; width: 140px; height: 78px;" src="https://www.domain.com/*images/logo.jpg" border="0">
|
||||
```
|
||||
|
||||
instead of
|
||||
@ -539,7 +539,7 @@ instead of
|
||||
You can use the following code to achieve this result:
|
||||
|
||||
```php
|
||||
$objWriter->setImagesRoot('http://www.example.com');
|
||||
$objWriter->setImagesRoot('https://www.example.com');
|
||||
```
|
||||
|
||||
##### Formula pre-calculation
|
||||
@ -623,9 +623,9 @@ Currently, the following libraries are supported:
|
||||
|
||||
Library | Version used for testing | Downloadable from | PHPExcel Internal Constant
|
||||
--------|--------------------------|----------------------------------|----------------------------
|
||||
tcPDF | 5.9 | http://www.tcpdf.org/ | PDF_RENDERER_TCPDF
|
||||
mPDF | 5.4 | http://www.mpdf1.com/mpdf/ | PDF_RENDERER_MPDF
|
||||
domPDF | 0.6.0 beta 3 | http://code.google.com/p/dompdf/ | PDF_RENDERER_DOMPDF
|
||||
tcPDF | 5.9 | https://www.tcpdf.org/ | PDF_RENDERER_TCPDF
|
||||
mPDF | 5.4 | https://www.mpdf1.com/mpdf/ | PDF_RENDERER_MPDF
|
||||
domPDF | 0.6.0 beta 3 | https://code.google.com/p/dompdf/ | PDF_RENDERER_DOMPDF
|
||||
|
||||
The different libraries have different strengths and weaknesses. Some generate better formatted output than others, some are faster or use less memory than others, while some generate smaller .pdf files. It is the developers choice which one they wish to use, appropriate to their own circumstances.
|
||||
|
||||
@ -710,5 +710,5 @@ $objWriter->save('write.xls');
|
||||
|
||||
Notice that it is ok to load an xlsx file and generate an xls file.
|
||||
|
||||
[21]: http://pear.php.net/package/Spreadsheet_Excel_Writer
|
||||
[22]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home
|
||||
[21]: https://pear.php.net/package/Spreadsheet_Excel_Writer
|
||||
[22]: https://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
## Credits
|
||||
|
||||
Please refer to the internet page [http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home][22] for up-to-date credits.
|
||||
Please refer to the internet page [https://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home][22] for up-to-date credits.
|
||||
|
||||
## Valid array keys for style applyFromArray()
|
||||
|
||||
@ -97,4 +97,4 @@ __PHPExcel_Style_Protection__
|
||||
hidden | setHidden()
|
||||
|
||||
|
||||
[22]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home
|
||||
[22]: https://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home
|
||||
|
Reference in New Issue
Block a user