DR-15-0014; more input from Charlie
Rex Jaeschke
rex at RexJaeschke.com
Tue Sep 27 22:04:48 CEST 2016
Hi Rex,
In a follow up to this I think I've come across a bug in the LibreOffice implementation. I think it would be useful for the documentation to be so clear that this kind of thing doesn't happen (in the absence of not being able to detect this when validating the XML).
Looking at this sample from a styles.xml:
<cellStyleXfs count="6">
<xf borderId="0" fillId="0" fontId="0" numFmtId="0"/>
<xf borderId="0" fillId="0" fontId="0" numFmtId="0"/>
<xf borderId="0" fillId="0" fontId="0" numFmtId="0"/>
<xf borderId="0" fillId="0" fontId="0" numFmtId="0"/>
<xf borderId="0" fillId="0" fontId="0" numFmtId="0"/>
<xf borderId="0" fillId="0" fontId="0" numFmtId="0"/>
</cellStyleXfs>
<cellXfs count="3">
<xf applyAlignment="1" borderId="0" fillId="0" fontId="0"
numFmtId="164" pivotButton="0" quotePrefix="0" xfId="0">
<alignment horizontal="general" vertical="bottom"/>
</xf>
<xf applyAlignment="1" borderId="0" fillId="0" fontId="0"
numFmtId="164" pivotButton="0" quotePrefix="0" xfId="0">
<alignment horizontal="general" vertical="bottom"/>
</xf>
<xf borderId="0" fillId="0" fontId="0" numFmtId="0" pivotButton="0"
quotePrefix="0" xfId="0"/>
</cellXfs>
<cellStyles count="6">
<cellStyle builtinId="0" name="Normal" xfId="0"/>
<cellStyle builtinId="3" name="Comma" xfId="15"/>
<cellStyle builtinId="6" name="Comma [0]" xfId="16"/>
<cellStyle builtinId="4" name="Currency" xfId="17"/>
<cellStyle builtinId="7" name="Currency [0]" xfId="18"/>
<cellStyle builtinId="5" name="Percent" xfId="19"/>
</cellStyles>
The xfId attributes in the cellStyle elements are referring to non-extant xf children of cellStyleXfs. Does the WG agree with this interpretation?
Charlie
More information about the sc34wg4
mailing list