XML technologies / WordML / WordML reference  

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

This WordML reference is not exhaustive. It includes only commonly used elements belonging to the namespace of WordML. Unlike Microsoft’s official reference, it also explains context-dependent meanings.

Attributes are not listed separately from elements. WordML has very few distinct attributes, for example w:val, whose meanings can vary widely by context.

B

<w:b>

Makes text bold. Optional w:val accepts on and off to enable or disable bold in this range.

 

Child elements: -

 

Attribute:

 

w:val Data type: onOffType Type: optional

 

Values: on and off

<w:body>

Contains all document content to be displayed.

 

Child elements: <sectPr>

 

Attributes: -

<w:bottom>

Defines an object’s bottom border. Required w:val gives the line style; the other listed border attributes are optional.

 

Child elements: -

 

Attribute:

 

w:val Data type: borderValues Type: required

 

Values: none, single, thick, double, triple, dotted, dashed, dot-dash, dot-dot-dash, thin-thick-small-gap, thick-thin-small-gap, thin-thick-thin-small-gap, thin-thick-medium-gap, thick-thin-medium-gap, thin-thick-thin-medium-gap, thin-thick-large-gap, thick-thin-large-gap, thin-thick-thin-large-gap, wave, double-wave, nil, dash-dot-stroked, dash-small-gap, three-d-emboss, three-d-engrave, outset, inset, apples, arched-scallops, baby-pacifer, baby-rattle, balloons-3-colors, balloons-hot-air, basic-black-dashes, basic-black-dots, basic-black-squares, basic-white-dashes, basic-white-dots, basic-white-squares, basic-thin-lines, basic-wide-inline, basic-wide-midline, basic-wide-outline, bats, birds, birds-flight, cabins, cake-slice, candy-corn, celtic-knotwork, certificate-banner, chain-link, champagne-bottle, checked-bar-black, checked-bar-color, checkered, christmas-tree, circles-lines, circles-rectangles, classical-wave, clocks, compass, confetti, confetti-grays, confetti-outline, confetti-streamers, confetti-white, corner-triangles, coupon-cutout-dashes, coupon-cutout-dots, crazy-maze, creatures-butterfly, creatures-fish, creatures-insects, creatures-lady-bug, cross-stitch, cup, deco-arch, deco-arch-color, deco-blocks, diamonds-gray, double-d, double-diamonds, earth-1, earth-2, eclipsing-squares-1, eclipsing-squares-2, eggs-black, fans, film, firecrackers, flowers-block-print, flowers-daisies, flowers-modern-1, flowers-modern-2, flowers-pansy, flowers-red-rose, flowers-roses, flowers-teacup, flowers-tiny, gems, gingerbread-man, gradient, handmade-1, handmade-2, heart-balloon, heart-gray, hearts, heebie-jeebies, holly, house-funky, hypnotic, ice-cream-cones, light-bulb, lightning-1, lightning-2, map-pins, maple-leaf, maple-muffins, marquee, marquee-toothed, moons, mosaic, music-notes, northwest, ovals, packages, palms-black, palms-color, paper-clips, papyrus, party-favor, party-glass, pencils, people, people-waving, people-hats, poinsettias, postage-stamp, pumpkin-1, push-in-note-1, push-in-note-2, pyramids, pyramids-above, quadrants, rings, safari, sawtooth, sawtooth-gray, scared-cat, seattle, shadowed-squares, sharks-teeth, shorebird-tracks, skyrocket, snowflake-fancy, snowflakes, sombrero, southwest, stars, stars-top, stars-3d, stars-black, stars-shadowed, sun, swirligig, torn-paper, torn-paper-black, trees, triangle-party, triangles, tribal-1, tribal-2, tribal-3, tribal-4, tribal-5, tribal-6, twisted-lines-1, twisted-lines-2, vine, waveline, weaving-angles, weaving-braid, weaving-ribbon, weaving-strips, white-flowers, woodwork, x-illusions, zany-triangles, zig-zag and zig-zag-stitch

 

Attributes: 

w:color Data type: hexColorType Type: optional

 

w:sz Data type: borderWidthType Type: optional

 

w:space Data type: eightPointMeasureType Type: optional

 

w:shadow Data type: onOffType Type: optional

 

Values: on and off

 

w:frame Data type: onOffType Type: optional

 

Values: on and off

 

w:wx:bdrwidth Data type: externalRef Type: optional

 

Values: depends on values in the external namespace.

<w:bottom>

In <w:tblCellMar> or <w:tcMar>, sets cell padding against the bottom border. Optional w:w gives the width in twips; optional w:type controls its interpretation.

 

Child elements: -

 

Attributes:

 

w:w Data type: decimalNumberType Type: optional

 

w:type Data type: tableWidthPropertyType Type: optional

 

Values: nil, pct, dxa and auto

<w:br>

Forces a break. w:type selects a new page, column or line.

 

Child elements: -

 

Attributes:

 

w:type Data type: brType Type: optional

 

Values: page, column und text-wrapping

 

w:clear Data type: brClearType Type: optional

 

Values: none, left, right and all

 

 

 

back to top

C

<w:color>

Specifies a color through a required hexadecimal RGB value in w:val.

 

Child elements: -

 

Attribute:

 

w:val Data type: hexColorType Type: required

 

back to top

D

<w:defaultTabStop>

Sets the default distance between tab stops. Required w:val specifies the distance in twips.

 

Child elements: -

 

Attribute:

 

w:val Data type: twipsMeasureType Type: required

<w:docPr>

