다음을 통해 공유


spacing element (pPrElt complexType) [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

spacing element (pPrElt complexType) [Word 2003 XML Reference]

Represents spacing between lines and paragraphs.

Usage

<spacing
    before="twipsMeasureType"
    before-lines="decimalNumberType"
    before-autospacing="onOffType"
    after="twipsMeasureType"
    after-lines="decimalNumberType"
    after-autospacing="onOffType"
    line="signedTwipsMeasureType"
    line-rule="lineSpacingRuleValue"
/>

Element Information

Element type spacingProperty
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
before twipsMeasureType optional Gets or sets amount of space above paragraph.
before-lines decimalNumberType optional Gets or sets number of lines before paragraph (when using character units).
before-autospacing onOffType optional Gets or sets whether space/lines before a paragraph is automatic.
  • on
  • off
after twipsMeasureType optional Gets or sets amount of space below paragraph.
after-lines decimalNumberType optional Gets or sets number of lines after paragraph (when using character units)
after-autospacing onOffType optional Gets or sets whether space/lines after a paragraph is automatic.
  • on
  • off
line signedTwipsMeasureType optional Gets or sets amount of vertical spacing between lines of text.
line-rule lineSpacingRuleValue optional Specifies interpretation of line attribute.
  • auto
  • exact
  • at-least

Definition

<xsd:element name="spacing" type="spacingProperty" 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