[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_TextboxTightWrap (Lines To Tight Wrap Within Text Box)

This simple type specifies the lines in the parent paragraph which shall allow the text to be tight wrapped to the paragraph (and not the containing text box) extents when displaying the document.

[Example: Consider a paragraph in a text box which meets the criteria specified above which shall allow wrapping to the text extents on its first line only. That requirement would be specified using the following WordprocessingML:

<w:pPr>

<w:textboxTightWrap w:val="firstLineOnly" />

</w:pPr>

The resulting paragraph would allow text to tightly wrap to the contents of its first line only. All other lines would wrap to the text box's extents. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

allLines (Tight Wrap All Lines)

Specifies that all lines in the paragraph shall allow surrounding text to be tight wrapped to their extents and not the containing text box’s extents.

firstAndLastLine (Tight Wrap First and Last Lines)

Specifies that only the first and last lines in the paragraph shall allow surrounding text to be tight wrapped to their extents and not the containing text box’s extents.

firstLineOnly (Tight Wrap First Line)

Specifies that only the first line in the paragraph shall allow surrounding text to be tight wrapped to their extents and not the containing text box’s extents.

lastLineOnly (Tight Wrap Last Line)

Specifies that only the last line in the paragraph shall allow surrounding text to be tight wrapped to their extents and not the containing text box’s extents.

none (Do Not Tight Wrap)

Specifies that no lines in the paragraph shall allow surrounding text to be tight wrapped to their extents and not the containing text box’s extents.

 

Referenced By

textboxTightWrap@val2.3.1.40)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_TextboxTightWrap">

   <restriction base="xsd:string">

   <enumeration value="none"/>

   <enumeration value="allLines"/>

   <enumeration value="firstAndLastLine"/>

   <enumeration value="firstLineOnly"/>

   <enumeration value="lastLineOnly"/>

   </restriction>

</simpleType>