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

rPr element (styleElt complexType) [Word 2003 XML Reference]

Represents the character properties for the style, if any.

Usage

<rPr />

Element Information

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

Elements and Attributes

Parent Elements

Element Description
style Represents the style definition.

Child Elements

Element Description
rStyle Represents a character style for this run.
rFonts Represents the fonts for this run.
b Sets Latin and Asian characters to bold.
b-cs Sets complex scripts characters to bold.
i Sets Latin and Asian characters to italic.
i-cs Sets complex scripts characters to italic.
caps Formats lowercase text as capital letters. Does not affect numbers, punctuation, non-alphabetic characters, or uppercase letters.
smallCaps Formats lowercase text as capital letters and reduces their size. Does not affect numbers, punctuation, non-alphabetic characters, or uppercase letters.
strike Draws a line through the text.
dstrike Draws a double line through the text.
outline Displays the inner and outer borders of each character.
shadow Adds a shadow behind the text, beneath and to the right of the text.
emboss Makes text appear as if it is raised off the page in relief.
imprint Makes selected text appear to be imprinted or pressed into page (also referred to as engrave).
noProof Formats the text so that spelling and grammar errors are ignored in this run.
snapToGrid Sets the number of characters per line to match the number of characters specified in the docGrid element of the current section's properties.
vanish Prevents the text in this run from being displayed or printed.
webHidden Prevents the text in this run from being displayed when this document is saved as a Web page.
color Specifies either an automatic color or a hexadecimal color code for this run.
spacing Represents the amount by which the spacing between characters is expanded or condensed.
w Stretches or compresses text horizontally as a percentage of its current size.
kern Represents the smallest font size for which kerning should be automatically adjusted.
position Represents the amount by which text should be raised or lowered in relation to the baseline.
sz Represents the font size for the Asian and Latin fonts in this run.
sz-cs Represents the font size for complex script fonts in this run.
highlight Marks text as highlighted so it stands out from the surrounding text.
u Represents the underline formatting for this run.
effect Represents the animated text effect for this run.
bdr Represents the border for characters in this run.
shd Represents the shading for characters in this run.
fitText Represents the width of the space that this run to fit into.
vertAlign Adjusts the vertical position of the text relative to the baseline and changes the font size if possible. To raise or lower the text without reducing the font size, use the position element.
rtl Sets the alignment and reading order for this run to right-to-left.
cs Specifies if text in this run is complex scripts text (true or false).
em Sets the type of emphasis mark for this run.
hyphen Represents the hyphenation style for this run.
lang Represents the languages for this run.
asianLayout Represents special Asian Layout formatting properties.
specVanish Represents the special hidden property that makes text in this run always hidden.
wx:font See external namespace.
wx:sym See external namespace.
aml:annotation See external namespace.

Attributes

None.

Definition

<xsd:element name="rPr" type="rPrElt" minOccurs="0" maxOccurs="1" >
</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