1
0
mirror of https://github.com/shuchkin/simplexlsxgen.git synced 2023-08-10 21:12:59 +03:00

Updated Readme

This commit is contained in:
Andrew Robinson 2023-03-31 17:05:44 +11:00 committed by GitHub
parent 91ca3f6fff
commit bb09c0d38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,7 @@ $data = [
['Bottom + Right', '<style height="50"><bottom><right>Bottom + Right</right></bottom></style>'], ['Bottom + Right', '<style height="50"><bottom><right>Bottom + Right</right></bottom></style>'],
['<center>MERGE CELLS MERGE CELLS MERGE CELLS MERGE CELLS MERGE CELLS</center>', null], ['<center>MERGE CELLS MERGE CELLS MERGE CELLS MERGE CELLS MERGE CELLS</center>', null],
['<top>Word wrap</top>', "<wraptext>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book</wraptext>"] ['<top>Word wrap</top>', "<wraptext>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book</wraptext>"]
['Size 16 Font', '<style font-size="16">Big Text</style>'],
]; ];
SimpleXLSXGen::fromArray($data) SimpleXLSXGen::fromArray($data)
->setDefaultFont('Courier New') ->setDefaultFont('Courier New')