This container’s children control document properties such as page layout, margins, headers and footers.

 

Child elements: view, zoom, removePersonalInformation, dontDisplayPageBoundaries, displayBackgroundShape, printPostScriptOverText, printFractionalCharacterWidth, printFormsData, embedTrueTypeFonts, doNotEmbedSystemFonts, saveSubsetFonts, saveFormsData, mirrorMargins, alignBordersAndEdges, bordersDontSurroundHeader, bordersDontSurroundFooter, gutterAtTop, hideSpellingErrors, hideGrammaticalErrors, activeWritingStyle, proofState, formsDesign, attachedTemplate, linkStyles, stylePaneFormatFilter, document Type, mailMerge, revisionView, trackRevisions, documentProtection, autoFormatOverride, defaultTabStop, autoHyphenation, consecutiveHyphenLimit, hyphenationZone, doNotHyphenateCaps, showEnvelope, summaryLength, clickAndTypeStyle, defaultTableStyle, evenAndOddHeaders, bookFoldRevPrinting, bookFoldPrinting, bookFoldPrintingSheets, drawingGridHorizontalSpacing, drawingGridVerticalSpacing, displayHorizontalDrawingGridEvery, displayVerticalDrawingGridEvery, useMarginsForDrawingGridOrigin, drawingGridHorizontalOrigin, drawingGridVerticalOrigin, doNotShadeFormData, punctuationKerning, characterSpacingControl, printTwoOnOne, strictFirstAndLastChars, noLineBreaksAfter, noLineBreaksBefore, webPageEncoding, optimizeForBrowser, relyOnVML, allowPNG, doNotRelyOnCSS, doNotSaveWebPagesAsSingleFile, doNotOrganizeInFolder, doNotUseLongFileNames, pixelsPerInch, targetScreenSz, savePreviewPicture, validateAgainstSchema, saveInvalidXML, ignoreMixedContent, alwaysShowPlaceholderText, doNotUnderlineInvalidXML, removeWordSchemasOnSave, useXSLTWhenSaving, saveThroughXSLT, showXMLTags, alwaysMergeEmptyNamespace, hdrShapeDefaults, footnotePr, endnotePr, compat and docVars

 

Attributes: -

 

back to top

F

<w:fonts>

Container for document fonts. It also contains defaultFont, specifying a fallback when a requested font cannot be displayed.

 

Child elements: font and defaultFont

 

Attributes: -

 

back to top

G

<w:gridCol>

Specifies column width in twips through optional w:w.

 

Child elements: -

 

Attribute:

 

w:w Data type: twipsMeasureType Type: optional

<w:gridSpan>

Spans table cells. Required w:val gives the number of columns to span.

 

Child elements: -

 

Attribute:

 

w:val Data type: decimalNumberType Type: required

 

back to top

I

<w:i>

Makes text italic. Optional w:val with on/off enables or disables italics in this range.

 

Child elements: -

 

Attribute:

 

w:val Data type: onOffType Type: optional

 

Values: on and off

<w:ilfo>

References list properties. Required w:val references a <w:list>, which must in turn use <w:listDef> to obtain the required list settings.

 

Child elements: -

 

Attribute:

 

w:val Data type: decimalNumberType Type: required

<w:ilst>

References basic list settings. Within <w:list>, required w:val corresponds to <w:listDefId> in <w:listDef>, selecting the settings of a particular list.

 

Child elements: -

 

Attribute:

 

w:val Data type: decimalNumberType Type: required

<w:ilvl>

Assigns a list level to a paragraph. Required w:val references that level’s <w:lvl> settings.

 

Child elements: -

 

Attribute:

 

w:val Data type: decimalNumberType Type: required

<w:ind>

Sets paragraph indentation in four ways (<w:left>, <w:right>, <w:hanging>, <w:first-line>). For fixed lengths, set the corresponding attribute in twips. With a -chars suffix, its value gives the number of spaces to indent.

 

Child elements: -

 

Attributes:

 

w:left Data type: signedTwipsMeasureType Type: optional

 

w:left-chars Data type: decimalNumberType Type: optional

 

w:right Data type: signedTwipsMeasureType Type: optional

 

w:right-chars Data type: decimalNumberType Type: optional

 

w:hanging Data type: signedTwipsMeasureType Type: optional

 

w:hanging-chars Data type: decimalNumberType Type: optional

 

w:first-line Data type: signedTwipsMeasureType Type: optional

 

w:first-line-chars Data type: decimalNumberType Type: optional

<w:insideH>

Defines horizontal inner table borders in <w:tblBorders>, or borders between adjacent cells in <w:tcBorders>. Required w:val selects the style; other listed attributes are optional.

 

Child elements: -

 

Attribute:

 

w:val Data type: borderValues Type: required

 

