2.2.4.36 SlicerFontType

Namespace: http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/

Font specification for a slicer visual component.

 <xs:complexType name="SlicerFontType">
   <xs:sequence>
     <xs:element minOccurs="1" maxOccurs="1" name="Strikethrough" type="xs:boolean"/>
     <xs:element minOccurs="1" maxOccurs="1" name="Underline" type="xs:int"/>
     <xs:element minOccurs="1" maxOccurs="1" name="Italic" type="xs:boolean"/>
     <xs:element minOccurs="1" maxOccurs="1" name="Bold" type="xs:boolean"/>
     <xs:element minOccurs="1" maxOccurs="1" name="FontSize" type="xs:int"/>
     <xs:element minOccurs="1" maxOccurs="1" name="FontColor" type="xs:int"/>
     <xs:element minOccurs="0" maxOccurs="1" name="FontName" type="xs:string"/>
   </xs:sequence>
 </xs:complexType>

Strikethrough: MUST be set to "true" if the characters are crossed out by horizontal line. Otherwise, MUST be set to "false".

Underline: MUST be one of the values described in the following table.

Value

Meaning

0

Equivalent to the [ISO/IEC-29500-1] ST_UnderlineValues none enumeration value.

1

Equivalent to the [ISO/IEC-29500-1] ST_UnderlineValues single enumeration value.

Italic: Font face decoration.

Bold: Font face weight. This attribute MUST be set to "true" when the font face weight is greater than 600.

FontSize: Specifies the font size in points. MUST be greater than zero.

FontColor: Font face color. The value MUST be a LongRGBA, as specified in [MS-XLSB] section 2.5.89.

FontName: Font name. MUST be present. MUST NOT be empty.