Anand T
Anand T

Reputation: 123

I didn't understand what is 's' refering to in s="1", "s=2" and so on in the SpreadsheetDocument in Openxml

Please tell me what is 's' referring to in SpreadsheetML

https://i.sstatic.net/BxAUJ.png

Upvotes: 0

Views: 809

Answers (1)

Cindy Meister
Cindy Meister

Reputation: 25693

The s attribute in a c (for CELL) element gives the index of the STYLE applied to the cell.

Excel Open XML uses a lot of "shorthand" (very short element and attribute names) in order to keep file size as small as possible. Thus, things aren't terribly descriptive.

See also:

http://officeopenxml.com/SSstyles.php

https://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.cell%28v=office.14%29.aspx?f=255&MSPPError=-2147217396

Upvotes: 1

Related Questions