Values: none, single, thick, double, triple, dotted, dashed, dot-dash, dot-dot-dash, thin-thick-small-gap, thick-thin-small-gap, thin-thick-thin-small-gap, thin-thick-medium-gap, thick-thin-medium-gap, thin-thick-thin-medium-gap, thin-thick-large-gap, thick-thin-large-gap, thin-thick-thin-large-gap, wave, double-wave, nil, dash-dot-stroked, dash-small-gap, three-d-emboss, three-d-engrave, outset, inset, apples, arched-scallops, baby-pacifer, baby-rattle, balloons-3-colors, balloons-hot-air, basic-black-dashes, basic-black-dots, basic-black-squares, basic-white-dashes, basic-white-dots, basic-white-squares, basic-thin-lines, basic-wide-inline, basic-wide-midline, basic-wide-outline, bats, birds, birds-flight, cabins, cake-slice, candy-corn, celtic-knotwork, certificate-banner, chain-link, champagne-bottle, checked-bar-black, checked-bar-color, checkered, christmas-tree, circles-lines, circles-rectangles, classical-wave, clocks, compass, confetti, confetti-grays, confetti-outline, confetti-streamers, confetti-white, corner-triangles, coupon-cutout-dashes, coupon-cutout-dots, crazy-maze, creatures-butterfly, creatures-fish, creatures-insects, creatures-lady-bug, cross-stitch, cup, deco-arch, deco-arch-color, deco-blocks, diamonds-gray, double-d, double-diamonds, earth-1, earth-2, eclipsing-squares-1, eclipsing-squares-2, eggs-black, fans, film, firecrackers, flowers-block-print, flowers-daisies, flowers-modern-1, flowers-modern-2, flowers-pansy, flowers-red-rose, flowers-roses, flowers-teacup, flowers-tiny, gems, gingerbread-man, gradient, handmade-1, handmade-2, heart-balloon, heart-gray, hearts, heebie-jeebies, holly, house-funky, hypnotic, ice-cream-cones, light-bulb, lightning-1, lightning-2, map-pins, maple-leaf, maple-muffins, marquee, marquee-toothed, moons, mosaic, music-notes, northwest, ovals, packages, palms-black, palms-color, paper-clips, papyrus, party-favor, party-glass, pencils, people, people-waving, people-hats, poinsettias, postage-stamp, pumpkin-1, push-in-note-1, push-in-note-2, pyramids, pyramids-above, quadrants, rings, safari, sawtooth, sawtooth-gray, scared-cat, seattle, shadowed-squares, sharks-teeth, shorebird-tracks, skyrocket, snowflake-fancy, snowflakes, sombrero, southwest, stars, stars-top, stars-3d, stars-black, stars-shadowed, sun, swirligig, torn-paper, torn-paper-black, trees, triangle-party, triangles, tribal-1, tribal-2, tribal-3, tribal-4, tribal-5, tribal-6, twisted-lines-1, twisted-lines-2, vine, waveline, weaving-angles, weaving-braid, weaving-ribbon, weaving-strips, white-flowers, woodwork, x-illusions, zany-triangles, zig-zag and zig-zag-stitch

 

w:color Data type: hexColorType Type: optional

 

w:sz Data type: borderWidthType Type: optional

 

w:space Data type: eightPointMeasureType Type: optional

 

w:shadow Data type: onOffType Type: optional

 

Values: on and off

 

w:frame Data type: onOffType Type: optional

 

Values: on and off

 

w:wx:bdrwidth Data type: externalRef Type: optional

 

Values: depend on values in the external namespace.

<w:insideV>

Defines vertical inner table borders in <w:tblBorders>, or borders between vertically adjacent cells in <w:tcBorders>. Required w:val selects the style; other listed attributes are optional.

 

Child elements: -

 

Attributes:

 

w:val Data type: borderValues Type: required

 

Values: none, single, thick, double, triple, dotted, dashed, dot-dash, dot-dot-dash, thin-thick-small-gap, thick-thin-small-gap, thin-thick-thin-small-gap, thin-thick-medium-gap, thick-thin-medium-gap, thin-thick-thin-medium-gap, thin-thick-large-gap, thick-thin-large-gap, thin-thick-thin-large-gap, wave, double-wave, nil, dash-dot-stroked, dash-small-gap, three-d-emboss, three-d-engrave, outset, inset, apples, arched-scallops, baby-pacifer, baby-rattle, balloons-3-colors, balloons-hot-air, basic-black-dashes, basic-black-dots, basic-black-squares, basic-white-dashes, basic-white-dots, basic-white-squares, basic-thin-lines, basic-wide-inline, basic-wide-midline, basic-wide-outline, bats, birds, birds-flight, cabins, cake-slice, candy-corn, celtic-knotwork, certificate-banner, chain-link, champagne-bottle, checked-bar-black, checked-bar-color, checkered, christmas-tree, circles-lines, circles-rectangles, classical-wave, clocks, compass, confetti, confetti-grays, confetti-outline, confetti-streamers, confetti-white, corner-triangles, coupon-cutout-dashes, coupon-cutout-dots, crazy-maze, creatures-butterfly, creatures-fish, creatures-insects, creatures-lady-bug, cross-stitch, cup, deco-arch, deco-arch-color, deco-blocks, diamonds-gray, double-d, double-diamonds, earth-1, earth-2, eclipsing-squares-1, eclipsing-squares-2, eggs-black, fans, film, firecrackers, flowers-block-print, flowers-daisies,flowers-modern-1, flowers-modern-2, flowers-pansy, flowers-red-rose, flowers-roses, flowers-teacup, flowers-tiny, gems, gingerbread-man, gradient, handmade-1, handmade-2, heart-balloon, heart-gray, hearts, heebie-jeebies, holly, house-funky, hypnotic, ice-cream-cones, light-bulb, lightning-1, lightning-2, map-pins, maple-leaf, maple-muffins, marquee, marquee-toothed, moons, mosaic, music-notes, northwest, ovals, packages, palms-black, palms-color, paper-clips, papyrus, party-favor, party-glass, pencils, people, people-waving, people-hats,

 

