{"id":6952,"date":"2016-04-28T17:26:44","date_gmt":"2016-04-28T08:26:44","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=6952"},"modified":"2017-10-06T14:03:30","modified_gmt":"2017-10-06T05:03:30","slug":"phpword%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6php%e3%81%8b%e3%82%89word%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e5%87%ba%e5%8a%9b%e3%81%97%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=6952","title":{"rendered":"PHPWord\u3092\u4f7f\u3063\u3066PHP\u304b\u3089Word\u30d5\u30a1\u30a4\u30eb\u3092\u51fa\u529b\u3057\u3066\u307f\u308b\u3002"},"content":{"rendered":"<p>\u6700\u8fd1<a href=\"\/\/www.ka-net.org\/blog\/?cat=134\" title=\"\u30aa\u30c8\u30ab\u30c9\u30fc\u30eb | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">\u30aa\u30c8\u30ab\u30c9\u30fc\u30eb<\/a>\u3084<a href=\"\/\/www.ka-net.org\/blog\/?cat=135\" title=\"\u307e\u307b\u3046\u306e\u30eb\u30df\u30c6\u30a3\u30a2 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">\u30eb\u30df\u30c6\u30a3\u30a2\u30b8\u30e5\u30a8\u30eb<\/a>\u3084\u3089\u306e\u8a18\u4e8b\u3070\u304b\u308a\u66f8\u3044\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306fOffice\u7cfbMVP\u3089\u3057\u304fWord\u30cd\u30bf\u3092\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u306e\u306f\u300c<a href=\"https:\/\/github.com\/PHPOffice\/PHPWord\" title=\"PHPWord\n\" target=\"_blank\">PHPWord<\/a>\u300d\u3002<br \/>\n\u6587\u5b57\u901a\u308a\u3001PHP\u304b\u3089Word\u30d5\u30a1\u30a4\u30eb\u3092\u51fa\u529b\u3059\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<\/p>\n<h4 class=\"style4a\">Composer\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u4e0a\u8a18GitHub\u306e\u30da\u30fc\u30b8\u306b\u3082\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u304c\u3001PHPWord\u306f<a href=\"https:\/\/getcomposer.org\/\" title=\"Composer\" target=\"_blank\">Composer<\/a>\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n(Composer\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5358\u4f4d\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u3067\u304d\u308b\u306e\u3067\u3001\u304a\u624b\u8efd\u3067\u4fbf\u5229\u3067\u3059\u3002)<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7c21\u5358\u3067\u3001Windows\u306e\u5834\u5408<a href=\"https:\/\/getcomposer.org\/download\/\" title=\"Composer\" target=\"_blank\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/a>\u304b\u3089\u300cComposer-Setup.exe\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<br \/>\n\u8a73\u3057\u3044\u624b\u9806\u306f<a href=\"https:\/\/codezine.jp\/article\/detail\/7827\" title=\"Composer\u3092\u4f7f\u3063\u3066PHP\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u7c21\u5358\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb (1\/3)\uff1aCodeZine\uff08\u30b3\u30fc\u30c9\u30b8\u30f3\uff09\" target=\"_blank\">\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5de6\u8a18\u30da\u30fc\u30b8\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_01.jpg\" alt=\"PHPWord_01\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-6953\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_01.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_01-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_02.jpg\" alt=\"PHPWord_02\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-6954\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_02.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_02-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_03.jpg\" alt=\"PHPWord_03\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-6955\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_03.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_03-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_04.jpg\" alt=\"PHPWord_04\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-6956\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_04.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_04-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_05.jpg\" alt=\"PHPWord_05\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-6957\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_05.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_05-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_06.jpg\" alt=\"PHPWord_06\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-6958\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_06.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_06-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<h4 class=\"style4a\">PHPWord\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>Composer\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u6b21\u306fPHPWord\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u3002<br \/>\n<strong>composer.json<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u3066\u300c<span style=\"color: #ff0000; font-weight: bold;\">composer install<\/span>\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u30fb\u30fb\u30fb<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">{\r\n    &quot;require&quot;: {\r\n       &quot;phpoffice\/phpword&quot;: &quot;v0.13.*&quot;\r\n    }\r\n}<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">Problem 1\r\n    - The requested package phpoffice\/phpword v0.13.* exists as phpoffice\/phpword&#x5B;0.10.0, 0.10.1, 0.11.0, 0.11.1, 0.12.0, 0.7.0, 0.8.0, 0.8.1, 0.9.0, 0.9.1, dev-develop, dev-master, v0.12.1] but these are rejected by your constraint.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_07.jpg\" alt=\"PHPWord_07\" width=\"535\" height=\"394\" class=\"alignnone size-full wp-image-6959\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_07.jpg 535w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_07-300x221.jpg 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/p>\n<p>GitHub\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u305f\u306e\u306b\u6012\u3089\u308c\u307e\u3057\u305f\u3002<br \/>\n\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">{\r\n    &quot;require&quot;: {\r\n       &quot;phpoffice\/phpword&quot;: &quot;v0.12.1&quot;\r\n    }\r\n}<\/pre>\n<p>\u4eca\u5ea6\u306f\u4e0a\u624b\u304f\u3044\u304d\u307e\u3057\u305f\u3002<br \/>\nvendor\u30d5\u30a9\u30eb\u30c0\u3082\u3061\u3083\u3093\u3068\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_08.jpg\" alt=\"PHPWord_08\" width=\"535\" height=\"394\" class=\"alignnone size-full wp-image-6960\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_08.jpg 535w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_08-300x221.jpg 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_09.jpg\" alt=\"PHPWord_09\" width=\"426\" height=\"319\" class=\"alignnone size-full wp-image-6961\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_09.jpg 426w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_09-300x225.jpg 300w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/p>\n<h4 class=\"style4a\">PHPWord\u306e\u547c\u3073\u51fa\u3057<\/h4>\n<p>PHPWord\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u305f\u306e\u3067\u3001\u3044\u3088\u3044\u3088PHP\u304b\u3089\u547c\u3073\u51fa\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;?php\r\n    require_once '.\/vendor\/autoload.php';\r\n    \r\n    $phpWord = new \\PhpOffice\\PhpWord\\PhpWord();\r\n    $section = $phpWord-&gt;addSection();\r\n    \r\n    $fontStyle = new \\PhpOffice\\PhpWord\\Style\\Font();\r\n    $fontStyle-&gt;setBold(true);\r\n    $fontStyle-&gt;setName('\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af');\r\n    $fontStyle-&gt;setSize(24);\r\n    $myTextElement = $section-&gt;addText('\u3053\u3093\u306b\u3061\u306f\u3001\u4e16\u754c\u3002');\r\n    $myTextElement-&gt;setFontStyle($fontStyle);\r\n    \r\n    \/\/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u7528\r\n    header(&quot;Content-Description: File Transfer&quot;);\r\n    header('Content-Disposition: attachment; filename=&quot;sample.docx&quot;');\r\n    header('Content-Type: application\/vnd.openxmlformats-officedocument.wordprocessingml.document');\r\n    header('Content-Transfer-Encoding: binary');\r\n    header('Cache-Control: must-revalidate, post-check=0, pre-check=0');\r\n    header('Expires: 0');\r\n    $xmlWriter = \\PhpOffice\\PhpWord\\IOFactory::createWriter($phpWord, 'Word2007');\r\n    ob_end_clean(); \/\/\u30d0\u30c3\u30d5\u30a1\u6d88\u53bb\r\n    $xmlWriter-&gt;save(&quot;php:\/\/output&quot;);<\/pre>\n<p>\u30fb\u30fb\u30fb\u304c\u3001\u307e\u3055\u304b\u306eFatal error\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">Fatal error: Cannot use PhpOffice\\PhpWord\\Shared\\String as String because 'String' is a special class name in C:\\xampp\\htdocs\\PHPWord\\vendor\\phpoffice\\phpword\\src\\PhpWord\\Style\\AbstractStyle.php on line 20<\/pre>\n<p><a href=\"http:\/\/qiita.com\/hnw\/items\/f815ce15f795620b5133\" title=\"PHP7\u8abf\u67fb(34)\u578b\u540d\u3068\u540c\u3058\u30af\u30e9\u30b9\u540d\u304c\u4f5c\u308c\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u305f - Qiita\" target=\"_blank\">PHP 7\u3060\u3068\u578b\u540d\u3068\u540c\u3058\u30af\u30e9\u30b9\u540d\u304c\u4f5c\u308c\u306a\u3044\u3088\u3046<\/a>\u3067\u3059\u3002\u306a\u308b\u307b\u3069\u3002<\/p>\n<p>\u306a\u3089\u3070\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u3001PHP 5.6\u3092\u4f7f\u3063\u3066\u307f\u308b\u3068\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_10.jpg\" alt=\"PHPWord_10\" width=\"685\" height=\"450\" class=\"alignnone size-full wp-image-6962\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_10.jpg 685w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_10-300x197.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_10-220x146.jpg 220w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_11.jpg\" alt=\"PHPWord_11\" width=\"625\" height=\"399\" class=\"alignnone size-full wp-image-6963\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_11.jpg 625w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_11-300x192.jpg 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/p>\n<p>\u4eca\u5ea6\u306f\u7121\u4e8b\u306b\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u3001Word\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n\u65e5\u672c\u8a9e\u3082\u554f\u984c\u306a\u304f\u8868\u793a\u3055\u308c\u3001\u30d5\u30a9\u30f3\u30c8\u3082\u6307\u5b9a\u3057\u305f\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_12.jpg\" alt=\"PHPWord_12\" width=\"577\" height=\"469\" class=\"alignnone size-full wp-image-6964\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_12.jpg 577w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_12-300x244.jpg 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u65b0\u898f\u4f5c\u6210\u3060\u3051\u3067\u306a\u304f\u3001\u4e0b\u56f3\u306e\u3088\u3046\u306b\u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001\u6307\u5b9a\u90e8\u5206\u3092\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;?php\r\n    require_once '.\/vendor\/autoload.php';\r\n    \r\n    $templateProcessor = new \\PhpOffice\\PhpWord\\TemplateProcessor('template.docx');\r\n    $templateProcessor-&gt;setValue('name', '\u4f50\u85e4');\r\n    $templateProcessor-&gt;setValue('weather', '\u304f\u3082\u308a');\r\n    \r\n    \/\/\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u7528\r\n    header(&quot;Content-Description: File Transfer&quot;);\r\n    header('Content-Disposition: attachment; filename=&quot;sample2.docx&quot;');\r\n    header('Content-Type: application\/vnd.openxmlformats-officedocument.wordprocessingml.document');\r\n    header('Content-Transfer-Encoding: binary');\r\n    header('Cache-Control: must-revalidate, post-check=0, pre-check=0');\r\n    header('Expires: 0');\r\n    ob_end_clean(); \/\/\u30d0\u30c3\u30d5\u30a1\u6d88\u53bb\r\n    $templateProcessor-&gt;saveAs(&quot;php:\/\/output&quot;);<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_13.jpg\" alt=\"PHPWord_13\" width=\"700\" height=\"560\" class=\"alignnone size-full wp-image-6965\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_13.jpg 700w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_13-300x240.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_14.jpg\" alt=\"PHPWord_14\" width=\"700\" height=\"560\" class=\"alignnone size-full wp-image-6966\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_14.jpg 700w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/PHPWord_14-300x240.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>\u77ed\u3044\u30b3\u30fc\u30c9\u3067Word\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u30fb\u4fdd\u5b58\u304c\u3067\u304d\u308b\u4fbf\u5229\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br \/>\n<a href=\"http:\/\/phpword.readthedocs.io\/en\/latest\/\" title=\"Welcome to PHPWord\u2019s documentation ? PhpWord 0.12.0 documentation\" target=\"_blank\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3084<a href=\"https:\/\/github.com\/PHPOffice\/PHPWord\/tree\/develop\/samples\" title=\"samples\" target=\"_blank\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/a>\u3082\u5145\u5b9f\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u8208\u5473\u304c\u3042\u308b\u65b9\u306f\u662f\u975e\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u6700\u8fd1\u30aa\u30c8\u30ab\u30c9\u30fc\u30eb\u3084\u30eb\u30df\u30c6\u30a3\u30a2\u30b8\u30e5\u30a8\u30eb\u3084\u3089\u306e\u8a18\u4e8b\u3070\u304b\u308a\u66f8\u3044\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306fOffice\u7cfbMVP\u3089\u3057\u304fWord\u30cd\u30bf\u3092\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002 \u4eca\u56de\u7d39\u4ecb\u3059\u308b\u306e\u306f\u300cPHPWord\u300d\u3002 \u6587\u5b57\u901a\u308a\u3001PHP\u304b\u3089Word\u30d5\u30a1\u30a4\u30eb\u3092\u51fa\u529b [&hellip;]","protected":false},"author":1,"featured_media":9211,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[PHPWord\u3092\u4f7f\u3063\u3066PHP\u304b\u3089Word\u30d5\u30a1\u30a4\u30eb\u3092\u51fa\u529b\u3057\u3066\u307f\u308b]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,49,157],"tags":[],"class_list":["post-6952","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-word-office","category-php"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-PHP.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1O8","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6952"}],"version-history":[{"count":3,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6952\/revisions"}],"predecessor-version":[{"id":9216,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6952\/revisions\/9216"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/9211"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}