2.293.19 Style.Format

The Style.Format element specifies a formatting code that is used when the numeric value in a report item is formatted. This element is optional.

If the Style.Format element is present, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1) or an expression that evaluates to a String. If this element is not present, no formatting exists for the associated text to which the Style.Format element applies.

If the Style.Format element has locale-dependent currency formatting or locale-dependent date formatting, its value MUST be based on the language setting for the report item. If the grandparent element of the Style.Format element is not TextRun, Chart, Textbox, Subtotal, ChartTitle, ChartLegend, ChartLegendTitle, ChartAxis, Axis, ChartAxisTitle, Title, ChartDataLabel, ChartStripLine, or ScaleLabels, the Style.Format element is ignored.

Following is the parent element of the Style.Format element.

Parent elements

Style

The following is the XML Schema definition of the Style.Format element.

 <xsd:element name="Format" type="xsd:string" minOccurs="0" />