Export (0) Print
Expand All
Expand Minimize

2.1.1795 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">


                  

Ff535598.4f501298-dec7-4653-a3eb-29898ab65b21(en-us,office.12).jpg

end example]

[Example: Text flowing from top to bottom:

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

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


                  

Ff535598.436e4cbe-2ec0-4fbb-bec6-5584387e2aa1(en-us,office.12).jpg

end example]

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

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

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

Ff535598.c10976e6-f10b-4d5b-97dc-521fc9558e7c(en-us,office.12).jpg

end example]

[Example: Text flowing vertically in Excel:

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


                  

Ff535598.d12a2b57-7c3d-4f6d-b60d-fd588fbec171(en-us,office.12).jpg

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.

Show:
© 2014 Microsoft