{"id":2452,"date":"2012-11-13T15:00:06","date_gmt":"2012-11-13T06:00:06","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=2452"},"modified":"2012-11-13T15:00:06","modified_gmt":"2012-11-13T06:00:06","slug":"%e6%96%b0%e3%81%97%e3%81%84office-js%e3%81%a7powerpoint%e3%81%a7%e3%82%82office%e7%94%a8%e3%82%a2%e3%83%97%e3%83%aa%e3%81%8c%e4%bd%bf%e3%81%88%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%aa%e3%82%8a","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=2452","title":{"rendered":"\u65b0\u3057\u3044Office.js\u3067PowerPoint\u3067\u3082Office\u7528\u30a2\u30d7\u30ea\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002"},"content":{"rendered":"<p>\u5148\u65e5\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e<span style=\"color: #ff0000; font-weight: bold;\">Office.js<\/span>(Office\u7528\u30a2\u30d7\u30ea\u7528JavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc)\u304c\u516c\u958b\u3055\u308c\u3001\u3064\u3044\u306bPowerPoint\u7528\u306eOffice\u7528\u30a2\u30d7\u30ea\u304c\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u4e01\u5ea6\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=2445\" title=\"PowerPoint\u7528\u306eOffice\u7528\u30a2\u30d7\u30ea\" target=\"_blank\">PowerPoint\u7528\u306eOffice\u7528\u30a2\u30d7\u30ea<\/a>\u300d\u3068\u3044\u3046\u8a18\u4e8b\u3092\u66f8\u3044\u305f\u3070\u304b\u308a\u306a\u306e\u3067\u30bf\u30a4\u30df\u30f3\u30b0\u304c\u826f\u3044\u304b\u60aa\u3044\u306e\u304b\u3088\u304f\u5206\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u4f55\u306f\u514e\u3082\u89d2\u3053\u308c\u304b\u3089\u306fPowerPoint\u3067\u3082Office\u7528\u30a2\u30d7\u30ea\u304c\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p><strong>\u30fb\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb(HelloWorldPPT.xml)<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;OfficeApp xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/appforoffice\/1.0&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:type=&quot;TaskPaneApp&quot;&gt;\r\n  &lt;Id&gt;e55a0647-7551-42ab-b7d2-b24a5e8b190a&lt;\/Id&gt;\r\n  &lt;Version&gt;1.0&lt;\/Version&gt;\r\n  &lt;ProviderName&gt;kinuasa&lt;\/ProviderName&gt;\r\n  &lt;DefaultLocale&gt;ja-JP&lt;\/DefaultLocale&gt;\r\n  &lt;DisplayName DefaultValue=&quot;\u3053\u3093\u306b\u3061\u306f \u4e16\u754c&quot; \/&gt;\r\n  &lt;Description DefaultValue=&quot;Hello World\u30a2\u30d7\u30ea\u3067\u3059\u3002&quot;\/&gt;\r\n  &lt;IconUrl DefaultValue=&quot;http:\/\/officeimg.vo.msecnd.net\/_layouts\/images\/general\/office_logo.jpg&quot; \/&gt;\r\n  &lt;Capabilities&gt;\r\n    &lt;Capability Name=&quot;Presentation&quot; \/&gt;\r\n  &lt;\/Capabilities&gt;\r\n  &lt;DefaultSettings&gt;\r\n    &lt;SourceLocation DefaultValue=&quot;http:\/\/localhost\/apps\/HelloWorldPPT.html&quot; \/&gt;\r\n  &lt;\/DefaultSettings&gt;\r\n  &lt;Permissions&gt;ReadWriteDocument&lt;\/Permissions&gt;\r\n&lt;\/OfficeApp&gt;<\/pre>\n<p><strong>\u30fbWeb\u30da\u30fc\u30b8(HelloWorldPPT.html)<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n    &lt;head&gt;\r\n        &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n        &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge&quot;&gt;\r\n        &lt;script src=&quot;http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.7.2\/jquery.min.js&quot;&gt;&lt;\/script&gt;\r\n        &lt;script src=&quot;https:\/\/appsforoffice.microsoft.com\/lib\/1.0\/hosted\/office.js&quot;&gt;&lt;\/script&gt;\r\n        &lt;script&gt;\r\n            Office.initialize = function(reason){}\r\n            $(function(){\r\n                $(&quot;#btnOK&quot;).click(function(){\r\n                    Office.context.document.setSelectedDataAsync(&quot;Hello World!!&quot;);\r\n                });\r\n            });\r\n        &lt;\/script&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        &lt;input id=&quot;btnOK&quot; type=&quot;button&quot; value=&quot;OK&quot;&gt;\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u306e\u30a2\u30d7\u30ea\u3092PowerPoint\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u633f\u5165\u3057\u3066\u300c<span style=\"color: #ff0000; font-weight: bold;\">OK<\/span>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u4e0b\u56f3\u306e\u3088\u3046\u306b\u9078\u629e\u7b87\u6240\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">Hello World!!<\/span>\u300d\u3068\u5165\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_28_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_28_01-300x225.jpg\" alt=\"\" title=\"Office2013_28_01\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-2453\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_28_01-300x225.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_28_01-1024x769.jpg 1024w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_28_01-290x217.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_28_01-150x112.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_28_01.jpg 1046w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=2445\" title=\"PowerPoint\u7528\u306eOffice\u7528\u30a2\u30d7\u30ea\" target=\"_blank\">PowerPoint\u7528\u306eOffice\u7528\u30a2\u30d7\u30ea<\/a>\u300d\u3067\u306finitialize\u3055\u3048\u767a\u751f\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u65b0\u3057\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3078\u306e\u66f8\u8fbc\u307f\u3059\u3089\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u65b0\u3057\u3044Office.js\u306b\u95a2\u3057\u3066\u306f\u300c<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/fp161068.aspx\" title=\"Release notes for apps for Office\" target=\"_blank\">Release notes for apps for Office<\/a>\u300d\u306b\u3082\u3042\u308b\u3088\u3046\u306b\u3001Microsoft\u304c\u7528\u610f\u3057\u3066\u3044\u308b<strong>CDN<\/strong>(Contents Delivery Network)\u306b\u8a2d\u7f6e\u3055\u308c\u3066\u3044\u307e\u3059(<span style=\"color: #ff0000; font-weight: bold;\">https:\/\/appsforoffice.microsoft.com\/lib\/1.0\/hosted\/office.js<\/span>)\u306e\u3067\u3001script\u8981\u7d20\u306esrc\u5c5e\u6027\u306e\u5024\u3092\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30d5\u30a1\u30a4\u30eb(<strong>https:\/\/az88874.vo.msecnd.net\/api\/1.0\/office.js<\/strong>)\u304b\u3089\u66f8\u304d\u63db\u3048\u308c\u3070\u3001\u3059\u3050\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u3059\u307e\u3059\u5e83\u304c\u308bOffice\u7528\u30a2\u30d7\u30ea(<span style=\"color: #ff0000; font-weight: bold;\">apps for Office<\/span>)\u3001\u7686\u3055\u3093\u3082\u662f\u975e\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"\u5148\u65e5\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eOffice.js(Office\u7528\u30a2\u30d7\u30ea\u7528JavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc)\u304c\u516c\u958b\u3055\u308c\u3001\u3064\u3044\u306bPowerPoint\u7528\u306eOffice\u7528\u30a2\u30d7\u30ea\u304c\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u4e01\u5ea6\u300cPowerPoint\u7528 [&hellip;]","protected":false},"author":1,"featured_media":7119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[130,4,79],"tags":[74,77],"class_list":["post-2452","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps-for-office","category-office","category-office2013","tag-office-2013","tag-apps-for-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeAddins.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-Dy","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2452","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=2452"}],"version-history":[{"count":2,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2452\/revisions"}],"predecessor-version":[{"id":2455,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2452\/revisions\/2455"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7119"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}