@@ -35,9 +35,13 @@ npm install --save {PackageCore}
3535npm install --save {PackageExcel}
3636```
3737
38+ </PlatformBlock >
39+
40+ <PlatformBlock for = " Angular" >
41+
3842## モジュールの要件
3943
40- { Platform } Excel ライブラリを作成するには 、以下のモジュールが必要です。
44+ { Platform } Excel ライブラリを使用するには 、以下のモジュールが必要です。
4145
4246``` ts
4347// app.module.ts
@@ -53,12 +57,28 @@ import { IgxExcelModule } from 'igniteui-angular-excel';
5357export class AppModule {}
5458```
5559
60+ </PlatformBlock >
61+
62+ <PlatformBlock for = " React" >
63+
64+ ## モジュールの要件
65+
66+ { Platform } Excel ライブラリを使用するには、以下のモジュールが必要です。
67+
5668``` ts
5769import { IgrExcelModule } from ' igniteui-react-excel' ;
5870
5971IgrExcelModule .register ();
6072```
6173
74+ </PlatformBlock >
75+
76+ <PlatformBlock for = " WebComponents" >
77+
78+ ## モジュールの要件
79+
80+ { Platform } Excel ライブラリを使用するには、以下のモジュールが必要です。
81+
6282``` ts
6383// Module Manager for registering the modules of the chart
6484import { ModuleManager } from ' igniteui-webcomponents-core' ;
@@ -70,15 +90,19 @@ ModuleManager.register(
7090);
7191```
7292
93+ </PlatformBlock >
94+
95+ <PlatformBlock for = " Angular" >
96+
7397## モジュールの実装
7498
7599Excel ライブラリには、アプリのバンドル サイズを制限するために使用できる 5 つのモジュールが含まれています。
76100
77101- ** IgxExcelCoreModule** – オブジェクトモデルを含み、Excel の基盤となります。
78- - ** IgxExcelFunctionsModule** – Sum、Average、Min、Max、SumIfs、Ifs など、数式評価のほとんどのカスタム関数を含み、このモジュールがなくても数式が計算 ( “ =SUM(A1:A5 などの数式を適用するなど) されてセルの Value を要求する場合は数式の解析で問題を発生しません。(注: 例外のスローではありません。数式の結果がエラーとなるため特定のエラーを表すオブジェクト)。
79- - ** IgxExcelXlsModule** – xls (および関連する) タイプ ファイルのロジックの読み込みと保存を含みます 。これは Excel97to2003 関連の WorkbookFormats です。
80- - ** IgxExcelXlsxModule** – xlsx (および関連する) タイプ ファイルのロジックの読み込みと保存を含みます 。これは Excel2007 関連および StrictOpenXml ANDWorkbookFormats です。
81- - ** IgxExcelModule** – 他の 4 つのモジュールの参照ですべての機能の読み込み /使用を可能にします。
102+ - ** IgxExcelFunctionsModule** – Sum、Average、Min、Max などの、数式評価に使用する関数の大部分を含みます。このモジュールがない場合でも、数式のパース自体は問題なく動作しますが、数式を実際に計算しようとすると問題が生じます。たとえば " =SUM(A1:A5)" のような数式を設定してセルの Value を取得しようとした場合、#NAME! エラーが返されます。(数式がエラー結果を返す場合、例外のスローではなく特定のエラーを表すオブジェクトとして返されます。)
103+ - ** IgxExcelXlsModule** – xls (および関連する) 形式のファイルの読み込みと保存のロジックを含みます 。これは Excel97to2003 関連の WorkbookFormats です。
104+ - ** IgxExcelXlsxModule** – xlsx (および関連する) 形式のファイルの読み込みと保存のロジックを含みます 。これは Excel2007 関連および StrictOpenXml の WorkbookFormats です。
105+ - ** IgxExcelModule** – 上記 4 つのモジュールの参照で、すべての機能の読み込み /使用を可能にします。
82106
83107
84108</PlatformBlock >
@@ -91,13 +115,19 @@ Excel ライブラリには、アプリのバンドル サイズを制限する
91115
92116## 要件
93117
94- { Platform } Excel ライブラリを使用するには、次の using ステートメントを追加する必要があります:
118+ { Platform } Excel ライブラリを使用するには、Excel ライブラリの NuGet パッケージを次のように追加する必要があります:
119+
120+ ``` cmd
121+ > dotnet add package IgniteUI.Blazor.Documents.Excel
122+ ```
123+
124+ 次の using ステートメントを追加します:
95125
96126``` razor
97127@using Infragistics.Documents.Excel
98128```
99129
100- Web Assembly (WASM) Blazor プロジェクトを使用している場合は、いくつかの追加手順があります:
130+ Blazor WebAssembly (WASM) プロジェクトを使用している場合は、いくつかの追加手順があります:
101131
102132- wwwroot/index.html ファイルに次のスクリプトへの参照を追加します:
103133
@@ -147,37 +177,29 @@ Web Assembly (WASM) Blazor プロジェクトを使用している場合は、
147177- Microsoft Excel 2016
148178
149179<DocsAside type = " info" title = " 情報" >
150- Excel ライブラリ は Excel Binary Workbook (.xlsb) フォーマットを現時点ではサポートしていません。
180+ Excel ライブラリは Excel Binary Workbook (.xlsb) フォーマットを現時点ではサポートしていません。
151181</DocsAside >
152182
153183## ワークブックの読み込みと保存
154- 注: Excel ライブラリ モジュールをインポートした後、ワークブックを読み込みます。
155184
156185<PlatformBlock for = " Angular, React, WebComponents" >
157186
158- 次のコード スニペットでは、外部の [ ExcelUtility] ( excel-utility.md ) クラスを使用して <ApiLink type = " Worksheet" member = " workbook" label = " Workbook" /> を保存およびロードしています。
159-
160- </PlatformBlock >
161-
162- <ApiLink type = " Worksheet" member = " workbook" label = " Workbook" /> オブジェクトを読み込んで保存するために、実際の <ApiLink type = " Worksheet" member = " workbook" label = " Workbook" /> の保存メソッドや static な ` Load ` メソッドを使用できます。
163-
164- ``` ts
187+ Excel ライブラリ モジュールをインポートした後、ワークブックを読み込みます。
165188
166- ## Load and Save Workbooks
167- Now that the Excel Library module is imported , next step is to load a workbook .
168-
169-
170- < PlatformBlock for = " Angular, React, WebComponents" >
189+ 次のコード スニペットでは、外部の [ ExcelUtility] ( excel-utility.md ) クラスを使用して <ApiLink type = " Workbook" /> の保存および読み込みを行っています。
171190
172191
192+ </PlatformBlock >
173193
174- In the following code snippet , an external [ ExcelUtility ]( excel - utility . md ) class is used to save and load a < ApiLink type = " Workbook " />.
194+ < PlatformBlock for = " Blazor " >
175195
196+ Excel ライブラリ パッケージをインストールした後、ワークブックを読み込みます。
176197
177198</PlatformBlock >
178199
200+ <ApiLink type = " Workbook" /> オブジェクトを読み込んで保存するために、実際の <ApiLink type = " Workbook" /> の ` Save ` メソッドや static な ` Load ` メソッドを使用できます。
179201
180- In order to load and save < ApiLink type = " Workbook " /> objects , you can utilize the save method of the actual < ApiLink type = " Workbook " /> object , as well as its static ` Load ` method .
202+ < PlatformBlock for = " Angular, React, WebComponents " >
181203
182204``` ts
183205import { Workbook } from " {PackageExcel}" ;
@@ -189,9 +211,11 @@ var workbook = ExcelUtility.load(file);
189211ExcelUtility .save (workbook , " fileName" );
190212```
191213
214+ </PlatformBlock >
215+
192216<PlatformBlock for = " Blazor" >
193217
194- ``` razor
218+ ``` csharp
195219protected override void OnInitialized ()
196220{
197221 var memoryStream = new System .IO .MemoryStream ();
@@ -215,11 +239,11 @@ private void SaveFile(byte[] bytes, string fileName, string mime)
215239
216240<PlatformBlock for = " Angular" >
217241
218- ## Managing Heap
242+ ## ヒープの管理
219243
220- Due to the size of the Excel Library, it's recommended to disable the source map generation.
244+ Excel ライブラリのサイズ最適化のため、ソース マップの生成を無効にすることをお勧めします。
221245
222- Modify ` angular.json ` by setting the ` vendorSourceMap ` option under architect => build => options and under serve => options:
246+ ` angular.json ` を変更して、 architect => build => options と serve => options の下にある ` vendorSourceMap ` オプションを設定します :
223247
224248``` ts
225249 " architect" : {
@@ -250,6 +274,6 @@ Modify `angular.json` by setting the `vendorSourceMap` option under architect =>
250274</PlatformBlock >
251275
252276
253- ## API References
277+ ## API リファレンス
254278<ApiLink type = " Worksheet" />
255279<ApiLink type = " Workbook" />
0 commit comments