2.1.656 Section 15.4.28, Underlining Type

a.   The standard defines the attribute style:text-underline-type, contained within the element <style:text-properties>

This attribute is supported in core Word 2007.

This attribute is supported on save for text in SmartArt and chart titles and labels.

b.   The standard defines the attribute style:text-underline-type, contained within the element <style:text-properties>

This attribute is supported in core Excel 2007.

On save, Excel 2007 converts its Single Accounting type to the value "single," and its Double Accounting type to the value "double".

This attribute is supported on load for text in any of the following elements:

  • <draw:rect>

  • <draw:polyline>

  • <draw:polygon>

  • <draw:regular-polygon>

  • <draw:path>

  • <draw:circle>

  • <draw:ellipse>

  • <draw:caption>

  • <draw:measure>

  • <draw:frame>

  • <draw:text-box>

  • <draw:custom-shape>

    This attribute is supported on save for text in any of the following items: text boxes, shapes, SmartArt, chart titles, and labels.  On load, the attributes named style:text-underline-type, style:text-underline-style, style:text-underline-width, and style:text-underline-mode are all used in determining which enumeration to set for the u (Underline) run attribute in OOXML. On load, no underline is read if either the style:text-underline-type attribute or the style:text-underline-style attribute has a value of "none".

c.   The standard defines the attribute style:text-underline-type, contained within the element <style:text-properties>

This attribute is supported on load for text in the following elements:

  • <draw:rect>

  • <draw:polyline>

  • <draw:polygon>

  • <draw:regular-polygon>

  • <draw:path>

  • <draw:circle>

  • <draw:ellipse>

  • <draw:caption>

  • <draw:measure>

  • <draw:text-box>

  • <draw:frame>

  • <draw:custom-shape>

    On read, the properties style:text-underline-type, style:text-underline-style, style:text-underline-width, and style:text-underline-mode are considered together to determine which enumeration to set for the u (Underline) run property attribute in PowerPoint 2007.

    On read, if either of the properties "style:text-underline-type="none"" or "style:text- underline-style="none"", no underline is read.