diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 00000000..83177941 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,9 @@ +Welcome to PhpSpreadsheet's documentation +========================================== + +![Logo](./assets/logo.svg) + + +PhpSpreadsheet is a library written in pure PHP and providing a set of classes that allow you to read from and to write to different spreadsheet file formats, like Excel and LibreOffice Calc. + +See [how to get started](./Overview/01-Getting-Started.md) or explore the in-depth documentation in the different topics. diff --git a/docs/assets/logo.svg b/docs/assets/logo.svg new file mode 100644 index 00000000..229debc0 --- /dev/null +++ b/docs/assets/logo.svg @@ -0,0 +1,947 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/samples/04_Printing.php b/samples/04_Printing.php index b6cd9f9c..4434b2f5 100644 --- a/samples/04_Printing.php +++ b/samples/04_Printing.php @@ -36,7 +36,7 @@ $spreadsheet->getActiveSheet() $helper->log('Add a drawing to the header'); $drawing = new \PhpOffice\PhpSpreadsheet\Worksheet\HeaderFooterDrawing(); $drawing->setName('PhpSpreadsheet logo'); -$drawing->setPath(__DIR__ . '/images/PhpSpreadsheet_logo.gif'); +$drawing->setPath(__DIR__ . '/images/PhpSpreadsheet_logo.png'); $drawing->setHeight(36); $spreadsheet->getActiveSheet() ->getHeaderFooter() diff --git a/samples/images/PhpSpreadsheet_logo.gif b/samples/images/PhpSpreadsheet_logo.gif deleted file mode 100644 index 6e1b5ee4..00000000 Binary files a/samples/images/PhpSpreadsheet_logo.gif and /dev/null differ diff --git a/samples/templates/sampleSpreadsheet.php b/samples/templates/sampleSpreadsheet.php index 479d0b03..9b34add9 100644 --- a/samples/templates/sampleSpreadsheet.php +++ b/samples/templates/sampleSpreadsheet.php @@ -270,7 +270,7 @@ $helper->log('Add a drawing to the worksheet'); $drawing = new \PhpOffice\PhpSpreadsheet\Worksheet\Drawing(); $drawing->setName('PhpSpreadsheet logo'); $drawing->setDescription('PhpSpreadsheet logo'); -$drawing->setPath(__DIR__ . '/../images/PhpSpreadsheet_logo.gif'); +$drawing->setPath(__DIR__ . '/../images/PhpSpreadsheet_logo.png'); $drawing->setHeight(36); $drawing->setCoordinates('D24'); $drawing->setOffsetX(10);