Share via


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

framePr element [Word 2003 XML Reference]

Represents text frame and drop cap properties.

Usage

<framePr
    drop-cap="dropCapValue"
    lines="decimalNumberType"
    w="twipsMeasureType"
    h="twipsMeasureType"
    vspace="twipsMeasureType"
    hspace="twipsMeasureType"
    wrap="wrapValue"
    hanchor="hAnchorValue"
    vanchor="vAnchorValue"
    x="signedTwipsMeasureType"
    x-align="xAlignType"
    y="signedTwipsMeasureType"
    y-align="yAlignType"
    h-rule="heightRuleType"
    anchor-lock="onOffType"
/>

Element Information

Element type framePrProperty
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
drop-cap dropCapValue optional Gets or sets the position for a drop cap.
  • none
  • drop
  • margin
lines decimalNumberType optional Gets or sets the lines to drop for a drop cap.
w twipsMeasureType optional Gets or sets frame width.
h twipsMeasureType optional Gets or sets frame height.
vspace twipsMeasureType optional Gets or sets distance between frame and text above and below the frame.
hspace twipsMeasureType optional Gets or sets distance between frame and text to the right and left of the frame.
wrap wrapValue optional Gets or sets text wrapping (valid: none and around).
  • auto
  • not-beside
  • around
  • tight
  • through
  • none
hanchor hAnchorValue optional Gets or sets the point from which to measure horizontal position/alignment.
  • text
  • margin
  • page
vanchor vAnchorValue optional Gets or sets the point from which to measure vertical position/alignment.
  • text
  • margin
  • page
x signedTwipsMeasureType optional Gets or sets horizontal position
x-align xAlignType optional Gets or sets horizontal alignment (overrides position).
  • left
  • center
  • right
  • inside
  • outside
y signedTwipsMeasureType optional Gets or sets vertical position.
y-align yAlignType optional Gets or sets vertical alignment (overrides position).
  • inline
  • top
  • center
  • bottom
  • inside
  • outside
h-rule heightRuleType optional Gets or sets how should height (h) be interpreted.
  • auto
  • exact
  • at-least
anchor-lock onOffType optional Locks the anchor of the frame to the paragraph that currently contains it.
  • on
  • off

Definition

<xsd:element name="framePr" type="framePrProperty" 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