poinsettias, postage-stamp, pumpkin-1, push-in-note-1, push-in-note-2, pyramids, pyramids-above, quadrants, rings, safari, sawtooth, sawtooth-gray, scared-cat, seattle, shadowed-squares, sharks-teeth, shorebird-tracks, skyrocket, snowflake-fancy, snowflakes, sombrero, southwest, stars, stars-top, stars-3d, stars-black, stars-shadowed, sun, swirligig, torn-paper, torn-paper-black, trees, triangle-party, triangles, tribal-1, tribal-2, tribal-3, tribal-4, tribal-5, tribal-6, twisted-lines-1, twisted-lines-2, vine, waveline, weaving-angles, weaving-braid, weaving-ribbon, weaving-strips, white-flowers, woodwork, x-illusions, zany-triangles, zig-zag and zig-zag-stitch

 

w:color Data type: hexColorType Type: optional

 

w:sz Data type: borderWidthType Type: optional

 

w:space Data type: eightPointMeasureType Type: optional

 

w:shadow Data type: onOffType Type: optional

 

Values: on and off

 

w:frame Data type: onOffType Type: optional

 

Values: on and off

 

w:wx:bdrwidth Data type: externalRef Type: optional

 

Values: depend on values in the external namespace

 

back to top

J

<w:jc>

Horizontally aligns paragraphs and cells. Required w:val specifies alignment, such as left or centered.

 

Child elements: -

 

Attribute:

 

w:val Data type: jcValue Type: required

 

Values: left, right, center, both, distribute, list-tab, medium-kashida, high-kashida, low-kashida and thai-distribute

 

back to top

K

<w:keepLines>

Keeps a paragraph’s lines together, preventing an internal page break. Optional w:val with on/off enables or disables this setting.

 

Child elements: -

 

Attribute:

 

w:val Data type: onOffType Type: optional

 

Values: on and off

<w:keepNext>

Keeps two paragraphs together, preventing a page break between them. Optional w:val with on/off enables or disables this setting.

 

Child elements: -

 

Attribute:

 

w:val Data type: onOffType Type: optional

 

Values: on and off

 

back to top

L

<w:left>

Defines the left border. Required w:val selects the style; other listed attributes are optional.

 

Child elements: -

 

Attributes:

 

w:val Data type: borderValues Type: required

 

Values: none, single, thick, double, triple, dotted, dashed, dot-dash, dot-dot-dash, thin-thick-small-gap, thick-thin-small-gap, thin-thick-thin-small-gap, thin-thick-medium-gap, thick-thin-medium-gap, thin-thick-thin-medium-gap, thin-thick-large-gap, thick-thin-large-gap, thin-thick-thin-large-gap, wave, double-wave, nil, dash-dot-stroked, dash-small-gap, three-d-emboss, three-d-engrave, outset, inset, apples, arched-scallops, baby-pacifer, baby-rattle, balloons-3-colors, balloons-hot-air, basic-black-dashes, basic-black-dots, basic-black-squares, basic-white-dashes, basic-white-dots, basic-white-squares, basic-thin-lines, basic-wide-inline, basic-wide-midline, basic-wide-outline, bats, birds, birds-flight, cabins, cake-slice, candy-corn, celtic-knotwork, certificate-banner, chain-link, champagne-bottle, checked-bar-black, checked-bar-color, checkered, christmas-tree, circles-lines, circles-rectangles, classical-wave, clocks, compass, confetti, confetti-grays, confetti-outline, confetti-streamers, confetti-white, corner-triangles, coupon-cutout-dashes, coupon-cutout-dots, crazy-maze, creatures-butterfly, creatures-fish, creatures-insects, creatures-lady-bug, cross-stitch, cup, deco-arch, deco-arch-color, deco-blocks, diamonds-gray, double-d, double-diamonds, earth-1, earth-2, eclipsing-squares-1, eclipsing-squares-2, eggs-black, fans, film, firecrackers, flowers-block-print, flowers-daisies, flowers-modern-1, flowers-modern-2, flowers-pansy, flowers-red-rose, flowers-roses, flowers-teacup, flowers-tiny, gems, gingerbread-man, gradient, handmade-1, handmade-2, heart-balloon, heart-gray, hearts, heebie-jeebies, holly, house-funky, hypnotic, ice-cream-cones, light-bulb,

 

lightning-1, lightning-2, map-pins, maple-leaf, maple-muffins, marquee, marquee-toothed, moons, mosaic, music-notes, northwest, ovals, packages, palms-black, palms-color, paper-clips, papyrus, party-favor, party-glass, pencils, people, people-waving, people-hats, poinsettias, postage-stamp, pumpkin-1, push-in-note-1, push-in-note-2, pyramids, pyramids-above, quadrants, rings, safari, sawtooth, sawtooth-gray, scared-cat, seattle, shadowed-squares, sharks-teeth, shorebird-tracks, skyrocket, snowflake-fancy, snowflakes, sombrero, southwest, stars, stars-top, stars-3d, stars-black, stars-shadowed, sun, swirligig, torn-paper, torn-paper-black, trees, triangle-party, triangles, tribal-1, tribal-2, tribal-3, tribal-4, tribal-5, tribal-6, twisted-lines-1, twisted-lines-2, vine, waveline, weaving-angles, weaving-braid, weaving-ribbon, weaving-strips, white-flowers, woodwork, x-illusions, zany-triangles, zig-zag and zig-zag-stitch

 

w:color Data type: hexColorType Type: optional

 

w:sz Data type: borderWidthType Type: optional

 

w:space Data type: eightPointMeasureType Type: optional

 

w:shadow Data type: onOffType Type: optional

 

