DR 14-0013 — SML: definedName attribute localSheetId

Chris Rae Chris.Rae at microsoft.com
Fri Feb 6 18:59:38 CET 2015


https://onedrive.live.com/view.aspx/Public%20Documents/2014/DR-14-0013.docx?cid=C8BA0861DC5E4ADC

This DR concerns the localSheetID attribute of the SpreadsheetML definedName element, and states that the attribute's meaning is unclear.

After looking into this, I think the submitter is right and that it's not at all clear what this attribute is intended to represent. I've attached some proposed changes to the standard. A couple of notes:

* I think that the example mentioned by the submitter is poorly chosen. It mention a "data source" and "external database"  - the submitter is correct that this isn't the defined name required for a SpreadsheetML data connected range, and really I don't think any mention should be made of external data as it complicates the example and isn't relevant. I've reworded it as such.
* Revision records also contain defined names with the same attribute - they have much better descriptions. For example, in 18.11.1.13, the localSheetId is described as " An integer representing the id of the sheet to which this defined name belongs. This shall be used local defined names only." (sic)
* I notice that Microsoft's MS-OI29500 implementer notes (https://msdn.microsoft.com/en-us/library/ee908652(v=office.12).aspx) already cover Excel's behaviour with this attribute - as the standard is not well-defined at all, many of my changes are from there.

Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DR 14-0013 changes.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 21929 bytes
Desc: DR 14-0013 changes.docx
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20150206/4b29079a/attachment-0001.docx>


More information about the sc34wg4 mailing list