diff --git a/docs/faq.md b/docs/faq.md index 114c48a8..68dbef5d 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -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. 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. ## How do I use PhpSpreadsheet with my framework diff --git a/docs/topics/recipes.md b/docs/topics/recipes.md index 05664580..6b1f5998 100644 --- a/docs/topics/recipes.md +++ b/docs/topics/recipes.md @@ -1506,13 +1506,3 @@ right-to-left. // right-to-left worksheet $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); - ```