Typo in docs

This commit is contained in:
Adrien Crivelli 2017-12-19 15:18:36 +09:00
parent 8288a7f029
commit cfcafd3e73
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 1 additions and 11 deletions

View File

@ -63,7 +63,7 @@ Trying to set column width, I experience one problem. When I open the
file in Excel, the actual width is 0.71 less than it should be. file in Excel, the actual width is 0.71 less than it should be.
The short answer is that PhpSpreadsheet uses a measure where padding is The short answer is that PhpSpreadsheet uses a measure where padding is
included. See [how to seta column's width](./topics/recipes.md#setting-a-columns-width) included. See [how to set a column's width](./topics/recipes.md#setting-a-columns-width)
for more details. for more details.
## How do I use PhpSpreadsheet with my framework ## How do I use PhpSpreadsheet with my framework

View File

@ -1506,13 +1506,3 @@ right-to-left.
// right-to-left worksheet // right-to-left worksheet
$spreadsheet->getActiveSheet()->setRightToLeft(true); $spreadsheet->getActiveSheet()->setRightToLeft(true);
``` ```
[^1]: z
``` php
$drawing = new \PhpOffice\PhpSpreadsheet\Worksheet\HeaderFooterDrawing();
$drawing->setName('PhpSpreadsheet logo');
$drawing->setPath('./images/PhpSpreadsheet_logo.png');
$drawing->setHeight(36);
$spreadsheet->getActiveSheet()->getHeaderFooter()->addImage($drawing, \PhpOffice\PhpSpreadsheet\Worksheet\HeaderFooter::IMAGE_HEADER_LEFT);
```