Values: on and off

 

w:frame Data type: onOffType Type: optional

 

Values: on and off

 

w:wx:bdrwidth Data type: externalRef Type: optional

 

Values: depend on values in the external namespace

<w:left>

In <w:tblCellMar> or <w:tcMar>, sets cell padding against the left border. Optional w:w gives width in twips; optional w:type can select another unit.

 

Child elements: -

 

Attributes:

 

w:w Data type: decimalNumberType Type: optional

 

w:type Data type: tableWidthPropertyType Type: optional

 

Values: nil, pct, dxa and auto

<w:list>

References list styles. Required w:ilfo selects the style in <w:listDef> or another <w:list>.

 

Child elements: ilst and lvlOverride

 

Attribute:

 

w:ilfo Data type: decimalNumberType Type: required

<w:listDef>

Creates list styles. Required w:listDefID assigns an identifier for references.

 

Child elements: lsid, plt, tmpl, name, styleLink, listStyleLink and lvl

 

Attribute:

 

w:listDefId Data type: decimalNumberType Type: required

<w:listPr>

Within <w:pPr>, marks a paragraph to receive list properties.

 

Child elements: ilvl, ilfo, wx:t, wx:font and aml:annotation

 

Attributes: -

<w:lists>

Container for all list styles.

 

Child elements: listPicBullet, listDef, list and ilfoMacAtCleanup

 

Attributes: -

<w:lvl>

Defines formatting for a list level. Required w:ilvl selects the level, numbered from 0. Children specify numbering, spacing, indents and other properties.

 

Child elements: start, nfc, lvlRestart, pStyle, isLgl, suff, lvlText, lvlPicBulletId, legacy, lvlJc, pPr and rPr

 

Attributes:

 

w:ilvl Data type: decimalNumberType Type: required

 

w:tplc Data type: longHwxNumberType Type: optional

 

w:tentative Data type: onOffType Type: optional

 

Values: on and off

 

back to top

P

<w:p>

Defines a paragraph’s range.

 

Child elements: pPr, r, fldSimple, hlink and subDoc

 

Attributes: -

<w:pageBreakBefore>

Forces a page break before the paragraph.

 

Child elements: -

 

Attribute:

 

w:val Data type: onOffType Type: optional

 

Values: on and off

<w:pict>

Embeds images in the WordML document.

 

Child elements: binData, movie, background, applet, msAccessHTML, scriptAnchor and ocx

 

Attributes: -

<w:pos>

Positions footnotes and endnotes. Required w:val specifies their location, such as the end of a page or document.

 

Child elements: -

 

Attribute:

 

w:val Data type: ftEndPosType Type: required

 

Values: sect-end, page-bottom, beneath-text and doc-end

<w:pPr>

Specifies paragraph properties.

 

Child elements: pStyle, keepNext, keepLines, pageBreakBefore, framePr, widowControl, listPr, supressLineNumbers, pBdr, shd, tabs, supressAutoHyphens, kinsoku, wordWrap, overflowPunct, topLinePunct, autoSpaceDE, autoSpaceDN, bidi, adjustRightInd, snapToGrid, spacing, ind, contextualSpacing, supressOverlap, jc, textDirection, textAlignment, outlineLvl, divId, cnfStyle, rPr, sectPr and aml:annotation

 

Attributes: -

<w:pStyle>

References a paragraph style through required w:val.

 

Child elements: -

 

Attribute:

 

w:val Data type: stringType Type: required

 

back to top

R

<w:r>

Defines a text run below paragraph level.

 

Child elements: rPr, br, t, delText, instrText, delInstrText, noBreakHyphen, softHyphen, annotationRef, footnoteRef, endnoteRef, separator, continuationSeparator, footnote, endnote, sym, pgNum, cr, tab, pict, fldChar, ruby, aml:annotation and wx:t

 

Attributes: -

<w:rFonts>

Specifies the font of a text run (<w:r>).

 

Child elements: -

 

Attributes:

 

w:hint Data type: hintType Type: optional

 

Values: default, fareast and cs

 

w:ascii Data type: stringType Type: optional

 

w:h-ansi Data type: stringType Type: optional

 

w:fareast Data type: stringType Type: optional

 

w:cs Data type: stringType Type: optional

<w:right>

Defines the right border. Required w:val selects the style; other listed attributes are optional.

 

Child elements: -

 

Attributes:

 

w:val Data type: borderValues Type: required

 

Values: none, single, thick, double, triple, dotted, dashed, dot-dash, dot-dot-dash, thin-thick-small-gap, thick-thin-small-gap, thin-thick-thin-small-gap, thin-thick-medium-gap, thick-thin-medium-gap, thin-thick-thin-medium-gap, thin-thick-large-gap, thick-thin-large-gap, thin-thick-thin-large-gap, wave, double-wave, nil, dash-dot-stroked, dash-small-gap, three-d-emboss, three-d-engrave, outset, inset, apples, arched-scallops, baby-pacifer, baby-rattle, balloons-3-colors, balloons-hot-air, basic-black-dashes, basic-black-dots, basic-black-squares, basic-white-dashes, basic-white-dots, basic-white-squares, basic-thin-lines, basic-wide-inline, basic-wide-midline, basic-wide-outline, bats, birds, birds-flight, cabins, cake-slice, candy-corn, celtic-knotwork, certificate-banner, chain-link, champagne-bottle, checked-bar-black, checked-bar-color, checkered, christmas-tree, circles-lines, circles-rectangles, classical-wave, clocks, compass, confetti, confetti-grays, confetti-outline, confetti-streamers,

 

