<overflowPunct>
(Allow Punctuation to Extent Past Text Extents)
This element specifies that punctuation characters which appear at the end of text in any line in this paragraph shall be allowed to extend one character past the text extents (indents/margins) as needed in order to ensure that they are not displayed as hanging punctuation. Hanging punctuation is defined as punctuation which appears on a different line than the text which it logically would appear with.
Omitting this element sets its value to true
.
"This is some text in quotation marks"
Typically, if the text extents would normally fall between the letter s and the closing quotation mark, the quotation mark would be allowed to extend past the end of the line by one character even though the punctuation is not part of the word marks
(since the omission of <overflowPunct>
is equivalent to setting its @val
attribute to true
).
However, if this behavior should not be applied to this paragraph, a producer can specify this by setting the property in the WordprocessingML:
<w:pPr> <w:overflowPunct w:val="0" /> </w:pPr>
The line would now break after the letter s
, regardless of the fact that the next character is a quotation mark. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies a binary value for the property defined by the parent XML element. A value of A value of <w:… w:val="off"/> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>