{"id":245233,"date":"2014-12-08T04:08:04","date_gmt":"2014-12-08T00:08:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=245233"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=245233","title":{"rendered":"<span class=\"post_title\">\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u0432 Excel \u043d\u0430 PHP<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u041d\u0435 \u0440\u0435\u0434\u043a\u043e \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043d\u0435\u043a\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043e\u0442\u0447\u0435\u0442\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 <strong>Delphi<\/strong>, <strong>C#<\/strong> \u0438\u043b\u0438 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043d\u0430 <strong>\u0421++<\/strong> \u0438 \u043f\u043e\u0434 <strong>Windows<\/strong>, \u0442\u043e \u0442\u0443\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u0442. \u0412\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f <a title=\"Component Object Model\" href=\"http:\/\/ru.wikipedia.org\/wiki\/Component_Object_Model\">COM<\/a> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c. \u041d\u043e \u0434\u0435\u043b\u0430 \u043e\u0431\u0441\u0442\u043e\u044f\u0442 \u0438\u043d\u0430\u0447\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 excel \u043d\u0430 <strong>PHP<\/strong>. \u0418 \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u043d\u0430 <strong>UNIX<\/strong>-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445. \u041d\u043e, \u043a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043d\u0435 \u0442\u0430\u043a \u0432\u0441\u0435 \u043f\u043b\u043e\u0445\u043e. \u0418 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0445\u0432\u0430\u0442\u0430\u0435\u0442. \u042f \u0441\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u043d\u0430 <strong>PHPExcel<\/strong>. \u042f \u0443\u0436\u0435 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0441 \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439, \u0438 \u043e\u0441\u0442\u0430\u044e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u0435\u043d. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0439, \u0442\u043e \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c\u043e\u0441\u0442\u044c\u044e.<br \/>  PHPExcel \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0438\u043c\u043f\u043e\u0440\u0442 \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 excel. \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u043a \u043e\u0442\u0447\u0435\u0442\u0430\u043c. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0432\u0441\u0435 \u043d\u0430 \u0432\u044b\u0441\u043e\u0442\u0435. \u0414\u0430\u0436\u0435 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u043e\u0440\u043c\u0443\u043b\u0430\u043c\u0438 (\u0441\u0430\u043c \u044f \u043d\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b). \u0422\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u0432\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 (\u0447\u0442\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c) \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u0435\u0441\u0442\u0438\u0441\u044c \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 <em>utf-8<\/em>.<br \/>  <a name=\"habracut\"><\/a><br \/>  <strong>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/strong><br \/>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0432\u0435\u0440\u0441\u0438\u044f PHP 5.2.0 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435. \u0410 \u0442\u0430\u043a\u0436\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f: php_zip, php_xml \u0438 php_gd2. \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043c\u043e\u0436\u043d\u043e <a title=\"\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 PHPExcel\" href=\"http:\/\/phpexcel.codeplex.com\/\">\u043e\u0442\u0441\u044e\u0434\u0430<\/a>.<\/p>\n<p>  <strong>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 PHPExcel \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b:<\/strong><\/p>\n<ul>\n<li>Excel 2007;<\/li>\n<li>Excel 5.0\/Excel 95;<\/li>\n<li>Excel 97 \u0438 \u043f\u043e\u0437\u0434\u043d\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438;<\/li>\n<li>PHPExcel Serialized Spreadshet;<\/li>\n<li>Symbolic Link;<\/li>\n<li>CSV.<\/li>\n<\/ul>\n<h2>\u0418\u043c\u043f\u043e\u0440\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 PHP \u0432 Excel<\/h2>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"php\">\/\/ \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 excel require_once('PHPExcel.php'); \/\/ \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 excel require_once('PHPExcel\/Writer\/Excel5.php');  \/\/ \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 PHPExcel $xls = new PHPExcel(); \/\/ \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438\u043d\u0434\u0435\u043a\u0441 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043b\u0438\u0441\u0442\u0430 $xls-&gt;setActiveSheetIndex(0); \/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u0438\u0441\u0442 $sheet = $xls-&gt;getActiveSheet(); \/\/ \u041f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043b\u0438\u0441\u0442 $sheet-&gt;setTitle('\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f');  \/\/ \u0412\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u0432 \u044f\u0447\u0435\u0439\u043a\u0443 A1 $sheet-&gt;setCellValue(&quot;A1&quot;, '\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f'); $sheet-&gt;getStyle('A1')-&gt;getFill()-&gt;setFillType(     PHPExcel_Style_Fill::FILL_SOLID); $sheet-&gt;getStyle('A1')-&gt;getFill()-&gt;getStartColor()-&gt;setRGB('EEEEEE');  \/\/ \u041e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u043c \u044f\u0447\u0435\u0439\u043a\u0438 $sheet-&gt;mergeCells('A1:H1');  \/\/ \u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u0430 $sheet-&gt;getStyle('A1')-&gt;getAlignment()-&gt;setHorizontal(     PHPExcel_Style_Alignment::HORIZONTAL_CENTER);  for ($i = 2; $i &lt; 10; $i++) { \tfor ($j = 2; $j &lt; 10; $j++) {         \/\/ \u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f         $sheet-&gt;setCellValueByColumnAndRow(                                           $i - 2,                                           $j,                                           $i . &quot;x&quot; .$j . &quot;=&quot; . ($i*$j)); \t    \/\/ \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \t    $sheet-&gt;getStyleByColumnAndRow($i - 2, $j)-&gt;getAlignment()-&gt;                 setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER); \t} } <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0430\u0448 *.xls \u0444\u0430\u0439\u043b. \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0434\u0432\u0443\u043c\u044f \u043f\u0443\u0442\u044f\u043c\u0438. \u0415\u0441\u043b\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0443 \u0432\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043c\u0430\u0433\u0430\u0437\u0438\u043d, \u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u0445\u043e\u0447\u0435\u0442 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u0440\u0430\u0439\u0441 \u043b\u0438\u0441\u0442, \u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043b\u0443\u0447\u0448\u0435 \u043f\u0440\u0438\u0431\u0435\u0433\u043d\u0443\u0442\u044c \u043a \u0442\u0430\u043a\u043e\u043c\u0443 \u0432\u044b\u0432\u043e\u0434\u0443:<\/p>\n<pre><code class=\"php\">\/\/ \u0412\u044b\u0432\u043e\u0434\u0438\u043c HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438  header ( &quot;Expires: Mon, 1 Apr 1974 05:00:00 GMT&quot; );  header ( &quot;Last-Modified: &quot; . gmdate(&quot;D,d M YH:i:s&quot;) . &quot; GMT&quot; );  header ( &quot;Cache-Control: no-cache, must-revalidate&quot; );  header ( &quot;Pragma: no-cache&quot; );  header ( &quot;Content-type: application\/vnd.ms-excel&quot; );  header ( &quot;Content-Disposition: attachment; filename=matrix.xls&quot; );  \/\/ \u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430  $objWriter = new PHPExcel_Writer_Excel5($xls);  $objWriter-&gt;save('php:\/\/output'); <\/code><\/pre>\n<div style=\"text-align:center;\"><img decoding=\"async\"  src=\"\/\/habrastorage.org\/files\/041\/7d0\/05c\/0417d005c05f45f88b4988a33cf29373.jpg\"\/><\/div>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0440\u0430\u0437\u0443 \u201c\u0432\u044b\u043f\u043b\u044e\u043d\u0443\u0442\u0441\u044f\u201d \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0444\u0430\u0439\u043b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c, \u0430 \u043d\u0435 \u201c\u0432\u044b\u0431\u0440\u043e\u0441\u0438\u0442\u044c\u201d \u0435\u0433\u043e \u0441\u0440\u0430\u0437\u0443, \u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c <strong>HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438<\/strong> \u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u201cphp:\/\/output\u201d \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u0432\u0430\u0448\u0435\u043c\u0443 \u0444\u0430\u0439\u043b\u0443. \u041f\u043e\u043c\u043d\u0438\u0442\u0435 \u0447\u0442\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430, \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c. \u042d\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f UNIX-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c.<br \/>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0435\u0449\u0435 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0442\u0440\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438:<\/p>\n<ul>\n<li><strong>$sheet-&gt;getColumnDimension(&#8216;A&#8217;)-&gt;setWidth(40)<\/strong> \u2013 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u043e\u043b\u0431\u0446\u0443 \u201cA\u201d \u0448\u0438\u0440\u0438\u043d\u0443 \u0432 40 \u0435\u0434\u0438\u043d\u0438\u0446;<\/li>\n<li><strong>$sheet-&gt;getColumnDimension(&#8216;B&#8217;)-&gt;setAutoSize(true)<\/strong> \u2013 \u0437\u0434\u0435\u0441\u044c \u0443 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u201cB\u201d \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0448\u0438\u0440\u0438\u043d\u0430;<\/li>\n<li><strong>$sheet-&gt;getRowDimension(4)-&gt;setRowHeight(20)<\/strong> \u2013 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0432\u044b\u0441\u043e\u0442\u0443 \u0440\u0430\u0432\u043d\u0443\u044e 20 \u0435\u0434\u0438\u043d\u0438\u0446\u0430\u043c.<\/li>\n<\/ul>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u044d\u0442\u0438 \u0432\u043e\u0442 \u043c\u0435\u0442\u043e\u0434\u044b: <strong>setCellValue<\/strong> \u0438 <strong>setCellValueByColumnAndRow<\/strong>.<\/p>\n<ul>\n<li><strong>setCellValue<\/strong>(pCoordinate, pValue, returnCell = false) \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0442\u0440\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430: \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0443 \u044f\u0447\u0435\u0439\u043a\u0438, \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u044f\u0447\u0435\u0439\u043a\u0443 \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u0435\u043d (\u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c \u0435\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 true, \u0442\u043e \u043c\u0435\u0442\u043e\u0434 \u0432\u0435\u0440\u043d\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u044f\u0447\u0435\u0439\u043a\u0438, \u0438\u043d\u0430\u0447\u0435 \u043e\u0431\u044a\u0435\u043a\u0442 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043b\u0438\u0441\u0442\u0430);<\/li>\n<li><strong>setCellValueByColumnAndRow<\/strong>(pColumn, pRow, pValue = null, returnCell = false) \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0447\u0435\u0442\u044b\u0440\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430: \u043d\u043e\u043c\u0435\u0440 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u044f\u0447\u0435\u0439\u043a\u0438, \u043d\u043e\u043c\u0435\u0440 \u0441\u0442\u0440\u043e\u043a\u0438 \u044f\u0447\u0435\u0439\u043a\u0438, \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u044f\u0447\u0435\u0439\u043a\u0443 \u0438 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0430 setCellValue.<\/li>\n<\/ul>\n<p>  \u0422\u043e \u0435\u0441\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u044f\u0447\u0435\u0439\u043a\u0430\u043c \u0434\u0432\u0443\u043c\u044f \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u0427\u0442\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u043c.<\/p>\n<h2>\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u043e\u0442\u0447\u0435\u0442\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 PHP \u0432 Excel<\/h2>\n<p>  \u041e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432 \u043e\u0442\u0447\u0435\u0442\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0448\u0440\u0438\u0444\u0442\u0430 \u0438\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u043c\u043a\u0443 \u0441 \u0437\u0430\u043b\u0438\u0432\u043a\u043e\u0439 \u0444\u043e\u043d\u0430 \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044f\u0447\u0435\u0435\u043a \u0438 \u0442.\u0434. \u0427\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043a\u043e\u043d\u0446\u0435\u043d\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0430\u0436\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 (\u043f\u0440\u0430\u0432\u0434\u0430 \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u043e\u0442\u0432\u043b\u0435\u0447\u044c). \u0414\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 PHPExcel \u0435\u0441\u0442\u044c \u0446\u0435\u043b\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0441\u0442\u0438\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043a \u044f\u0447\u0435\u0439\u043a\u0430\u043c \u0432 excel. \u0415\u0441\u0442\u044c \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0432 \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u201c\u043c\u0438\u043d\u0443\u0441\u201d \u2013 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0442\u0438\u043b\u044c \u043a \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u044f\u0447\u0435\u0439\u043a\u0430\u043c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e, \u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043a \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e. \u041d\u043e \u044d\u0442\u043e \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0434\u0438\u0441\u043a\u043e\u043c\u0444\u043e\u0440\u0442\u0430 \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<br \/>  \u041d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u0441\u0442\u0438\u043b\u044c \u044f\u0447\u0435\u0439\u043a\u0435 \u043c\u043e\u0436\u043d\u043e \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438:<\/p>\n<ul>\n<li>\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <em>applyFromArray<\/em>, \u043a\u043b\u0430\u0441\u0441\u0430 <strong>PHPExcel_Style<\/strong>. \u0412 \u043c\u0435\u0442\u043e\u0434 <em>applyFromArray <\/em>\u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438:<br \/> \n<ul>\n<li><strong>fill<\/strong> \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0437\u0430\u043b\u0438\u0432\u043a\u0438;<\/li>\n<li><strong>font<\/strong> \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0448\u0440\u0438\u0444\u0442\u0430;<\/li>\n<li><strong>borders<\/strong> \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0440\u0430\u043c\u043a\u0438;<\/li>\n<li><strong>alignment<\/strong> \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u044f;<\/li>\n<li><strong>numberformat<\/strong> \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u044f\u0447\u0435\u0439\u043a\u0438;<\/li>\n<li><strong>protection<\/strong> \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0437\u0430\u0449\u0438\u0442\u044b \u044f\u0447\u0435\u0439\u043a\u0438.<\/li>\n<\/ul>\n<p>  <\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>PHPExcel_Style <\/strong>\u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0441\u0442\u0438\u043b\u0435\u0439 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0435 \u0448\u0440\u0438\u0444\u0442 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a: $sheet-&gt;getStyle(&#8216;A1&#8217;)-&gt;getFont()-&gt;setName(&#8216;Arial&#8217;) .<\/li>\n<\/ul>\n<h3>\u0417\u0430\u043b\u0438\u0432\u043a\u0430<\/h3>\n<p>  \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <strong>fill<\/strong> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438:<\/p>\n<ul>\n<li><strong>type<\/strong> \u2014 \u0442\u0438\u043f \u0437\u0430\u043b\u0438\u0432\u043a\u0438;<\/li>\n<li><strong>rotation<\/strong> \u2014 \u0443\u0433\u043e\u043b \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u0430;<\/li>\n<li><strong>startcolor<\/strong> \u2014 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 RGB;<\/li>\n<li><strong>endcolor<\/strong> \u2014 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 ARGB;<\/li>\n<li><strong>color<\/strong> \u2014 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 RGB.<\/li>\n<\/ul>\n<p>  <strong>\u0421\u0442\u0438\u043b\u0438 \u0437\u0430\u043b\u0438\u0432\u043a\u0438<\/strong><\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td>FILL_NONE<\/td>\n<td>none<\/td>\n<\/tr>\n<tr>\n<td>FILL_SOLID<\/td>\n<td>solid<\/td>\n<\/tr>\n<tr>\n<td>FILL_GRADIENT_LINEAR<\/td>\n<td>linear<\/td>\n<\/tr>\n<tr>\n<td>FILL_GRADIENT_PATH<\/td>\n<td>path<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_DARKDOWN<\/td>\n<td>darkDown<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_DARKGRAY<\/td>\n<td>darkGray<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_DARKGRID<\/td>\n<td>darkGrid<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_DARKHORIZONTAL<\/td>\n<td>darkHorizontal<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_DARKTRELLIS<\/td>\n<td>darkTrellis<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_DARKUP<\/td>\n<td>darkUp<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_DARKVERTICAL<\/td>\n<td>darkVertical<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_GRAY0625<\/td>\n<td>gray0625<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_GRAY125<\/td>\n<td>gray125<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_LIGHTDOWN<\/td>\n<td>lightDown<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_LIGHTGRAY<\/td>\n<td>lightGray<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_LIGHTGRID<\/td>\n<td>lightGrid<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_LIGHTHORIZONTAL<\/td>\n<td>lightHorizontal<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_LIGHTTRELLIS<\/td>\n<td>lightTrellis<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_LIGHTUP<\/td>\n<td>lightUp<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_LIGHTVERTICAL<\/td>\n<td>lightVertical<\/td>\n<\/tr>\n<tr>\n<td>FILL_PATTERN_MEDIUMGRAY<\/td>\n<td>mediumGray<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <strong>\u041f\u0440\u0438\u043c\u0435\u0440 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0434\u043b\u044f \u0437\u0430\u043b\u0438\u0432\u043a\u0438:<\/strong><\/p>\n<pre><code class=\"php\">array( \t'type'       =&gt; PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR, \t'rotation'   =&gt; 0, \t'startcolor' =&gt; array( \t\t'rgb' =&gt; '000000' \t), \t'endcolor'   =&gt; array( \t\t'argb' =&gt; 'FFFFFFFF' \t), \t'color'   =&gt; array( \t\t'rgb' =&gt; '000000' \t) );<\/code><\/pre>\n<p>  \u0418\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b:<br \/>  $PHPExcel_Style-&gt;getFill()-&gt;setFillType(PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR);<br \/>  $PHPExcel_Style-&gt;getFill()-&gt;setRotation(0);<br \/>  $PHPExcel_Style-&gt;getFill()-&gt;getStartColor()-&gt;applyFromArray(array(&#8216;rgb&#8217; =&gt; &#8216;C2FABD&#8217;));<br \/>  $PHPExcel_Style-&gt;getFill()-&gt;getEndColor()-&gt;applyFromArray(array(&#8216;argb&#8217; =&gt; &#8216;FFFFFFFF&#8217;)).<\/p>\n<h3>\u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439<\/h3>\n<p>  \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0440\u0435\u0434\u043a\u043e, \u043d\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0443 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u0442\u0447\u0435\u0442. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u043e\u0433\u043e\u0442\u0438\u043f, \u0441\u0445\u0435\u043c\u0430 \u0438 \u0442.\u0434. \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b:  <\/p>\n<ul>\n<li><strong>setPath<\/strong>($pValue = &apos;&apos;, $pVerifyFile = true) \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0438 \u0432\u0442\u043e\u0440\u043e\u0439 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b: \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u0441 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c. \u0412\u0442\u043e\u0440\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 (\u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043e\u0434\u043d\u043e \u0438\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 true \u0438\u043b\u0438 false).<\/li>\n<li><strong>setCoordinates<\/strong>($pValue = &#8216;A1&#8217;) \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 \u0432\u0445\u043e\u0434 \u043e\u0434\u0438\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u043e\u0439 \u044f\u0447\u0435\u0439\u043a\u0438.<\/li>\n<li><strong>setOffsetX<\/strong>($pValue = 0) \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u043e X \u043e\u0442 \u043b\u0435\u0432\u043e\u0433\u043e \u043a\u0440\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0438.<\/li>\n<li><strong>setOffsetY<\/strong>() \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u043e Y \u043e\u0442 \u0432\u0435\u0440\u0445\u043d\u0435\u0433\u043e \u043a\u0440\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0438.<\/li>\n<li><strong>setWorksheet<\/strong>(PHPExcel_Worksheet $pValue = null, $pOverrideOld = false) \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 \u0432\u0445\u043e\u0434 \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430. \u041f\u0435\u0440\u0432\u044b\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043d\u0435\u0442. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043b\u0438\u0441\u0442\u0430. \u0415\u0441\u043b\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c true, \u0442\u043e \u0435\u0441\u043b\u0438 \u043b\u0438\u0441\u0442 \u0443\u0436\u0435 \u0431\u044b\u043b \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0440\u0430\u043d\u0435\u0435 \u2013 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044c \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u0441\u044f.<\/li>\n<\/ul>\n<p>  \u041a\u043e\u0434 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u043d\u0438\u0436\u0435:  <\/p>\n<pre><code class=\"php\">... \t $sheet-&gt;getColumnDimension('B')-&gt;setWidth(40);  $imagePath = dirname ( __FILE__ ) . '\/excel.png'; \t\t \t\t if (file_exists($imagePath)) { \t$logo = new PHPExcel_Worksheet_Drawing(); \t$logo-&gt;setPath($imagePath); \t$logo-&gt;setCoordinates(&quot;B2&quot;);\t\t\t\t \t$logo-&gt;setOffsetX(0); \t$logo-&gt;setOffsetY(0);\t \t$sheet-&gt;getRowDimension(2)-&gt;setRowHeight(190); \t$logo-&gt;setWorksheet($sheet); }   ... <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u0442\u0447\u0435\u0442 \u0441\u043e \u0432\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c:  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\"  src=\"\/\/habrastorage.org\/files\/02f\/35c\/6a8\/02f35c6a85f04dd2b93de5972f2aceb8.jpg\"\/><\/div>\n<h3>\u0428\u0440\u0438\u0444\u0442<\/h3>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <strong>font<\/strong> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<ul>\n<li><strong>name<\/strong> \u2014 \u0438\u043c\u044f \u0448\u0440\u0438\u0444\u0442\u0430;<\/li>\n<li><strong>size<\/strong> \u2014 \u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430;<\/li>\n<li><strong>bold<\/strong> \u2014 \u0432\u044b\u0434\u0435\u043b\u044f\u0442\u044c \u0436\u0438\u0440\u043d\u044b\u043c;<\/li>\n<li><strong>italic<\/strong> \u2014 \u0432\u044b\u0434\u0435\u043b\u044f\u0442\u044c \u043a\u0443\u0440\u0441\u0438\u0432\u043e\u043c;<\/li>\n<li><strong>underline<\/strong> \u2014 \u0441\u0442\u0438\u043b\u044c \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u044f;<\/li>\n<li><strong>strike<\/strong> \u2014 \u043f\u0435\u0440\u0435\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044c;<\/li>\n<li><strong>superScript<\/strong> \u2014 \u043d\u0430\u0434\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u0437\u043d\u0430\u043a;<\/li>\n<li><strong>subScript<\/strong> \u2014 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u0437\u043d\u0430\u043a;<\/li>\n<li><strong>color<\/strong> \u2014 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0446\u0432\u0435\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 RGB.<\/li>\n<\/ul>\n<p>  <strong>\u0421\u0442\u0438\u043b\u0438 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u044f<\/strong><\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td>UNDERLINE_NONE<\/td>\n<td>\u043d\u0435\u0442<\/td>\n<\/tr>\n<tr>\n<td>UNDERLINE_DOUBLE<\/td>\n<td>\u0434\u0432\u043e\u0439\u043d\u043e\u0435 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>UNDERLINE_SINGLE<\/td>\n<td>\u043e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u0435 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <strong>\u041f\u0440\u0438\u043c\u0435\u0440 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0434\u043b\u044f \u0448\u0440\u0438\u0444\u0442\u0430:<\/strong><\/p>\n<pre><code class=\"php\">array( \t'name'      \t=&gt; 'Arial', \t'size'     \t=&gt; 12, \t'bold'      \t=&gt; true, \t'italic'    \t=&gt; false, \t'underline' \t=&gt; PHPExcel_Style_Font::UNDERLINE_DOUBLE, \t'strike'    \t=&gt; false, \t'superScript' \t=&gt; false, \t'subScript' \t=&gt; false, \t'color'     \t=&gt; array( \t\t'rgb' =&gt; '808080' \t) );<\/code><\/pre>\n<p>  \u0418\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438:<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;setName(\u2018Arial\u2019);<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;setBold(true);<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;setItalic(false);<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;setSuperScript(false);<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;setSubScript(false);<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLE);<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;setStrikethrough(false);<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;getColor()-&gt;applyFromArray(array(&#8216;rgb&#8217; =&gt; &#8216;808080&#8217;));<br \/>  $PHPExcel_Style-&gt;getFont()-&gt;setSize(12).<\/p>\n<h3>\u0420\u0430\u043c\u043a\u0430<\/h3>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <strong>borders<\/strong> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<ul>\n<li><strong>\u0432\u0438\u0434 \u0440\u0430\u043c\u043a\u0438 (top|bootom|left|right|diagonal|diagonaldirection) <\/strong> \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432:<br \/> \n<ul>\n<li><strong>style<\/strong> \u2014 \u0441\u0442\u0438\u043b\u044c \u0440\u0430\u043c\u043a\u0438;<\/li>\n<li><strong>color<\/strong> \u2014 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0446\u0432\u0435\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 RGB.<\/li>\n<\/ul>\n<p>  <\/li>\n<\/ul>\n<p>  <strong>\u0421\u0442\u0438\u043b\u0438 \u043b\u0438\u043d\u0438\u0439<\/strong><\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td>BORDER_NONE<\/td>\n<td>\u043d\u0435\u0442<\/td>\n<\/tr>\n<tr>\n<td>BORDER_DASHDOT<\/td>\n<td>\u043f\u0443\u043d\u043a\u0442\u0438\u0440\u043d\u0430\u044f \u0441 \u0442\u043e\u0447\u043a\u043e\u0439<\/td>\n<\/tr>\n<tr>\n<td>BORDER_DASHDOTDOT<\/td>\n<td>\u043f\u0443\u043d\u043a\u0442\u0438\u0440\u043d\u0430\u044f \u0441 \u0434\u0432\u0443\u043c\u044f \u0442\u043e\u0447\u043a\u0430\u043c\u0438<\/td>\n<\/tr>\n<tr>\n<td>BORDER_DASHED<\/td>\n<td>\u043f\u0443\u043d\u043a\u0442\u0438\u0440\u043d\u0430\u044f<\/td>\n<\/tr>\n<tr>\n<td>BORDER_DOTTED<\/td>\n<td>\u0442\u043e\u0447\u0435\u0447\u043d\u0430\u044f<\/td>\n<\/tr>\n<tr>\n<td>BORDER_DOUBLE<\/td>\n<td>\u0434\u0432\u043e\u0439\u043d\u0430\u044f<\/td>\n<\/tr>\n<tr>\n<td>BORDER_HAIR<\/td>\n<td>\u0432\u043e\u043b\u043e\u0441\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td>BORDER_MEDIUM<\/td>\n<td>\u0441\u0440\u0435\u0434\u043d\u044f\u044f<\/td>\n<\/tr>\n<tr>\n<td>BORDER_MEDIUMDASHDOT<\/td>\n<td>\u043f\u0443\u043d\u043a\u0442\u0438\u0440\u043d\u0430\u044f \u0441 \u0442\u043e\u0447\u043a\u043e\u0439<\/td>\n<\/tr>\n<tr>\n<td>BORDER_MEDIUMDASHDOTDOT<\/td>\n<td>\u0443\u0442\u043e\u043b\u0449\u0435\u043d\u043d\u0430\u044f \u043f\u0443\u043d\u043a\u0442\u0438\u0440\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f \u0441 \u0434\u0432\u0443\u043c\u044f \u0442\u043e\u0447\u043a\u0430\u043c\u0438<\/td>\n<\/tr>\n<tr>\n<td>BORDER_MEDIUMDASHED<\/td>\n<td>\u0443\u0442\u043e\u043b\u0449\u0435\u043d\u043d\u0430\u044f \u043f\u0443\u043d\u043a\u0442\u0438\u0440\u043d\u0430\u044f<\/td>\n<\/tr>\n<tr>\n<td>BORDER_SLANTDASHDOT<\/td>\n<td>\u043d\u0430\u043a\u043b\u043e\u043d\u043d\u0430\u044f \u043f\u0443\u043d\u043a\u0442\u0438\u0440\u043d\u0430\u044f \u0441 \u0442\u043e\u0447\u043a\u043e\u0439<\/td>\n<\/tr>\n<tr>\n<td>BORDER_THICK<\/td>\n<td>\u0443\u0442\u043e\u043b\u0449\u0435\u043d\u043d\u0430\u044f<\/td>\n<\/tr>\n<tr>\n<td>BORDER_THIN<\/td>\n<td>\u0442\u043e\u043d\u043a\u0430\u044f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <strong>\u041f\u0440\u0438\u043c\u0435\u0440 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0434\u043b\u044f \u0440\u0430\u043c\u043a\u0438:<\/strong><\/p>\n<pre><code class=\"php\">array( \t'bottom'     =&gt; array( \t\t'style' =&gt; PHPExcel_Style_Border::BORDER_DASHDOT, \t\t'color' =&gt; array( \t\t'\trgb' =&gt; '808080' \t\t) \t), \t'top'     =&gt; array( \t\t'style' =&gt; PHPExcel_Style_Border::BORDER_DASHDOT, \t\t'color' =&gt; array( \t\t\t'rgb' =&gt; '808080' \t\t) \t) );<\/code><\/pre>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0431\u0435\u0433\u043d\u0443\u0442\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432:<br \/>  $PHPExcel_Style-&gt;getBorders()-&gt;getLeft()-&gt;applyFromArray(array(\u2018style\u2019 =&gt;PHPExcel_Style_Border::BORDER_DASHDOT,\u2019color\u2019 =&gt; array(\u2018rgb\u2019 =&gt; \u2019808080&#8242;)));<br \/>  $PHPExcel_Style-&gt;getBorders()-&gt;getRight()-&gt;applyFromArray(array(\u2018style\u2019 =&gt;PHPExcel_Style_Border::BORDER_DASHDOT,\u2019color\u2019 =&gt; array(\u2018rgb\u2019 =&gt; \u2019808080&#8242;)));<br \/>  $PHPExcel_Style-&gt;getBorders()-&gt;getTop()-&gt;applyFromArray(array(\u2018style\u2019 =&gt;PHPExcel_Style_Border::BORDER_DASHDOT,\u2019color\u2019 =&gt; array(\u2018rgb\u2019 =&gt; \u2019808080&#8242;)));<br \/>  $PHPExcel_Style-&gt;getBorders()-&gt;getBottom()-&gt;applyFromArray(array(\u2018style\u2019 =&gt;PHPExcel_Style_Border::BORDER_DASHDOT,\u2019color\u2019 =&gt; array(\u2018rgb\u2019 =&gt; \u2019808080&#8242;)));<br \/>  $PHPExcel_Style-&gt;getBorders()-&gt;getDiagonal()-&gt;applyFromArray(array(\u2018style\u2019 =&gt; PHPExcel_Style_Border::BORDER_DASHDOT,\u2019color\u2019 =&gt; array(\u2018rgb\u2019 =&gt; \u2019808080&#8242;)));<br \/>  $PHPExcel_Style-&gt;getBorders()-&gt;setDiagonalDirection(array(\u2018style\u2019 =&gt;PHPExcel_Style_Border::BORDER_DASHDOT,\u2019color\u2019 =&gt; array(\u2018rgb\u2019 =&gt; \u2019808080&#8242;))).<\/p>\n<h3>\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435<\/h3>\n<p>  \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <strong>alignment<\/strong> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 \u0432\u0445\u043e\u0434 \u0447\u0435\u0442\u044b\u0440\u0435 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430:<\/p>\n<ul>\n<li><strong>horizontal<\/strong> \u2014 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u044f;<\/li>\n<li><strong>vertical<\/strong> \u2014 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u044f;<\/li>\n<li><strong>rotation<\/strong> \u2014 \u0443\u0433\u043e\u043b \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u0430 \u0442\u0435\u043a\u0441\u0442\u0430;<\/li>\n<li><strong>wrap<\/strong> \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0442\u0435\u043a\u0441\u0442\u0430;<\/li>\n<li><strong>shrinkToFit<\/strong> \u2014 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043b\u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430 \u043f\u0440\u0438 \u0432\u044b\u0445\u043e\u0434\u0435 \u0442\u0435\u043a\u0441\u0442\u0430 \u0437\u0430 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0438;<\/li>\n<li><strong>indent<\/strong> \u2014 \u043e\u0442\u0441\u0442\u0443\u043f \u043e\u0442 \u043b\u0435\u0432\u043e\u0433\u043e \u043a\u0440\u0430\u044f.<\/li>\n<\/ul>\n<p>  <strong>\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438<\/strong><\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td>HORIZONTAL_GENERAL<\/td>\n<td>\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435<\/td>\n<\/tr>\n<tr>\n<td>HORIZONTAL_LEFT<\/td>\n<td>\u043f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e<\/td>\n<\/tr>\n<tr>\n<td>HORIZONTAL_RIGHT<\/td>\n<td>\u043f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e<\/td>\n<\/tr>\n<tr>\n<td>HORIZONTAL_CENTER<\/td>\n<td>\u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443<\/td>\n<\/tr>\n<tr>\n<td>HORIZONTAL_CENTER_CONTINUOUS<\/td>\n<td>\u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td>HORIZONTAL_JUSTIFY<\/td>\n<td>\u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <strong>\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438<\/strong><\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td width=\"300\">VERTICAL_BOTTOM<\/td>\n<td width=\"161\">\u043f\u043e \u043d\u0438\u0436\u043d\u0435\u043c\u0443 \u043a\u0440\u0430\u044e<\/td>\n<\/tr>\n<tr>\n<td width=\"300\">VERTICAL_TOP<\/td>\n<td width=\"161\">\u043f\u043e \u0432\u0435\u0440\u0445\u043d\u0435\u043c\u0443 \u043a\u0440\u0430\u044e<\/td>\n<\/tr>\n<tr>\n<td width=\"300\">VERTICAL_CENTER<\/td>\n<td width=\"161\">\u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443<\/td>\n<\/tr>\n<tr>\n<td width=\"300\">VERTICAL_JUSTIFY<\/td>\n<td width=\"161\">\u043f\u043e \u0432\u044b\u0441\u043e\u0442\u0435<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <strong>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0442\u0438\u043b\u0435\u0439 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u044f:<\/strong><\/p>\n<pre><code class=\"php\">array( \t'horizontal' \t=&gt; PHPExcel_Style_Alignment::HORIZONTAL_CENTER, \t'vertical'   \t=&gt; PHPExcel_Style_Alignment::VERTICAL_CENTER, \t'rotation'   \t=&gt; 0, \t'wrap'       \t=&gt; true, \t'shrinkToFit'\t=&gt; false, \t'indent'\t=&gt; 5 )<\/code><\/pre>\n<p>  \u0410 \u043c\u043e\u0436\u043d\u043e \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b:<br \/>  $PHPExcel_Style-&gt;getAlignment()-&gt;setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);<br \/>  $PHPExcel_Style-&gt;getAlignment()-&gt;setVertical(PHPExcel_Style_Alignment::VERTICAL_JUSTIFY);<br \/>  $PHPExcel_Style-&gt;getAlignment()-&gt;setTextRotation(10);<br \/>  $PHPExcel_Style-&gt;getAlignment()-&gt;setWrapText(true);<br \/>  $PHPExcel_Style-&gt;getAlignment()-&gt;setShrinkToFit(false);<br \/>  $PHPExcel_Style-&gt;getAlignment()-&gt;setIndent(5).<\/p>\n<h3>\u0424\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>  \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong>numberformat<\/strong> \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440: <strong>code<\/strong> \u2014 \u0444\u043e\u0440\u043c\u0430\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u044f\u0447\u0435\u0439\u043a\u0438.<br \/>  <strong> \u0421\u043f\u0438\u0441\u043e\u043a \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432<\/strong><\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td>FORMAT_GENERAL<\/td>\n<td>General<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_TEXT<\/td>\n<td>@<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_NUMBER<\/td>\n<td>0<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_NUMBER_00<\/td>\n<td>0.00<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_NUMBER_COMMA_SEPARATED1<\/td>\n<td>#,##0.00<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_NUMBER_COMMA_SEPARATED2<\/td>\n<td>#,##0.00_-<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_PERCENTAGE<\/td>\n<td>0%<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_PERCENTAGE_00<\/td>\n<td>0.00%<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_YYYYMMDD2<\/td>\n<td>yyyy-mm-dd<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_YYYYMMDD<\/td>\n<td>yy-mm-dd<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_DDMMYYYY<\/td>\n<td>dd\/mm\/yy<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_DMYSLASH<\/td>\n<td>d\/m\/y<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_DMYMINUS<\/td>\n<td>d-m-y<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_DMMINUS<\/td>\n<td>d-m<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_MYMINUS<\/td>\n<td>m-y<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_XLSX14<\/td>\n<td>mm-dd-yy<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_XLSX15<\/td>\n<td>d-mmm-yy<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_XLSX16<\/td>\n<td>d-mmm<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_XLSX17<\/td>\n<td>mmm-yy<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_XLSX22<\/td>\n<td>m\/d\/yy h:mm<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_DATETIME<\/td>\n<td>d\/m\/y h:mm<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_TIME1<\/td>\n<td>h:mm AM\/PM<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_TIME2<\/td>\n<td>h:mm:ss AM\/PM<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_TIME3<\/td>\n<td>h:mm<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_TIME4<\/td>\n<td>h:mm:ss<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_TIME5<\/td>\n<td>mm:ss<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_TIME6<\/td>\n<td>h:mm:ss<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_TIME7<\/td>\n<td>i:s.S<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_TIME8<\/td>\n<td>h:mm:ss<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_DATE_YYYYMMDDSLASH<\/td>\n<td>yy\/mm\/dd; @<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_CURRENCY_USD_SIMPLE<\/td>\n<td>&quot;$&quot;#,##0.00_-;@<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_CURRENCY_USD<\/td>\n<td>$#,##0_-<\/td>\n<\/tr>\n<tr>\n<td>FORMAT_CURRENCY_EUR_SIMPLE<\/td>\n<td>[$EUR ]#,##0.00_-<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <strong>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u044f\u0447\u0435\u0439\u043a\u0438:<\/strong><\/p>\n<pre><code class=\"php\">array( \t'code' =&gt; PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE );<\/code><\/pre>\n<p>  \u0410 \u043c\u043e\u0436\u043d\u043e \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u043c:<br \/>  $PHPExcel_Style-&gt;getNumberFormat()-&gt;setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE);<\/p>\n<h3>\u0417\u0430\u0449\u0438\u0442\u0430 \u044f\u0447\u0435\u0435\u043a<\/h3>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <strong>protection<\/strong> \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0432\u0430 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430:<\/p>\n<ul>\n<li><strong>locked<\/strong> \u2014 \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0443;<\/li>\n<li><strong>hidden<\/strong> \u2014 \u0441\u043a\u0440\u044b\u0442\u044c \u0444\u043e\u0440\u043c\u0443\u043b\u044b.<\/li>\n<\/ul>\n<p>  <strong>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0434\u043b\u044f \u0437\u0430\u0449\u0438\u0442\u044b \u044f\u0447\u0435\u0439\u043a\u0438:<\/strong><\/p>\n<pre><code class=\"php\">array( \t'locked' =&gt; true, \t'hidden' =&gt; false );<\/code><\/pre>\n<p>  \u0418\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b:<br \/>  $PHPExcel_Style-&gt;getProtection()-&gt;setLocked(true);<br \/>  $PHPExcel_Style-&gt;getProtection()-&gt;setHidden(false);<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a\u0438\u0435 \u0435\u0441\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0442\u0438\u043b\u0435\u0439 \u0438 \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0442\u0438\u043b\u044f. \u0421\u0435\u0439\u0447\u0430\u0441 \u043c\u044b \u043a \u044f\u0447\u0435\u0439\u043a\u0430\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u0441\u0442\u0438\u043b\u044c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f, \u043d\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e \u0434\u0432\u0443\u043c\u044f \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438. \u041f\u0435\u0440\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0434\u0438\u043c \u0432 \u043c\u0435\u0442\u043e\u0434 <em>applyFromArray<\/em>, \u043a\u043b\u0430\u0441\u0441\u0430 <strong>PHPExcel_Style<\/strong>.<\/p>\n<pre><code class=\"php\">$style = array( \t'font' =&gt; array( \t\t'name' =&gt; 'Arial', \t), \t'fill' =&gt; array( \t\t'type' =&gt; PHPExcel_Style_Fill::FILL_SOLID, \t\t'color' =&gt; array ( \t\t\t\t'rgb' =&gt; 'C2FABD' \t\t) \t), \t'alignment' =&gt; array ( \t\t\t'horizontal' =&gt; PHPExcel_Style_Alignment::HORIZONTAL_CENTER \t) ); <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u043d\u0430\u043c\u0438 \u0441\u0442\u0438\u043b\u044c \u043a \u044f\u0447\u0435\u0439\u043a\u0430\u043c excel.<\/p>\n<pre><code class=\"php\">$sheet-&gt;getStyleByColumnAndRow($i - 2, $j)-&gt;applyFromArray($style);<\/code><\/pre>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u0442\u043e\u0442 \u0436\u0435 \u0441\u0442\u0438\u043b\u044c, \u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u0440\u0443\u0433\u0443\u044e \u043c\u0435\u0442\u043e\u0434\u0438\u043a\u0443.<\/p>\n<pre><code class=\"php\">\/\/\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 $sheet-&gt;getStyleByColumnAndRow($i - 2, $j)-&gt;getAlignment()-&gt;setHorizontal(     PHPExcel_Style_Alignment::HORIZONTAL_CENTER); \/\/ \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0448\u0440\u0438\u0444\u0442 $sheet-&gt;getStyleByColumnAndRow($i - 2, $j)-&gt;getFont()-&gt;setName('Arial'); \/\/ \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0437\u0430\u043b\u0438\u0432\u043a\u0443 $sheet-&gt;getStyleByColumnAndRow($i - 2, $j)-&gt;getFill()-&gt;     setFillType(PHPExcel_Style_Fill::FILL_SOLID); $sheet-&gt;getStyleByColumnAndRow($i - 2, $j)-&gt;getFill()-&gt;     getStartColor()-&gt;applyFromArray(array('rgb' =&gt; 'C2FABD')); <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\"  src=\"\/\/habrastorage.org\/files\/ad7\/fb5\/44b\/ad7fb544bbb34b0ab8c311832267b57a.jpg\"\/><\/div>\n<p>  \u0415\u0441\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0442\u0438\u043b\u044c \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u043e, \u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434, \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u0436\u0435 \u0441\u043b\u0443\u0447\u0430\u0435, \u043b\u0443\u0447\u0448\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c. \u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (\u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>PHPExcel_Style<\/strong>) \u044f\u0447\u0435\u0439\u043a\u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0435\u0433\u043e \u0437\u0430 \u0441\u0442\u0438\u043b\u044c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432:<\/p>\n<ul>\n<li>getStyleByColumnAndRow(pColumn, pRow) \u2013 \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u044f\u0447\u0435\u0439\u043a\u0435 \u043f\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0443;<\/li>\n<li>getStyle(pCellCoordinate) \u2013 \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0435 \u044f\u0447\u0435\u0439\u043a\u0438.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2>\u0427\u0442\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 Excel<\/h2>\n<p>  \u0424\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442\u044b \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043a \u043d\u0438\u043c \u0441\u0442\u0438\u043b\u0438 \u044d\u0442\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u043e. \u041d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 PHPExcel \u043d\u0435 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f. \u041d\u0443 \u0447\u0442\u043e \u0436\u0435, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0447\u0442\u043e \u043e\u043d\u0430 \u0435\u0449\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430. \u0410 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 \u043e\u043d\u0430 \u0435\u0449\u0435 \u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 *.xls \/ *.xlsx.<br \/>  <strong>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 PHPExcel \u043c\u043e\u0436\u043d\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b:<\/strong><\/p>\n<ul>\n<li>Excel 2007;<\/li>\n<li>Excel 97 \u0438 \u043f\u043e\u0437\u0434\u043d\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438;<\/li>\n<li>PHPExcel Serialized Spreadshet;<\/li>\n<li>HTML;<\/li>\n<li>PDF;<\/li>\n<li>CSV.<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0434\u0432\u0443\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432:<\/p>\n<ul>\n<li><strong>PHPExcel_Worksheet_RowIterator<\/strong> \u2013 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u0441\u0442\u0440\u043e\u043a;<\/li>\n<li><strong>PHPExcel_Worksheet_CellIterator<\/strong> \u2013 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u044f\u0447\u0435\u0435\u043a.<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u044b\u0432\u0435\u0434\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e\u0431 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044f\u0445.  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\"  src=\"\/\/habrastorage.org\/files\/23c\/50a\/ca3\/23c50aca383444da87233c293abc080b.jpg\"\/><\/div>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0447\u0442\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0438\u0436\u0435:<\/p>\n<pre><code class=\"php\">require_once ('PHPExcel\/IOFactory.php');  \/\/ \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b $xls = PHPExcel_IOFactory::load('xls.xls'); \/\/ \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438\u043d\u0434\u0435\u043a\u0441 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043b\u0438\u0441\u0442\u0430 $xls-&gt;setActiveSheetIndex(0); \/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043b\u0438\u0441\u0442 $sheet = $xls-&gt;getActiveSheet(); <\/code><\/pre>\n<p>  <strong>\u041f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442<\/strong>  <\/p>\n<pre><code class=\"php\">...  echo &quot;&lt;table&gt;&quot;;  \/\/ \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u043e\u0431\u043e\u0439\u0434\u0435\u043c \u0438\u0445 \u0432 \u0446\u0438\u043a\u043b\u0435 $rowIterator = $sheet-&gt;getRowIterator(); foreach ($rowIterator as $row) { \t\/\/ \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u044f\u0447\u0435\u0439\u043a\u0438 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u043e\u0431\u043e\u0439\u0434\u0435\u043c \u0438\u0445 \u0432 \u0446\u0438\u043a\u043b\u0435 \t$cellIterator = $row-&gt;getCellIterator();  \techo &quot;&lt;tr&gt;&quot;; \t\t \tforeach ($cellIterator as $cell) { \t\techo &quot;&lt;td&gt;&quot; . $cell-&gt;getCalculatedValue() . &quot;&lt;\/td&gt;&quot;; \t} \t \techo &quot;&lt;\/tr&gt;&quot;; } echo &quot;&lt;\/table&gt;&quot;; <\/code><\/pre>\n<p>  <strong>\u0412\u0442\u043e\u0440\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<pre><code class=\"php\">...  echo &quot;&lt;table&gt;&quot;;  for ($i = 0; $i &lt; $sheet-&gt;getHighestRow(); $i++) {       echo &quot;&lt;tr&gt;&quot;; \t \t$nColumn = PHPExcel_Cell::columnIndexFromString( \t\t$sheet-&gt;getHighestColumn()); \t \tfor ($j = 0; $j &lt;= $nColumn; $j++) { \t\t$value = $sheet-&gt;getCellByColumnAndRow($j, $i)-&gt;getValue(); \t\techo &quot;&lt;td&gt;$value&lt;\/td&gt;&quot;; \t}           echo &quot;&lt;\/tr&gt;&quot;; } echo &quot;&lt;\/table&gt;&quot;; <\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\"  src=\"\/\/habrastorage.org\/files\/b7c\/2ef\/763\/b7c2ef763328407da002d5854a6329fc.jpg\"\/><\/div>\n<p>  \u0412 \u043f\u0435\u0440\u0432\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u043c\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0447\u0442\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0438\u0437 \u044f\u0447\u0435\u0435\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u044b. \u0410 \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c, \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0438\u043d\u0434\u0435\u043a\u0441\u043d\u0443\u044e \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u044e \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u044f\u0447\u0435\u0435\u043a \u043b\u0438\u0441\u0442\u0430. \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0442\u0440\u043e\u043a \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>PHPExcel_Worksheet<\/strong>:<\/p>\n<ul>\n<li><strong>getHighestColumn()<\/strong> \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0437\u0430\u043d\u044f\u0442\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u043b\u0438\u0441\u0442\u0435. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435: \u043d\u0435 \u0438\u043d\u0434\u0435\u043a\u0441 \u0441\u0442\u043e\u043b\u0431\u0446\u0430, \u0430 \u0435\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 (A, F \u0438 \u0442.\u0434.);<\/li>\n<li><strong>getHighestRow()<\/strong> \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043d\u044f\u0442\u044b\u0445 \u0441\u0442\u0440\u043e\u043a \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u043b\u0438\u0441\u0442\u0435.<\/li>\n<\/ul>\n<p>  \u0410 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u043c \u043d\u0435 \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0435\u0437 \u043f\u043e\u043c\u043e\u0449\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 <em>columnIndexFromString<\/em>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>PHPExcel_Cell<\/strong>. \u0414\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u043f\u043e \u0435\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044e.<br \/>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439, \u043c\u043e\u0436\u043d\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u043e\u0442\u0447\u0435\u0442\u044b \u0432 \u0432\u0438\u0434\u0435 \u0444\u0430\u0439\u043b\u043e\u0432, \u0444\u043e\u0440\u043c\u0430\u0442\u0430 excel. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0431\u044b\u043b\u0438 \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0441\u0442\u0438\u043b\u044f\u043c\u0438.      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/245233\/\"> http:\/\/habrahabr.ru\/post\/245233\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u041d\u0435 \u0440\u0435\u0434\u043a\u043e \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043d\u0435\u043a\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043e\u0442\u0447\u0435\u0442\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 <strong>Delphi<\/strong>, <strong>C#<\/strong> \u0438\u043b\u0438 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043d\u0430 <strong>\u0421++<\/strong> \u0438 \u043f\u043e\u0434 <strong>Windows<\/strong>, \u0442\u043e \u0442\u0443\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u0442. \u0412\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f <a title=\"Component Object Model\" href=\"http:\/\/ru.wikipedia.org\/wiki\/Component_Object_Model\">COM<\/a> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c. \u041d\u043e \u0434\u0435\u043b\u0430 \u043e\u0431\u0441\u0442\u043e\u044f\u0442 \u0438\u043d\u0430\u0447\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 excel \u043d\u0430 <strong>PHP<\/strong>. \u0418 \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u043d\u0430 <strong>UNIX<\/strong>-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445. \u041d\u043e, \u043a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043d\u0435 \u0442\u0430\u043a \u0432\u0441\u0435 \u043f\u043b\u043e\u0445\u043e. \u0418 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0445\u0432\u0430\u0442\u0430\u0435\u0442. \u042f \u0441\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u043d\u0430 <strong>PHPExcel<\/strong>. \u042f \u0443\u0436\u0435 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0441 \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439, \u0438 \u043e\u0441\u0442\u0430\u044e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u0435\u043d. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0439, \u0442\u043e \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c\u043e\u0441\u0442\u044c\u044e.<br \/>  PHPExcel \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0438\u043c\u043f\u043e\u0440\u0442 \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 excel. \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u043a \u043e\u0442\u0447\u0435\u0442\u0430\u043c. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0432\u0441\u0435 \u043d\u0430 \u0432\u044b\u0441\u043e\u0442\u0435. \u0414\u0430\u0436\u0435 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u043e\u0440\u043c\u0443\u043b\u0430\u043c\u0438 (\u0441\u0430\u043c \u044f \u043d\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b). \u0422\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u0432\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 (\u0447\u0442\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c) \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u0435\u0441\u0442\u0438\u0441\u044c \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 <em>utf-8<\/em>.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-245233","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/245233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=245233"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/245233\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=245233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=245233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=245233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}