SpreadsheetMLメモ

18.3.1.4 c (Cell) 🔗

This collection represents a cell in the worksheet.
Information about the cell’s location (reference), value, data type, formatting, and formula is expressed here.

このコレクションはワークシート内のセルを表す。
セルの位置 (参照)、値、データ型、書式設定、数式に関する情報が表現される。

This example shows the information stored for a cell whose address in the grid is C6, whose style index is ‘6’, and whose value metadata index is ‘15’.
The cell contains a formula as well as a calculated result of that formula.

このセルは、アドレスが C6、スタイルインデックスが ‘6’、値メタデータインデックスが ‘15’ であるセルに格納されている情報を示す。
数式とその数式の計算結果が含まれている。

<c r="C6" s="1" vm="15">
  <f>CUBEVALUE("xlextdat9 Adventure Works",C$5,$A6)</f>
  <v>2838512.355</v>
</c>

While a cell can have a formula element f and a value element v, when the cell’s type t is inlineStr then only the element is is allowed as a child element.
Here is an example of expressing a string in the cell rather than using the shared string table.

セルの型 t が inlineStr の場合、要素 is のみが子要素として許可される。
共有文字列テーブルを使用するのではなく、セル内の文字列を表現する。

<row r="1" spans="1:1">
  <c r="A1" t="inlineStr">
    <is><t>This is inline string example</t></is>
  </c>
</row>

Attributes 🔗

Note 🔗

The W3C XML Schema definition of this element’s content model (CT_Cell) is located in §A.2.

この要素のコンテンツ モデル (CT_Cell) の W3C XML スキーマ定義は、§A.2 に参照。