Comments (6)
Finally pushed my work. Examples/
was moved to samples/
and mimic as much as possible what is done for PhpPresentation.
Compared to PhpPresentation, I moved some logic from Header.php to a dedicated class \PhpSpreadsheet\Helper\Sample
. That seemed cleaner. And it is also used in unit tests to get the complete list of samples. Meaning that all samples are now ran by phpunit. Or almost all of them, because I noticed a few of them crashed. I'll open separate issue for those.
One last thing to do would be to move Documentation/Examples
into the same structure, most likely keeping the folder structure and re-organizing existing sample in folders too. And finally reflect this folder structure in the menu on the web interface, to have some kind of categories.
from phpspreadsheet.
Fixed typehinted arguments where null values being passed to methods, allowing null as defaults
from phpspreadsheet.
I'd like to help you with that. If not completed already I could finish the example updates, and I had in mind to use phpunit to make sure that all examples can actually be run (no actually testing the results, but at least that they run without errors). What do you think ? Or would you rather finish this by yourself ?
from phpspreadsheet.
@PowerKiKi You can use the template HTML/JS/CSS that I made for PhpPresentation for samples.
https://github.com/PHPOffice/PHPPresentation/blob/develop/samples/Sample_Header.php#L419
https://github.com/PHPOffice/PHPPresentation/blob/develop/samples/Sample_Footer.php
from phpspreadsheet.
Forgot to mention that I am working on that. Using PHPPresentation as foundation.
from phpspreadsheet.
@PowerKiKi Perfect ;)
from phpspreadsheet.
Related Issues (20)
- converting a .xlsx file to .pdf not retain the specified print area HOT 1
- setReadDataOnly function is deprecated or missing HOT 4
- Including WordPress? HOT 4
- If the content of the csv file contains Chinese characters enclosed in double quotes, the data will not be output correctly HOT 4
- Need help regarding download of excel file. HOT 1
- Protect Sheet But Allow Sort not working HOT 2
- [ERROR] Class "Rector\Core\Rector\AbstractRector" not found HOT 2
- Make voku packages optional HOT 2
- ver 1.29 ) Csv auto_detect_line_endings HOT 4
- Unable to save with setFormatCode in ODS, and getFormatCode from existing documents HOT 4
- mime_content_type() has been removed since PHP ver. 8 HOT 1
- Some methods removed in v2.0 but not mentioned in CHANGELOG file HOT 1
- syntax error in xls.php file HOT 2
- giao dịch đồng thời php HOT 2
- Uncaught TypeError: PhpOffice\PhpSpreadsheet\Writer\Xlsx\Chart::writePlotGroup(): Argument #6 ($plotGroupingType) must be of type string, null given
- Chart: Y axis is no longer displayed after load and save HOT 1
- Microsoft excel files of different version do not read files HOT 1
- Leap year calculation correction HOT 2
- rangeToArray tries to read every possible cell leading to OOM HOT 1
- Error on StringValueBinder `convertFormula` check HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpspreadsheet.