Share via


2.1.228 Section 15.5.11, Tab Stops

The standard defines the element <style:tab-stop> within the parent element <style:tab-stops>: This element is supported in WordPad.

The standard defines the attribute style:char within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the property "char" of the attribute style:type for the <style:tab-stop> element for details on how WordPad treats the style:char attribute.

The standard defines the attribute style:leader-color within the element <style:tab-stop> within the parent element <style:tab-stops>: This attribute is not supported in WordPad.

The standard defines the property "dash" within the attribute style:leader-style within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-style attribute.

The standard defines the property "dot-dash" within the attribute style:leader-style within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-style attribute.

The standard defines the property "dot-dot-dash" within the attribute style:leader-style within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-style attribute.

The standard defines the property "dotted" within the attribute style:leader-style within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-style attribute.

The standard defines the property "long-dash" within the attribute style:leader-style within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-style attribute.

The standard defines the property "none" within the attribute style:leader-style within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-style attribute.

The standard defines the property "solid" within the attribute style:leader-style within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-style attribute.

The standard defines the property "wave" within the attribute style:leader-style within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-style attribute.

The standard defines the attribute style:leader-text within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-text attribute.

The standard defines the attribute style:leader-text-style within the element <style:tab-stop> within the parent element <style:tab-stops>: This attribute is not supported in WordPad.

The standard defines the attribute style:leader-type within the element <style:tab-stop> within the parent element <style:tab-stops>: WordPad supports a subset of combinations of the values specified in the standard for the attributes style:leader-style, style:leader-width, style:leader-type and style:leader-text, and other combinations are mapped as follows.

On Read:

  • If the style:leader-type attribute has the value "none", then no leader is displayed;

  • Else if the style:leader-text attribute has the value "-" or a string beginning with "-", then the leader is a dashed line;

  • Else if the style:leader-text attribute has the value "." or a string beginning with ".", then the leader is a dotted line;

  • Else if the style:leader-text attribute has the value "_" or a string beginning with "_", then the leader is an underline line;

  • Else if the style:leader-style attribute has the value "dotted" or "dot-dash" or "dot-dot-dash", then the leader is a dotted line;

  • Else if the style:leader-style attribute has the value "dash" or "long-dash" or "wave", then the leader is a dashed line;

  • Else if the style:leader-width attribute has the value "auto" or "normal" or "medium", then the leader is an underline line;

  • Else if the style:leader-width attribute has the value "bold" or "thick", then the leader is a thick line;

  • Else if the style:leader-width attribute has the value "dash", then the leader is a dashed line;

  • Else if the style:leader-type attribute has the value "double", then the leader is a double line;

  • Else if any one of the attributes style:leader-style, style:leader-width, style:leader-type or style:leader-text is present with a valid value, then the leader is an underlining line.

WordPad does not preserve the original value of leader-related attributes on Write; instead, the displayed content determines the attributes written out as follows:

  • If the display is a dotted line for the leader, then the style:leader-style attribute is written out with the value "dotted";

  • Else if the display is a dashed line for the leader, then the style:leader-style attribute is written out with the value "dash" and the style:leader-text attribute is written out with the value "-";

  • Else if the display is an underline line for the leader, then the style:leader-style attribute is written out with the value "solid";

  • Else if the display is a thick line for the leader, then the style:leader-style attribute is written out with the value "solid" and the style:leader-width attribute is written out with the value "thick";

  • Else if the display is a double line for the leader, then the style:leader-style attribute is written out with the value "solid" and the style:leader-type attribute is written out with the value "double";

  • Else none of the leader-related attributes are written out.

The standard defines the attribute style:leader-width within the element <style:tab-stop> within the parent element <style:tab-stops>: See the notes later in this section for the style:leader-type attribute of the <style:tab-stop> element for details on how WordPad treats the style:leader-width attribute.

The standard defines the attribute style:position within the element <style:tab-stop> within the parent element <style:tab-stops>: This attribute is supported in WordPad.

The standard defines the property "center" within the attribute style:type within the element <style:tab-stop> within the parent element <style:tab-stops>: This property is supported in WordPad.

The standard defines the property "char" within the attribute style:type within the element <style:tab-stop> within the parent element <style:tab-stops>: On Read, if the value of the style:char attribute for the <style:tab-stop> element is ".", then the tab is treated as a decimal tab stop, in which case the delimiter character is the character configured as the decimal separator for the current user account in the operating system. Otherwise the value of the style:type attribute for this XML element is taken by WordPad as the value "left". On Write, WordPad indicates decimal tab stops by writing out this attribute with the value ".".

The standard defines the property "left" within the attribute style:type within the element <style:tab-stop> within the parent element <style:tab-stops>: This property is supported in WordPad.

The standard defines the property "right" within the attribute style:type within the element <style:tab-stop> within the parent element <style:tab-stops>: This property is supported in WordPad.

The standard defines the element <style:tab-stops> within the parent element <style:paragraph-properties>: This element is supported in WordPad. WordPad supports a maximum of 32 tab stops in a paragraph. If more tab stops are specified in a style, the additional child elements are ignored.