confetti-white, corner-triangles, coupon-cutout-dashes, coupon-cutout-dots, crazy-maze, creatures-butterfly, creatures-fish, creatures-insects, creatures-lady-bug, cross-stitch, cup, deco-arch, deco-arch-color, deco-blocks, diamonds-gray, double-d, double-diamonds, earth-1, earth-2, eclipsing-squares-1, eclipsing-squares-2, eggs-black, fans, film, firecrackers, flowers-block-print, flowers-daisies, flowers-modern-1, flowers-modern-2, flowers-pansy, flowers-red-rose, flowers-roses, flowers-teacup, flowers-tiny, gems, gingerbread-man, gradient, handmade-1, handmade-2, heart-balloon, heart-gray, hearts, heebie-jeebies, holly, house-funky, hypnotic, ice-cream-cones, light-bulb, lightning-1, lightning-2, map-pins, maple-leaf, maple-muffins, marquee, marquee-toothed, moons, mosaic, music-notes, northwest, ovals, packages, palms-black, palms-color, paper-clips, papyrus, party-favor, party-glass, pencils, people, people-waving, people-hats, poinsettias, postage-stamp, pumpkin-1, push-in-note-1, push-in-note-2, pyramids, pyramids-above, quadrants, rings, safari, sawtooth, sawtooth-gray, scared-cat, seattle, shadowed-squares, sharks-teeth, shorebird-tracks, skyrocket, snowflake-fancy, snowflakes, sombrero, southwest, stars, stars-top, stars-3d, stars-black, stars-shadowed, sun, swirligig, torn-paper, torn-paper-black, trees, triangle-party, triangles, tribal-1, tribal-2, tribal-3, tribal-4, tribal-5, tribal-6, twisted-lines-1, twisted-lines-2, vine, waveline, weaving-angles, weaving-braid, weaving-ribbon, weaving-strips, white-flowers, woodwork, x-illusions, zany-triangles, zig-zag and zig-zag-stitch

 

w:color Data type: hexColorType Type: optional

 

w:sz Data type: borderWidthType Type: optional

 

w:space Data type: eightPointMeasureType Type: optional

 

w:shadow Data type: onOffType Type: optional

 

Values: on and off

 

w:frame Data type: onOffType Type: optional

 

Values: on and off

 

w:wx:bdrwidth Data type: externalRef Type: optional

 

Values: depend on values in the external namespace

<w:right>

In <w:tblCellMar> or <w:tcMar>, sets cell padding against the right border. Optional w:w gives width; optional w:type gives its unit. Without the latter, width is interpreted in twips.

 

Child elements: -

 

Attributes:

 

w:w Data type: decimalNumberType Type: optional

 

w:type Data type: tableWidthPropertyType Type: optional

 

Values: nil, pct, dxa and auto

<w:rPr>

Specifies text-run properties (<w:r>).

 

Child elements: rStyle, rFonts, b, b-cs, i, i-cs, caps, smallCaps, strike, dstrike, outline, shadow, emboss, imprint, noProof, snapToGrid, vanish, webHidden, color, spacing, w, kern, position, sz, sz-cs, highlight, u, effect, bdr, shd, fitText, vertAlign, rtl, cs, em, hyphen, lang, asianLayout, specVanish, wx:font, wx:sym and aml:annotation

 

Attributes: -

<w:rStyle>

References a text-run style through required w:val.

 

Child elements: -

 

Attributes:

 

w:val Data type: stringType Type: required

 

back to top

S

<w:shd>

Sets a background color or shading. Required w:val must receive a value.

 

Child elements: -

 

Attributes:

 

w:val Data type: shdValues Type: required

 

Values: nil, clear, solid, horz-stripe, vert-stripe, reverse-diag-stripe, diag-stripe, horz-cross, diag-cross, thin-horz-stripe, thin-vert-stripe, thin-reverse-diag-stripe, thin-diag-stripe, thin-horz-cross, thin-diag-cross, pct-5, pct-10, pct-12, pct-15, pct-20, pct-25, pct-30, pct-35, pct-37, pct-40, pct-45, pct-50, pct-55, pct-60, pct-62, pct-65, pct-70, pct-75, pct-80, pct-85, pct-87, pct-90 and pct-95

 

w:color Data type: hexColorType Type: optional

 

w:fill Data type: hexColorType Type: optional

 

w:wx:bgcolor Data type: externalRef

 

Values: depend on values in the external namespace

<w:spacing>

In <w:pPr>, sets space before or after paragraphs, or between lines within a paragraph.

 

Child elements: -

 

Attributes:

 

w:before Data type: twipsMeasureType Type: optional

 

w:before-lines Data type: decimalNumberType Type: optional

 

w:before-autospacing Data type: onOffType Type: optional

 

Values: on and off

 

w:after Data type: twipsMeasureType Type: optional

 

w:after-lines Data type: decimalNumberType Type: optional

 

w:after-autospacing Data type: onOffType Type: optional

 

Values: on and off

 

w:line Data type: signedTwipsMeasureType Type: optional

 

w:line-rule Data type: lineSpacingRuleValue Type: optional

 

Values: auto, exact and at-least

<w:spacing>

In <rPr>, sets character spacing within a text run. Required w:w gives the value in twips.

 

Child elements: -

 

Attributes:

 

w:val Data type: signedTwipsMeasureType Type: required

<w:style>

Creates styles for paragraphs, inline formatting and so on.

 

