{"id":3855,"date":"2013-12-25T17:24:36","date_gmt":"2013-12-25T08:24:36","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=3855"},"modified":"2014-01-24T17:14:26","modified_gmt":"2014-01-24T08:14:26","slug":"office%e7%94%a8%e3%82%a2%e3%83%97%e3%83%aajavascript-api-for-office-%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa-v1-1","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=3855","title":{"rendered":"[Office\u7528\u30a2\u30d7\u30ea]JavaScript API for Office \u30e9\u30a4\u30d6\u30e9\u30ea v1.1"},"content":{"rendered":"<p><span style=\"color: #ff0000; font-weight: bold;\">2014\/01\/24 \u8ffd\u52a0\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u3002<\/span><br \/>\n<strong>\u30fb[Office\u7528\u30a2\u30d7\u30ea]JavaScript API for Office \u30e9\u30a4\u30d6\u30e9\u30ea v1.1\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002<\/strong><br \/>\n<a href=\"\/\/www.ka-net.org\/blog\/?p=3948\" title=\"[Office\u7528\u30a2\u30d7\u30ea]JavaScript API for Office \u30e9\u30a4\u30d6\u30e9\u30ea v1.1\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002\" target=\"_blank\">\/\/www.ka-net.org\/blog\/?p=3948<\/a><\/p>\n<p>MSDN\u306b\u3044\u3064\u306e\u9593\u306b\u304b\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eJavaScript API for Office \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u60c5\u5831\u304c\u51fa\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u30fbJavaScript API for Office v1.1 changes<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn482462.aspx\" title=\"JavaScript API for Office v1.1 changes\" target=\"_blank\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn482462.aspx<\/a><br \/>\n<strong>\u30fbSchema reference for apps for Office manifest (v1.1)<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn482556.aspx\" title=\"Schema reference for apps for Office manifest (v1.1)\" target=\"_blank\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn482556.aspx<\/a><\/p>\n<p>\u73fe\u5728(2013\/12 \u6642\u70b9)\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f <span style=\"color: #ff0000; font-weight: bold;\">1.0<\/span> \u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u307f\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u4e0b\u8a18\u30da\u30fc\u30b8\u3092\u898b\u308b\u9650\u308a\u3001Office 2013 SP1\u306e\u30ea\u30ea\u30fc\u30b9\u306b\u5408\u308f\u305b\u3066\u65b0\u3057\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u516c\u958b\u3055\u308c\u308b\u306e\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u30fbWhat&#8217;s new for developers in Office 2013 SP1 Technical Preview<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn481136.aspx\" title=\"What's new for developers in Office 2013 SP1 Technical Preview\" target=\"_blank\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn481136.aspx<\/a><\/p>\n<blockquote>\n<ul>\n<li>Using the new Navigation API, apps now have a way to navigate within the document view to different parts of a document, worksheet or presentation. The Navigation API lets Office \u7528\u30a2\u30d7\u30ea navigate and focus the view on specific objects and locations in the document.<\/li>\n<li>The new Formatting API enables developers to set and update formatting for tables and data within them in apps for Excel. Data formatting is the set of attributes that describe the presentation and the type of the data. Examples for presentation attributes are font color, border style, and text alignment. Examples for type attributes are number, date, currency, and so on. <\/li>\n<li>The new File Properties API enables developers to access and modify the properties of an Office file. This API is common across Word 2013, Excel 2013, and PowerPoint 2013.<\/li>\n<li>The Table Binding API is now enhanced to work with matrix data in addition to table data. In Excel 2013 and Excel Web App, the Office \u7528\u30a2\u30d7\u30eaaddFromPromptAsync, addFromSelectionAsync, and addFromNamedItemAsync methods can now be called with the Office.BindingType.Table argument, they can bind to a contiguous range of cells as a table -even when that data was not originally added to the spreadsheet as a table using the Insert &gt; Tables &gt;Table or Home &gt; Styles &gt; Format as Table commands.<\/li>\n<li>The user experience when inserting an Office \u7528\u30a2\u30d7\u30ea that binds to selected data has been improved. Previously, after selecting data and choosing to insert an app to bind to that data would fail. With this improvement, the app can bind to the data the user selected when the app is inserted. Developers can bind to table, matrix, and text data selected by the user when their app is inserted in Excel 2013 and Excel Web App.<\/li>\n<\/ul>\n<\/blockquote>\n<p>\u4e0a\u8a18\u30da\u30fc\u30b8\u306b\u3042\u308bAPI\u306e\u62e1\u5f35\u90e8\u5206\u306b\u95a2\u3059\u308b\u6982\u8981\u3092\u898b\u3066\u307f\u308b\u3068\u3001\u65b0\u3057\u3044\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3API\u306e\u5b9f\u88c5\u3084\u30c6\u30fc\u30d6\u30eb\u306e\u66f8\u5f0f\u8a2d\u5b9a\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30d7\u30ed\u30d1\u30c6\u30a3API\u8ffd\u52a0\u306a\u3069\u3001 <span style=\"color: #ff0000; font-weight: bold;\">v1.1<\/span> \u3067\u306fOffice \u7528\u30a2\u30d7\u30ea\u3067\u3067\u304d\u308b\u3053\u3068\u304c\u7d50\u69cb\u5897\u3048\u308b\u307f\u305f\u3044\u3067\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u88c5\u98fe(Excel\u5411\u3051Office \u7528\u30a2\u30d7\u30ea)\u306b\u95a2\u3057\u3066\u306f\u3059\u3067\u306b\u4e0b\u8a18\u30da\u30fc\u30b8\u3067\u60c5\u5831\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u30fbHow to: Format tables in apps for Excel<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535872.aspx\" title=\"How to: Format tables in apps for Excel\" target=\"_blank\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535872.aspx<\/a><\/p>\n<p>\u307e\u305f\u3001\u4e0b\u8a18\u30da\u30fc\u30b8\u3067\u306f\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u3067\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u66f4\u65b0\u624b\u9806(NuGet Package Manager\u4f7f\u7528)\u306b\u3064\u3044\u3066\u66f8\u304b\u308c\u3066\u3044\u305f\u306e\u3067\u3001<a href=\"http:\/\/www.nuget.org\/packages\/Microsoft.Office.js\/\" title=\"NuGet Gallery | Office Javascript API 1.0.1\" target=\"_blank\">NuGet Gallery<\/a>\u3092\u78ba\u8a8d\u3057\u3066\u307f\u305f\u306e\u3067\u3059\u304c\u3001\u3053\u3061\u3089\u306f\u307e\u3060 v1.0 \u306e\u307e\u307e\u3067\u3057\u305f\u3002<br \/>\n\u73fe\u6642\u70b9\u3067\u306f\u3001Office 2013 SP1 Technical Preview\u30e6\u30fc\u30b6\u30fc\u3067\u306a\u3044\u3068\u65b0\u3057\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u4f7f\u3048\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n(Visual Studio\u304b\u3089\u306f\u78ba\u8a8d\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u5206\u304b\u308a\u307e\u305b\u3093\u304c\u30fb\u30fb\u30fb)<\/p>\n<p><strong>\u30fbHow to: Update the JavaScript API for Office files in your Visual Studio project from version 1.0 to 1.1<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535869.aspx\" title=\"How to: Update the JavaScript API for Office files in your Visual Studio project from version 1.0 to 1.1\" target=\"_blank\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535869.aspx<\/a><\/p>\n<p>\u3061\u306a\u307f\u306b\u3001NuGet\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u300c<a href=\"http:\/\/docs.nuget.org\/docs\/start-here\/installing-nuget\" title=\"Installing NuGet\" target=\"_blank\">Installing NuGet<\/a>\u300d\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u4f7f\u3048\u3070\u3001Visual Studio\u304c\u7121\u304f\u3066\u3082\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u3067\u3059\u3002<br \/>\n(\u305f\u3068\u3048\u3070Office Javascript API\u306e\u5834\u5408\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u300c<strong>nuget install &#8220;Microsoft.Office.js&#8221;<\/strong>\u300d\u3092\u5b9f\u884c\u3059\u308c\u3070nuget.exe\u3068\u540c\u3058\u5834\u6240\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5c55\u958b\u3055\u308c\u307e\u3059\u3002)<\/p>\n<p>\u300c<a href=\"http:\/\/blogs.technet.com\/b\/microsoft_office_\/archive\/2013\/11\/22\/office-2013-service-pack-1.aspx\" title=\"\u6765\u5e74\u521d\u3081\u306b Office 2013 Service Pack 1 \u3092\u30ea\u30ea\u30fc\u30b9 - Office Blogs - Site Home - TechNet Blogs\" target=\"_blank\">\u6765\u5e74\u521d\u3081\u306b Office 2013 Service Pack 1 \u3092\u30ea\u30ea\u30fc\u30b9<\/a>\u300d\u3068\u3044\u3046\u8a71\u3082\u3059\u3067\u306b\u51fa\u3066\u3044\u307e\u3059\u3057\u3001\u65b0\u3057\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u306f\u6642\u9593\u306e\u554f\u984c\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u65e9\u304f\u65b0\u6a5f\u80fd\u3092\u8a66\u3057\u3066\u307f\u305f\u3044\u3082\u306e\u3067\u3059\u306d\uff01<\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">2013\/12\/26 \u8ffd\u8a18\uff1a<\/span><\/p>\n<h4>\u25a0 Office \u30db\u30b9\u30c8 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066<\/h4>\n<p><strong>\u30fbHow to: Specify the Office host applications your app supports using the version 1.1 manifest<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535870.aspx\" title=\"How to: Specify the Office host applications your app supports using the version 1.1 manifest\" target=\"_blank\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535870.aspx<\/a><\/p>\n<p>\u4e0a\u8a18\u30da\u30fc\u30b8\u3092\u898b\u308b\u3068\u3001<\/p>\n<blockquote><p>The Hosts element is a new optional element added in version 1.1 of the manifest. This element lets you specify the target Office host applications you want your app to run in. If the Hosts element isn&#8217;t specified in the manifest, the app should run in all hosts that support the API requirement sets and\/or methods specof Requirements (for information about how to specify the Requirements element, see How to: Specify API requirement sets and methods for your app). In version 1.1 of the manifest, the Hosts element is essentially a replacement for the Capabilities element from the version 1.0 manifest.<\/p><\/blockquote>\n<p>\u3068\u3042\u308a\u3001\u3053\u308c\u307e\u3067\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u30db\u30b9\u30c8 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u6307\u5b9a\u306b\u4f7f\u3063\u3066\u3044\u305f\u300c<span style=\"color: #ff0000; font-weight: bold;\">Capabilities<\/span>\u300d\u300c<span style=\"color: #ff0000; font-weight: bold;\">Capability<\/span>\u300d\u8981\u7d20\u306e\u4ee3\u308f\u308a\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">Hosts<\/span>\u300d\u300c<span style=\"color: #ff0000; font-weight: bold;\">Host<\/span>\u300d\u8981\u7d20\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308b\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>&lt;Capabilities&gt;<br \/>\n&nbsp;&nbsp;&lt;Capability Name=&quot;Document&quot; \/&gt;<br \/>\n&nbsp;&nbsp;&lt;Capability Name=&quot;Workbook&quot; \/&gt;<br \/>\n&nbsp;&nbsp;&lt;Capability Name=&quot;Presentation&quot; \/&gt;<br \/>\n&lt;\/Capabilities&gt;<\/p>\n<p>\u304b\u3089\u4e0b\u8a18\u306e\u3088\u3046\u306a\u5f62\u306b\u5909\u66f4\u3002<\/p>\n<p>&lt;Hosts&gt;<br \/>\n&nbsp;&nbsp;&lt;Host Name=&quot;Document&quot; \/&gt;<br \/>\n&nbsp;&nbsp;&lt;Host Name=&quot;Workbook&quot; \/&gt;<br \/>\n&nbsp;&nbsp;&lt;Host Name=&quot;Presentation&quot; \/&gt;<br \/>\n&nbsp;&nbsp;&lt;Host Name=&quot;Database&quot; \/&gt;<br \/>\n&lt;\/Hosts&gt;<\/p>\n<p>\u3053\u3053\u3067\u9a5a\u3044\u305f\u306e\u306fHost\u8981\u7d20\u3001Name\u5c5e\u6027\u306e\u5024\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">Database<\/span>\u300d\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3002<br \/>\n\u3064\u307e\u308a <span style=\"color: #ff0000; font-weight: bold;\">v1.1 \u3067\u306fAccess\u3067\u3082Office \u7528\u30a2\u30d7\u30ea\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u307f\u305f\u3044<\/span>\u3067\u3059\u3002<br \/>\nAccess\u306eOffice \u7528\u30a2\u30d7\u30ea = \u30ab\u30b9\u30bf\u30e0 Web \u30a2\u30d7\u30ea\u3001\u3067\u306f\u7121\u304b\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u3087\u3046\u304b\u30fb\u30fb\u30fb\uff01\uff1f<\/p>\n<h4>\u25a0 \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u70b9<\/h4>\n<p><strong>\u30fbHow to: Specify API requirement sets and methods for your app<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535871.aspx\" title=\"How to: Specify API requirement sets and methods for your app\" target=\"_blank\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535871.aspx<\/a><\/p>\n<p>\u4e0a\u8a18\u30da\u30fc\u30b8\u3092\u898b\u308b\u3068\u3001<\/p>\n<blockquote><p>The Requirements element is a new optional element in the version 1.1 manifest. This element lets you specify named sets of API methods or individual methods that your app requires in order to run.<\/p><\/blockquote>\n<p>\u3068\u3042\u308a\u3001\u30a2\u30d7\u30ea\u3067\u4f7f\u3046\u6a5f\u80fd\u306f\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u5074\u3067\u300c<span style=\"color: #ff0000; font-weight: bold;\">Requirements<\/span>\u300d\u8981\u7d20\u3067\u6307\u5b9a\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u3002<br \/>\n\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u5408\u308f\u305b\u3066\u3001\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3082\u5927\u5206\u5909\u308f\u308b\u307f\u305f\u3044\u3067\u3059\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"2014\/01\/24 \u8ffd\u52a0\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u3002 \u30fb[Office\u7528\u30a2\u30d7\u30ea]JavaScript API for Office \u30e9\u30a4\u30d6\u30e9\u30ea v1.1\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002 \/\/www.ka-net.org\/blog\/?p=394 [&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":[],"class_list":["post-3855","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps-for-office","category-office","category-office2013"],"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-10b","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3855","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=3855"}],"version-history":[{"count":6,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3855\/revisions"}],"predecessor-version":[{"id":3951,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3855\/revisions\/3951"}],"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=3855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}