2.1.1811 Part 4 Section 19.1.2.22, textbox (Text Box)

For additional notes that apply to this portion of the standard, please see the notes for pict, §14.2.2.2(a); pict, §14.5.1(a); background, §17.2.1(a); arc, §19.1.2.1(gggg); background, §19.1.2.2(c); group, §19.1.2.7(a).

a.   The standard indicates that the only allowed value for the mso-direction-alt property of the style attribute is context.

Only Excel supports the mso-direction-alt property and it only supports the value auto.

b.   The standard indicates how the mso-next-textbox property of the style attribute is used.

Only Word supports the mso-next-textbox property.

c.   The standard indicates that the only valid value for the mso-layout-flow-alt property of the style attribute is bottom-to-top.

In Office, the mso-layout-flow-alt property of the style attribute supports the following additional property values:

Property

Description

mso-layout-flow-alt

This property is used for specifying vertical text direction instead of layout-flow when the layout flow is from bottom to top or from top to bottom for non-ideographic languages. Allowed values are:

  • bottom-to-top - Text is displayed

  • top-to-bottom - Text is displayed

Excel interprets top-to-bottom to indicate stacked text; this is handled in a different manner than in Word.

[Example: Text flowing from bottom to top:

<v:textbox style="layout-flow:vertical;

  mso-layout-flow-alt:bottom-to-top">

  

Text that is vertical on its side as if the horizontal text was rotated 90 degrees counter clockwise and read from bottom to top,

end example]

[Example: Text flowing from top to bottom:

<v:textbox style="layout-flow:vertical;

  mso-layout-flow-alt:top-to-bottom">

  

Text that is vertical on its side as if the horizontal text was rotated 90 degrees clockwise and read from top to bottom,

end example]

[Example: Text flowing from top to bottom in Excel:

<v:textbox style="layout-flow:vertical;

  mso-layout-flow-alt:top-to-bottom">

Text that is vertical read from top to bottom. The letters are oriented right side up stacked on top of each other

end example]

[Example: Text flowing vertically in Excel:

<v:textbox style="layout-flow:vertical">

  

Text that is vertical on its side as if horizontal text was rotated 90 degrees clockwise and read from top to bottom,

end example]

d.   The standard indicates the values for the mso-rotate property of the style attribute.

Office does not support the mso-rotate property and does not preserve the value -90 on file save.

e.   The standard indicates states that any element in the ##local namespace is a valid child of the textbox element without explaining how this is used.

Excel writes text and text formatting as HTML within the textbox element.

f.   The standard indicates that the inset attribute is used if the value of insetmode attribute is "custom".

Excel uses the value of the insetmode attribute on the parent element to determine if the inset attribute is used.  Word always uses the inset attribute regardless of the value of the insetmode attribute.

g.   The standard indicates how the singleclick attribute is used.

Office does not support the singleclick attribute.

h.   The standard implies that all properties on the style attribute apply to the textbox element.

Office only supports the following properties on the textbox element:  direction, layout-flow, mso-direction-alt, mso-fit-shape-to-text, mso-fit-text-to-shape, mso-layout-flow-alt, mso-next-textbox, mso-rotate, mso-text-scale, and v-text-anchor.

i.   The standard states that insetmode is a valid attribute.

Office does not support this attribute.

j.   The standard does not restrict the number of instances of the textbox element.

Office allows at most only one instance of the textbox element in each place where it can be used.

k.   The standard indicates how the mso-fit-text-to-shape property of the style attribute is used.

Office does not support the mso-fit-text-to-shape property.