Child elements: name, aliases, sti, basedOn, next, link, autoRedefine, hidden, semiHidden, locked, personal, personalCompose, personalReply, rsid, pPr, rPr, tblPr, trPr, tcPr, tblStylePr and wx:uiName

 

Attributes:

 

w:type Data type: styleKindValue Type: optional

 

Values: paragraph, character, table and list

 

w:styleId Data type: stringType Type: optional

 

w:default Data type: onOffType Type: optional

 

Values: on and off

<w:styles>

Container grouping paragraph styles, inline styles and so on.

 

Child elements: versionOfBuiltInStylenames, latentStyles and style

 

Attributes: -

<w:suppressAutoHyphens>

Suppresses automatic hyphenation in a paragraph.

 

Child elements: -

 

Attribute:

 

w:val Data type: onOffType Type: optional

 

Values: on and off

<w:suppressLineNumbers>

Suppresses automatic page numbering on the current page if enabled for the document.

 

Child elements: -

 

Attribute:

 

w:val Data type: onOffType Type: optional

 

Values: on and off

<w:sz>

In <w:rPr>, sets text-run font size. Required w:val gives the value in half-points (1/144 inch).

 

Child elements: -

 

Attribute:

 

w:val Data type: hpsMeasureType Type: required

 

back to top

T

<w:t>

Defines the text-content range within a run.

 

Child elements: -

 

Attributes: -

<w:tab>

Within <w:r>, creates tabs and breaks.

 

Child elements: -

 

Attributes:

 

w:wx:wTab Data type: externalRef Type: optional

 

Values: depend on values in the external namespace

 

w:wx:tlc Data type: externalRef Type: optional

 

Values: depend on values in the external namespace

 

w:wx:cTlc Data type: externalRef Type: optional

 

Values: depend on values in the external namespace

<w:tab>

Within <w:tabs>, specifies paragraph tab stops. Required w:val gives alignment; required w:pos gives position in twips.

 

Child elements: -

 

Attributes:

 

w:val Data type: tabJcValue Type: required

 

Values: clear, left, center, right, decimal, list and bar

 

w:leader Data type: tabJcValue Type: optional

 

Values: none, dot, middle-dot, hyphen, underscore and heavy

 

w:pos Data type: signedTwipsMeasureType Type: required

<w:tabs>

Container for the corresponding <w:tab> elements.

 

Child elements: w:tab

 

Attributes: -

<w:tbl>

Container for a table.

 

Child elements: tblPr, tblGrid, tr and aml:annotation

 

Attributes: -

<w:tblBorders>

Specifies table-border properties.

 

Child elements: top, left, right, bottom, insideH and insideV

 

Attributes: -

<w:tblGrid>

Container for <w:gridCol> elements specifying table-column properties.

 

Child elements: gridCol

 

Attributes: -

<w:tblHeader>

Defines the table header.

 

Child elements: -

 

Attributes:

 

w:val Data type: onOffType Type: optional

 

Values: on and off

<w:tblPr>

Specifies table properties.

 

Child elements: tblStyle, tblPr, tblOverlap, tblRtl, bidiVisual, tblStyleRowBandSize, tblStyleColBandSize, tblW, jc, tblCellSpacing, tblInd, tblBorders, shd, tblLayout, tblCellMar, tblLook and aml:annotation

 

Attributes: -

<w:tblStyle>

References the table style through required w:val.

 

Child elements: -

 

Attributes:

 

w:val Data type: stringType Type: required

<w:tblW>

Specifies the desired table width.

 

Child elements: -

 

Attributes:

 

w:w Data type: decimalNumberType Type: optional

 

w:type Data type: tableWidthPropertyType Type: optional

 

Values: nil, pct, dxa and auto

<w:tc>

Defines a table cell’s range.

 

Child elements: tcPr

 

Attributes: -

<w:tcBorders>

Specifies cell-border properties.

 

Child elements: top, left, right, bottom, insideH, insideV, tl2br and tr2bl

 

Attributes: -

<w:tcPr>

Specifies cell properties.

 

Child elements: cnfStyle, tcW, gridSpan, hmerge, vmerge, tcBorders, shd, noWrap, tcMar, textFlow, tcFitText, vAlign and aml:annotation

 

Attributes: -

<w:tcW>

Specifies the desired cell width.

 

Child elements: -

 

Attributes:

 

w:w Data type: decimalNumberType Type: optional

 

w:type Data type: tableWidthPropertyType Type: optional

 

Values: nil, pct, dxa and auto

<w:top>

Defines the top border. Required w:val selects the style; other listed attributes are optional.

 

Child elements: -

 

Attributes:

 

w:val Data type: borderValues Type: required

 

