From 21f08146b08f1a76a22f1f0249a387c37f56c9d5 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Sun, 27 Nov 2016 19:34:17 +0900 Subject: [PATCH] Add documentation welcome page --- docs/README.md | 9 + docs/assets/logo.svg | 947 ++++++++++++++++++++++++ samples/04_Printing.php | 2 +- samples/images/PhpSpreadsheet_logo.gif | Bin 6104 -> 0 bytes samples/templates/sampleSpreadsheet.php | 2 +- 5 files changed, 958 insertions(+), 2 deletions(-) create mode 100644 docs/README.md create mode 100644 docs/assets/logo.svg delete mode 100644 samples/images/PhpSpreadsheet_logo.gif 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 6e1b5ee45266afddac77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@IFWPOmj;o+ z8*D@%6UG4~KzcAH%d!WwwjObyXK?U`-LwStXpcRx13M4{Gq3_600Jz~J373>JzT$o zTb)5%ulsAVgN(%aRHTOg)sXYof|v?D4GFWW*a`T2cG=NpL_>F za$0v#%FJ?JN61c*KVULm-Gpr~~jDzdFpr zvz`8oRNvyaDK(&gGYkc+uw@A@}D3$@5t2r#c96igli~$U= z&N843@DL7`q>ZBX5ija0;TM%4L$WzFTWQV*0@uLHysnzm9K6wz#0H>=Iy-i6B zS0D#-KnG#P(_*zvKpoKrbYAF%1VwGpbBvEjtZ$ZT{CW7JZ89!w@G%I8h@vzdaG7wrwz$=vk)=|V*;rUYG4I)AO}>? z(Bx*yAl1!?N6|>|+dqJSbgZT73Y~sSyNKP?i%q{Dtqkk{s67T0mR)_FI*QjPkY+~< zH{(|oPz#;^O<}b_3q9jk56|MAX3z z1VYXOJU{~=9^x5o*c-6q0G(D-2 ze&}QWp$}~^0%0x$VO|B09_g7g>6BjSY82^f#71rOMjz1WozBBNd;tvL=Pf<}GGGkz zfZ&^j=&UXj`mhGj=>sn50x*E6B+lgMd;z+?>$@&TzAi@$5bVM}>RuYJ@mk>POyw2O z3-b^Ski`w-+Un9S6N>Hv9B}Q|-T_OV*cQ<37VrQL-~hRlOU3S`2w(u{p6<82&g{@DtGR4&ML} zAMp^602E*G6tC_EFafmS3*{gV+8_^E9u1Yr?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);