Partilhar via


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

bdr element [Word 2003 XML Reference]

Represents the border for characters in this run.

Usage

<bdr
    val="borderValues"
    color="hexColorType"
    sz="borderWidthType"
    space="eighthPointMeasureType"
    shadow="onOffType"
    frame="onOffType"
    wx:bdrwidth="[external type]"
/>

Element Information

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

Elements and Attributes

Parent Elements

Element Description
rPr Represents run properties for the paragraph mark.
rPr Represents properties of the contents of this run.
rPr Represents the run properties for the list numbers.
rPr Represents the character properties to override in the table style.
rPr Represents the character properties for the style, if any.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
val borderValues required Gets or sets border-style values.
  • nil
  • none
  • single
  • thick
  • double
  • dotted
  • dashed
  • dot-dash
  • dot-dot-dash
  • triple
  • 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
  • dash-small-gap
  • dash-dot-stroked
  • three-d-emboss
  • three-d-engrave
  • outset
  • inset
  • apples
  • arched-scallops
  • baby-pacifier
  • baby-rattle
  • balloons-3-colors
  • balloons-hot-air
  • basic-black-dashes
  • basic-black-dots
  • basic-black-squares
  • basic-thin-lines
  • basic-white-dashes
  • basic-white-dots
  • basic-white-squares
  • 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-pin-note-2
  • push-pin-note-1
  • 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
  • zig-zag-stitch
color hexColorType optional Gets or sets the border color.
sz borderWidthType optional Gets or sets the border width.
space eighthPointMeasureType optional Gets or sets the border space in eighths of a point.
shadow onOffType optional Gets or sets a value indicating whether the border has a shadow.
  • on
  • off
frame onOffType optional Gets or sets a value indicating whether to create a frame effect by reversing the border.
  • on
  • off
wx:bdrwidth external ref optional See external namespace. See external namespace.

Definition

<xsd:element name="bdr" type="borderProperty" 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