IgnoredError class
Defines the IgnoredError Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:ignoredError.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Excel.IgnoredError
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.6.54 CT_IgnoredError
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_IgnoredErrors
A complex type that specifies the types of cell errors that are to be ignored for a specific cell range. This complex type is equivalent to CT_IgnoredError ([ISO/IEC-29500-1] section 18.3.1.50), but allows the sqref child element to have greater than or equal to 8,192 ref child elements.
Child Elements:
xm:sqref: A sqref element that specifies the range where cell errors have been ignored. This sqref MUST have greater than or equal to 8,192 ref child elements.
Attributes:
evalError: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore calculation errors.
twoDigitTextYear: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from the formatting of date/time values.
numberStoredAsText: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from the formatting of numeric values.
formula: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from formulas that are inconsistent with formulas ([ISO/IEC-29500-1] section 18.17) in neighboring cells.
formulaRange: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from formulas ([ISO/IEC-29500-1] section 18.17) that contain references to less than the entirety of a range containing contiguous data.
unlockedFormula: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from unprotected formulas ([ISO/IEC-29500-1] section 18.17).
emptyCellReference: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from references to empty cells.
listDataValidation: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from data validation.
calculatedColumn: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from calculated column (2) formulas ([ISO/IEC-29500-1] section 18.17).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_IgnoredError">
<xsd:sequence>
<xsd:element ref="xm:sqref" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="evalError" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="twoDigitTextYear" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="numberStoredAsText" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="formula" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="formulaRange" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="unlockedFormula" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="emptyCellReference" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="listDataValidation" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="calculatedColumn" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).