Share via


framePrProperty complexType [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

framePrProperty complexType [Word 2003 XML Reference]

Defines frame settings.

Type Information

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

Elements and Attributes

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:complexType name="framePrProperty" >
  <xsd:attribute name="drop-cap" type="dropCapValue" use="optional">
  </xsd:attribute>
  <xsd:attribute name="lines" type="decimalNumberType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="w" type="twipsMeasureType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="h" type="twipsMeasureType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="vspace" type="twipsMeasureType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="hspace" type="twipsMeasureType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="wrap" type="wrapValue" use="optional">
  </xsd:attribute>
  <xsd:attribute name="hanchor" type="hAnchorValue" use="optional">
  </xsd:attribute>
  <xsd:attribute name="vanchor" type="vAnchorValue" use="optional">
  </xsd:attribute>
  <xsd:attribute name="x" type="signedTwipsMeasureType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="x-align" type="xAlignType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="y" type="signedTwipsMeasureType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="y-align" type="yAlignType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="h-rule" type="heightRuleType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="anchor-lock" type="onOffType" use="optional">
  </xsd:attribute>
</xsd:complexType>

©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