Values: none, single, thick, double, triple, dotted, dashed, dot-dash, dot-dot-dash, thin-thick-small-gap, thick-thin-small-gap, thin-thick-thin-small-gap, thin-thick-medium-gap, thick-thin-medium-gap, thin-thick-thin-medium-gap, thin-thick-large-gap, thick-thin-large-gap, thin-thick-thin-large-gap, wave, double-wave, nil, dash-dot-stroked, dash-small-gap, three-d-emboss, three-d-engrave, outset, inset, apples, arched-scallops, baby-pacifer, baby-rattle, balloons-3-colors, balloons-hot-air, basic-black-dashes, basic-black-dots, basic-black-squares, basic-white-dashes, basic-white-dots, basic-white-squares, basic-thin-lines, basic-wide-inline, basic-wide-midline, basic-wide-outline, bats, birds, birds-flight, cabins, cake-slice, candy-corn, celtic-knotwork, certificate-banner, chain-link, champagne-bottle, checked-bar-black, checked-bar-color, checkered, christmas-tree, circles-lines, circles-rectangles, classical-wave, clocks, compass, confetti, confetti-grays, confetti-outline, confetti-streamers, confetti-white, corner-triangles, coupon-cutout-dashes, coupon-cutout-dots, crazy-maze, creatures-butterfly, creatures-fish, creatures-insects, creatures-lady-bug, cross-stitch, cup, deco-arch, deco-arch-color, deco-blocks, diamonds-gray, double-d, double-diamonds, earth-1, earth-2, eclipsing-squares-1, eclipsing-squares-2, eggs-black, fans, film, firecrackers, flowers-block-print, flowers-daisies, flowers-modern-1, flowers-modern-2, flowers-pansy, flowers-red-rose, flowers-roses, flowers-teacup, flowers-tiny, gems, gingerbread-man, gradient, handmade-1, handmade-2, heart-balloon, heart-gray, hearts, heebie-jeebies, holly, house-funky, hypnotic, ice-cream-cones, light-bulb, lightning-1, lightning-2, map-pins, maple-leaf, maple-muffins, marquee, marquee-toothed, moons, mosaic, music-notes, northwest,

 

ovals, packages, palms-black, palms-color, paper-clips, papyrus, party-favor, party-glass, pencils, people, people-waving, people-hats, poinsettias, postage-stamp, pumpkin-1, push-in-note-1, push-in-note-2, pyramids, pyramids-above, quadrants, rings, safari, sawtooth, sawtooth-gray, scared-cat, seattle, shadowed-squares, sharks-teeth, shorebird-tracks, skyrocket, snowflake-fancy, snowflakes, sombrero, southwest, stars, stars-top, stars-3d, stars-black, stars-shadowed, sun, swirligig, torn-paper, torn-paper-black, trees, triangle-party, triangles, tribal-1, tribal-2, tribal-3, tribal-4, tribal-5, tribal-6, twisted-lines-1, twisted-lines-2, vine, waveline, weaving-angles, weaving-braid, weaving-ribbon, weaving-strips, white-flowers, woodwork, x-illusions, zany-triangles, zig-zag and zig-zag-stitch

 

w:color Data type: hexColorType Type: optional

 

w:sz Data type: borderWidthType Type: optional

 

w:space Data type: eightPointMeasureType Type: optional

 

w:shadow Data type: onOffType Type: optional

 

Values: on and off

 

w:frame Data type: onOffType Type: optional

 

Values: on and off

 

w:wx:bdrwidth Data type: externalRef Type: optional

 

Values: depend on values in the external namespace

<w:top>

In <w:tblCellMar> or <w:tcMar>, sets cell padding against the top border. Optional w:w gives width in twips; optional w:type controls its interpretation.

 

Child elements: -

 

Attributes:

 

w:w Data type: decimalNumberType Type: optional

 

w:type Data type: tableWidthPropertyType Type: optional

 

Values: nil, pct, dxa and auto

<w:tr>

Defines a table row’s range.

 

Child elements: tblPrEx, trPr and tc

 

Attributes: -

<w:trPr>

Specifies table-row properties.

 

Child elements: cnfStyle, divId, gridAfter, gridBefore, wAfter, wBefore, cantSplit, trHeight, tblHeader, tblCellSpacing, jc and aml:annotation

 

Attributes: -

 

back to top

U

<w:u>

Underlines the marked range. Optional w:val chooses the style, such as dotted; optional w:color gives the underline color.

 

Child elements: -

 

Attributes:

 

w:val Data type: underlineValues Type: optional

 

Values: single, words, double, thick, dotted, dotted-heavy, dash, dashed-heavy, dash-long, dash-long-havy, dot-dash, dash-dot-heavy, dot-dot-dash, dash-dot-dot-heavy, wave, wavy-heavy, wavy-heavy, wavy-double and none

 

w:color Data type: hexColorType Type: optional

 

back to top

V

<w:vertAlign>

Makes the range superscript or subscript. Required w:val gives the desired setting.

 

Child elements: -

 

Attributes:

 

w:val Data type: verticalAlignRunType Type: required

 

Values: baseline, subscript and superscript

<w:vmerge>

Identifies a cell as part of, or the start of, a vertical span.

 

Child elements: -

 

Attributes:

 

w:val Data type: vMergeType Type: optional

 

Values: continue and restart

 

back to top

W

<w:w>

Horizontally stretches or compresses text as a percentage of its normal size.

 

Child elements: -

 

Attributes:

 

w:val Data type: textScaleType Type: optional

 

Values: minInclusive = 1 and maxInclusive = 600

<w:wordDocument>

WordML root enclosing the entire document, including metadata and actual content. It also declares all namespaces used in the document.

 

Child elements: ignoreSubtree, ignoreElements, fonts, frameset, lists, styles, divs, docOleData, docSuppData, shapeDefaults, bgPict, docPr, body, o:SmartTagType, o:DocumentProperties, o:CustomDocumentProperties and sl:schemaLibrary

 

Attributes:

 

w:macrosPresent Data type: yesNoType Type: optional

 

Values: yes and no

 

w:embeddedObjPresent Data type: yesNoType Type: optional

 

Values: yes and no

 

w:ocxPresent Data type: yesNoType Type: optional

 

Values: yes and no

 

w:xml:space Data type: externalRef Type: optional

 

Values: depend on values in the external namespace

 

back to top

   

back to top