다음을 통해 공유


widowControl element [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

widowControl element [Word 2003 XML Reference]

Represents Widow/Orphan Control option: Prevents Word from printing the last line of a paragraph by itself at the top of the page (widow) or the first line of a paragraph at the bottom of a page (orphan).

Usage

<widowControl
    val="onOffType"
/>

Element Information

Element type onOffProperty
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
pPr Represents the paragraph properties.
pPr Represents the paragraph properties
pPr Represents the paragraph properties to override in the table style.
pPr Represents the paragraph properties for the style, if any.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
val onOffType optional Gets or sets the Boolean value of either on or off.
  • on
  • off

Definition

<xsd:element name="widowControl" type="onOffProperty" minOccurs="0" >
</xsd:element>

©2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp